mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: foamDebugSwitches: support for missing randomProcesses. Fixes #213.
This commit is contained in:
11
applications/utilities/miscellaneous/foamDebugSwitches/Allwmake
Executable file
11
applications/utilities/miscellaneous/foamDebugSwitches/Allwmake
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
if [ -f "$FFTW_ARCH_PATH/include/fftw3.h" ] || \
|
||||
[ "${FFTW_ARCH_PATH##*-}" = system -a -f "/usr/include/fftw3.h" ]
|
||||
then
|
||||
export LINK_FLAGS="-lrandomProcesses"
|
||||
fi
|
||||
wmake
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -1,4 +1,5 @@
|
||||
EXE_LIBS = \
|
||||
$(LINK_FLAGS) \
|
||||
-lsnappyHexMesh \
|
||||
-lbarotropicCompressibilityModel \
|
||||
-lsolidThermo \
|
||||
@ -41,7 +42,6 @@ EXE_LIBS = \
|
||||
-lOpenFOAM \
|
||||
-lpotential \
|
||||
-lradiationModels \
|
||||
-lrandomProcesses \
|
||||
-lreactionThermophysicalModels \
|
||||
-lreconstruct \
|
||||
-lsampling \
|
||||
|
||||
Reference in New Issue
Block a user