Download data/Allwmake from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/Allwmake
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/Allwmake
-
curl -L -o Allwmake https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/Allwmake
1.11 kB
| #!/bin/sh | |
| cd ${0%/*} || exit 1 # Run from this directory | |
| # Parse arguments for library compilation | |
| . wmake/scripts/AllwmakeParseArguments | |
| # Perform various checks | |
| wmakeCheckPwd "$WM_PROJECT_DIR" || { | |
| echo "Allwmake error: Current directory is not \$WM_PROJECT_DIR" | |
| echo " The environment variables are inconsistent with the installation." | |
| echo " Check the OpenFOAM entries in your dot-files and source them." | |
| exit 1 | |
| } | |
| [ -n "$FOAM_EXT_LIBBIN" ] || { | |
| echo "Allwmake error: FOAM_EXT_LIBBIN not set" | |
| echo " Check the OpenFOAM entries in your dot-files and source them." | |
| exit 1 | |
| } | |
| # Compile wmake support applications | |
| (cd wmake/src && make) | |
| # Compile ThirdParty libraries and applications | |
| if [ -d "$WM_THIRD_PARTY_DIR" ] | |
| then | |
| $WM_THIRD_PARTY_DIR/Allwmake | |
| else | |
| echo "Allwmake: no ThirdParty directory found - skipping" | |
| fi | |
| # Compile OpenFOAM libraries and applications | |
| src/Allwmake $targetType $* | |
| # Compile OpenFOAM libraries and applications | |
| applications/Allwmake $targetType $* | |
| #------------------------------------------------------------------------------ | |