mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
74 lines
1.7 KiB
Bash
Executable File
74 lines
1.7 KiB
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # run from this directory
|
|
|
|
wmakeCheckPwd "$WM_PROJECT_DIR/src" || {
|
|
echo "Error: Current directory is not \$WM_PROJECT_DIR/src"
|
|
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 "Error: FOAM_EXT_LIBBIN not set"
|
|
echo " Check the OpenFOAM entries in your dot-files and source them."
|
|
exit 1
|
|
}
|
|
|
|
set -x
|
|
|
|
# update OpenFOAM version strings if required
|
|
wmakePrintBuild -check || /bin/rm -f OpenFOAM/Make/$WM_OPTIONS/global.? 2>/dev/null
|
|
|
|
wmakeLnInclude OpenFOAM
|
|
wmakeLnInclude OSspecific/$WM_OSTYPE
|
|
Pstream/Allwmake
|
|
|
|
OSspecific/$WM_OSTYPE/Allwmake
|
|
wmake libso OpenFOAM
|
|
|
|
wmake libso fileFormats
|
|
wmake libso triSurface
|
|
wmake libso meshTools
|
|
wmake libso edgeMesh
|
|
wmake libso surfMesh
|
|
|
|
# Decomposition methods needed by dummyThirdParty
|
|
parallel/decompose/AllwmakeLnInclude
|
|
# dummyThirdParty (dummy metisDecomp, scotchDecomp etc) needed by e.g. meshTools
|
|
dummyThirdParty/Allwmake
|
|
|
|
wmake libso lagrangian/basic
|
|
wmake libso finiteVolume
|
|
wmake libso genericPatchFields
|
|
|
|
# Build the proper scotchDecomp, metisDecomp etc.
|
|
parallel/Allwmake
|
|
|
|
wmake libso conversion
|
|
|
|
wmake libso sampling
|
|
|
|
wmake libso dynamicMesh
|
|
wmake libso dynamicFvMesh
|
|
wmake libso topoChangerFvMesh
|
|
|
|
wmake libso ODE
|
|
wmake libso randomProcesses
|
|
|
|
thermophysicalModels/Allwmake
|
|
transportModels/Allwmake
|
|
turbulenceModels/Allwmake
|
|
wmake libso surfaceFilmModels
|
|
lagrangian/Allwmake
|
|
postProcessing/Allwmake
|
|
mesh/Allwmake
|
|
|
|
wmake libso errorEstimation
|
|
|
|
fvAgglomerationMethods/Allwmake
|
|
|
|
wmake libso fvMotionSolver
|
|
wmake libso engine
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|