New version of wmake supporting out-of-tree object and dependency files

This commit is contained in:
Henry 2014-12-14 21:42:18 +00:00
parent bd2f16e2d3
commit 844b283030
251 changed files with 1466 additions and 1847 deletions

View File

@ -1,37 +1,43 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
# Parse arguments for library compilation without documentation by default
genDoc=0
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
wmakeCheckPwd "$WM_PROJECT_DIR" || { wmakeCheckPwd "$WM_PROJECT_DIR" || {
echo "Error: Current directory is not \$WM_PROJECT_DIR" echo "Allwmake error: Current directory is not \$WM_PROJECT_DIR"
echo " The environment variables are inconsistent with the installation." echo " The environment variables are inconsistent with the installation."
echo " Check the OpenFOAM entries in your dot-files and source them." echo " Check the OpenFOAM entries in your dot-files and source them."
exit 1 exit 1
} }
[ -n "$FOAM_EXT_LIBBIN" ] || { [ -n "$FOAM_EXT_LIBBIN" ] || {
echo "Error: FOAM_EXT_LIBBIN not set" echo "Allwmake error: FOAM_EXT_LIBBIN not set"
echo " Check the OpenFOAM entries in your dot-files and source them." echo " Check the OpenFOAM entries in your dot-files and source them."
exit 1 exit 1
} }
# wmake is required for subsequent targets # Compile wmake support applications
( cd wmake/src && make ) (cd wmake/src && make)
# build ThirdParty sources # Compile ThirdParty libraries and applications
if [ -d "$WM_THIRD_PARTY_DIR" ] if [ -d "$WM_THIRD_PARTY_DIR" ]
then then
$WM_THIRD_PARTY_DIR/Allwmake $WM_THIRD_PARTY_DIR/Allwmake
else else
echo "no ThirdParty sources found - skipping" echo "Allwmake: no ThirdParty directory found - skipping"
fi fi
# build OpenFOAM libraries and applications # Compile OpenFOAM libraries and applications
src/Allwmake $* src/Allwmake $targetType $*
applications/Allwmake $*
# Compile OpenFOAM libraries and applications
applications/Allwmake $targetType $*
# Optionally build OpenFOAM Doxygen documentation
[ $genDoc -eq 1 ] && doc/Allwmake
if [ "$1" = doc ]
then
doc/Allwmake $*
fi
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -2,7 +2,7 @@
# #
#+TITLE: OpenFOAM README for version dev #+TITLE: OpenFOAM README for version dev
#+AUTHOR: The OpenFOAM Foundation #+AUTHOR: The OpenFOAM Foundation
#+DATE: 10th December 2014 #+DATE: 14th December 2014
#+LINK: http://www.openfoam.org #+LINK: http://www.openfoam.org
#+OPTIONS: author:nil ^:{} #+OPTIONS: author:nil ^:{}
# Copyright (c) 2014 OpenFOAM Foundation. # Copyright (c) 2014 OpenFOAM Foundation.
@ -28,10 +28,10 @@
[[http://www.OpenFOAM.org/git.php]] [[http://www.OpenFOAM.org/git.php]]
* Documentation * Documentation
[[http://www.OpenFOAM.com/docs]] [[http://www.OpenFOAM.org/docs]]
* Support and development contracts
[[http://www.OpenFOAM.com/support]]
* Reporting Bugs in OpenFOAM * Reporting Bugs in OpenFOAM
[[http://www.OpenFOAM.com/bugs]] [[http://www.OpenFOAM.org/bugs]]
* Contacting the OpenFOAM Foundation
http://www.openfoam.org/contact

View File

@ -1,22 +1,27 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
wmakeCheckPwd "$WM_PROJECT_DIR/applications" || { wmakeCheckPwd "$WM_PROJECT_DIR/applications" || {
echo "Error: Current directory is not \$WM_PROJECT_DIR/applications" echo "Allwmake error: Current directory is not \$WM_PROJECT_DIR/applications"
echo " The environment variables are inconsistent with the installation." echo " The environment variables are inconsistent with the installation."
echo " Check the OpenFOAM entries in your dot-files and source them." echo " Check the OpenFOAM entries in your dot-files and source them."
exit 1 exit 1
} }
[ -n "$FOAM_EXT_LIBBIN" ] || { [ -n "$FOAM_EXT_LIBBIN" ] || {
echo "Error: FOAM_EXT_LIBBIN not set" echo "Allwmake error: FOAM_EXT_LIBBIN not set"
echo " Check the OpenFOAM entries in your dot-files and source them." echo " Check the OpenFOAM entries in your dot-files and source them."
exit 1 exit 1
} }
set -x set -x
wmake all utilities $* wmake -all utilities $*
wmake all solvers $* wmake -all solvers $*
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,10 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake
wmake rhoReactingFoam
wmake rhoReactingBuoyantFoam
wmake LTSReactingFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wclean libso BCs wclean libso BCs

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
(wmake libso BCs && wmake && wmake rhoCentralDyMFoam) (wmake libso BCs && wmake && wmake rhoCentralDyMFoam)

View File

@ -1,10 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake
wmake rhoPimplecFoam
wmake rhoLTSPimpleFoam
wmake rhoPimpleDyMFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,9 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wclean
wclean rhoPorousSimpleFoam
wclean rhoSimplecFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,9 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake
wmake rhoPorousSimpleFoam
wmake rhoSimplecFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,9 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake
wmake sonicDyMFoam
wmake sonicLiquidFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,8 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wclean
wclean chtMultiRegionSimpleFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,8 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake
wmake chtMultiRegionSimpleFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,9 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake
wmake SRFPimpleFoam
wmake pimpleDyMFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,10 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake
wmake SRFSimpleFoam
wmake porousSimpleFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -3,6 +3,6 @@
cd ${0%/*} || exit 1 cd ${0%/*} || exit 1
set -x set -x
wclean DPMTurbulenceModels wclean libso DPMTurbulenceModels
wclean wclean
wclean MPPICFoam wclean MPPICFoam

View File

@ -3,6 +3,6 @@
cd ${0%/*} || exit 1 cd ${0%/*} || exit 1
set -x set -x
wmake DPMTurbulenceModels wmake libso DPMTurbulenceModels
wmake wmake
wmake MPPICFoam wmake MPPICFoam

View File

@ -1,8 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake
wmake icoUncoupledKinematicParcelDyMFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,9 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake
wmake simpleReactingParcelFoam
wmake LTSReactingParcelFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,9 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake
wmake sprayEngineFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,8 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wclean
wclean cavitatingDyMFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,8 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake
wmake cavitatingDyMFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wclean libso twoPhaseMixtureThermo wclean libso twoPhaseMixtureThermo

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wmake libso twoPhaseMixtureThermo wmake libso twoPhaseMixtureThermo

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wclean libso multiphaseMixtureThermo wclean libso multiphaseMixtureThermo

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wmake libso multiphaseMixtureThermo wmake libso multiphaseMixtureThermo

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wclean libso mixtureViscosityModels wclean libso mixtureViscosityModels

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wmake libso mixtureViscosityModels wmake libso mixtureViscosityModels

View File

@ -1,11 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wclean
wclean interDyMFoam
wclean porousInterFoam
wclean LTSInterFoam
wclean interMixingFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,11 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake
wmake interDyMFoam
wmake porousInterFoam
wmake LTSInterFoam
wmake interMixingFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wclean libso phaseChangeTwoPhaseMixtures wclean libso phaseChangeTwoPhaseMixtures

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wmake libso phaseChangeTwoPhaseMixtures wmake libso phaseChangeTwoPhaseMixtures

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wclean libso multiphaseSystem wclean libso multiphaseSystem

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wmakeLnInclude interfacialModels wmakeLnInclude interfacialModels

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wclean libso multiphaseMixture wclean libso multiphaseMixture

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wmake libso multiphaseMixture wmake libso multiphaseMixture

View File

@ -1,8 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wclean
wclean potentialFreeSurfaceDyMFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,8 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake
wmake potentialFreeSurfaceDyMFoam
# ----------------------------------------------------------------- end-of-file

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wclean libso twoPhaseSystem wclean libso twoPhaseSystem

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wmakeLnInclude interfacialModels wmakeLnInclude interfacialModels

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions # Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions . $WM_PROJECT_DIR/bin/tools/RunFunctions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions # Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions . $WM_PROJECT_DIR/bin/tools/RunFunctions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions # Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions . $WM_PROJECT_DIR/bin/tools/RunFunctions

View File

@ -2,7 +2,7 @@
# #
# Build optional components (eg, may depend on third-party libraries) # Build optional components (eg, may depend on third-party libraries)
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
# build libccmio and create lnInclude directory # build libccmio and create lnInclude directory

View File

@ -1,17 +1,17 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wmake all blockMesh wmake -all blockMesh
wmake all extrude wmake -all extrude
wmake all extrude2DMesh wmake -all extrude2DMesh
wmake all snappyHexMesh wmake -all snappyHexMesh
if [ -n "$CGAL_ARCH_PATH" ] if [ -n "$CGAL_ARCH_PATH" ]
then then
wmake libso foamyHexMesh/conformalVoronoiMesh wmake libso foamyHexMesh/conformalVoronoiMesh
wmake all foamyHexMesh wmake -all foamyHexMesh
wmake all foamyQuadMesh wmake -all foamyQuadMesh
fi fi

View File

@ -1,8 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wclean extrudeMesh
wclean extrudeToRegionMesh
# ----------------------------------------------------------------- end-of-file

View File

@ -1,9 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake extrudeMesh
wmake extrudeToRegionMesh
# ----------------------------------------------------------------- end-of-file

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wclean libso extrude2DMesh wclean libso extrude2DMesh

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wmake libso extrude2DMesh wmake libso extrude2DMesh

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wclean libso conformalVoronoiMesh wclean libso conformalVoronoiMesh

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
if [ -n "$CGAL_ARCH_PATH" ] if [ -n "$CGAL_ARCH_PATH" ]

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
if [ -d "${FASTDUALOCTREE_SRC_PATH}" ] if [ -d "${FASTDUALOCTREE_SRC_PATH}" ]

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wclean libso conformalVoronoi2DMesh wclean libso conformalVoronoi2DMesh

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
if [ -n "$CGAL_ARCH_PATH" ] if [ -n "$CGAL_ARCH_PATH" ]

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
export COMPILE_FLAGS='' export COMPILE_FLAGS=''
export LINK_FLAGS='' export LINK_FLAGS=''
@ -10,7 +10,7 @@ then
export LINK_FLAGS="${LINK_FLAGS} -lSloanRenumber" export LINK_FLAGS="${LINK_FLAGS} -lSloanRenumber"
fi fi
if [ "${ZOLTAN_ARCH_PATH}/lib/libzoltan.a" -a -f "${FOAM_LIBBIN}/libzoltanRenumber.so" ] if [ -f "${ZOLTAN_ARCH_PATH}/lib/libzoltan.a" -a -f "${FOAM_LIBBIN}/libzoltanRenumber.so" ]
then then
echo "Found libzoltanRenumber.so -- enabling zoltan renumbering support." echo "Found libzoltanRenumber.so -- enabling zoltan renumbering support."
export COMPILE_FLAGS="-DFOAM_USE_ZOLTAN" export COMPILE_FLAGS="-DFOAM_USE_ZOLTAN"

View File

@ -1,16 +1,12 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
unset COMP_FLAGS LINK_FLAGS unset COMP_FLAGS LINK_FLAGS
# #
# use readline if available # use readline if available
# unless otherwise specified (with NO_READLINE)
# #
# eg, ./Allwmake NO_READLINE if [ -f /usr/include/readline/readline.h ]
#
if [ -f /usr/include/readline/readline.h -a "${1%NO_READLINE}" = "$1" ]
then then
echo "Found <readline/readline.h> -- enabling readline support." echo "Found <readline/readline.h> -- enabling readline support."
export COMP_FLAGS="-DHAS_READLINE" export COMP_FLAGS="-DHAS_READLINE"

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
wclean libso helpTypes wclean libso helpTypes
wclean wclean

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
wmake libso helpTypes wmake libso helpTypes
wmake wmake

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
if [ ! -d ${WM_THIRD_PARTY_DIR}/tecio ] if [ ! -d ${WM_THIRD_PARTY_DIR}/tecio ]
then then

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wclean libso vtkPV3Readers wclean libso vtkPV3Readers

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
#set -x #set -x
case "$ParaView_VERSION" in case "$ParaView_VERSION" in

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
# deal with client/server vs combined plugins # deal with client/server vs combined plugins

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
# deal with client/server vs combined plugins # deal with client/server vs combined plugins

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wclean libso vtkPV4Readers wclean libso vtkPV4Readers

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
#set -x #set -x
case "$ParaView_VERSION" in case "$ParaView_VERSION" in

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
# deal with client/server vs combined plugins # deal with client/server vs combined plugins

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]

View File

@ -72,6 +72,7 @@ ENDIF("${PARAVIEW_VERSION_MINOR}" EQUAL 0)
TARGET_LINK_LIBRARIES( TARGET_LINK_LIBRARIES(
PV4FoamReader_SM PV4FoamReader_SM
LINK_PUBLIC
OpenFOAM OpenFOAM
finiteVolume finiteVolume
vtkPV4Foam vtkPV4Foam

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
# deal with client/server vs combined plugins # deal with client/server vs combined plugins

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]

View File

@ -73,6 +73,7 @@ ENDIF("${PARAVIEW_VERSION_MINOR}" EQUAL 0)
TARGET_LINK_LIBRARIES( TARGET_LINK_LIBRARIES(
PV4blockMeshReader_SM PV4blockMeshReader_SM
LINK_PUBLIC
OpenFOAM OpenFOAM
blockMesh blockMesh
vtkPV4blockMesh vtkPV4blockMesh

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
wmake libso wmake libso

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wmake libso tabulatedWallFunction wmake libso tabulatedWallFunction

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
# fix permissions (NB: '+X' and not '+x'!) # fix permissions (NB: '+X' and not '+x'!)

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
[ -d "$WM_PROJECT_DIR" ] || { [ -d "$WM_PROJECT_DIR" ] || {
echo "Error: WM_PROJECT_DIR directory does not exist" echo "Error: WM_PROJECT_DIR directory does not exist"

View File

@ -1,86 +1,83 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
wmakeCheckPwd "$WM_PROJECT_DIR/src" || { wmakeCheckPwd "$WM_PROJECT_DIR/src" || {
echo "Error: Current directory is not \$WM_PROJECT_DIR/src" echo "Allwmake error: Current directory is not \$WM_PROJECT_DIR/src"
echo " The environment variables are inconsistent with the installation." echo " The environment variables are inconsistent with the installation."
echo " Check the OpenFOAM entries in your dot-files and source them." echo " Check the OpenFOAM entries in your dot-files and source them."
exit 1 exit 1
} }
[ -n "$FOAM_EXT_LIBBIN" ] || { [ -n "$FOAM_EXT_LIBBIN" ] || {
echo "Error: FOAM_EXT_LIBBIN not set" echo "Allwmake error: FOAM_EXT_LIBBIN not set"
echo " Check the OpenFOAM entries in your dot-files and source them." echo " Check the OpenFOAM entries in your dot-files and source them."
exit 1 exit 1
} }
set -x set -x
# update OpenFOAM version strings if required # Update OpenFOAM version strings if required
wmakePrintBuild -check || /bin/rm -f OpenFOAM/Make/*/global.? 2>/dev/null wmakePrintBuild -check || /bin/rm -f OpenFOAM/Make/*/global.? 2>/dev/null
wmakeLnInclude OpenFOAM wmakeLnInclude OpenFOAM
wmakeLnInclude OSspecific/${WM_OSTYPE:-POSIX} wmakeLnInclude OSspecific/${WM_OSTYPE:-POSIX}
Pstream/Allwmake $* Pstream/Allwmake $targetType $*
OSspecific/${WM_OSTYPE:-POSIX}/Allwmake $* OSspecific/${WM_OSTYPE:-POSIX}/Allwmake $*
wmake $makeType OpenFOAM wmake $targetType OpenFOAM
wmake $makeType fileFormats wmake $targetType fileFormats
wmake $makeType surfMesh wmake $targetType surfMesh
wmake $makeType triSurface wmake $targetType triSurface
wmake $makeType meshTools wmake $targetType meshTools
wmake $makeType edgeMesh wmake $targetType edgeMesh
# Decomposition methods needed by dummyThirdParty # Decomposition methods needed by dummyThirdParty
# (dummy metisDecomp, scotchDecomp etc) needed by e.g. meshTools
parallel/decompose/AllwmakeLnInclude parallel/decompose/AllwmakeLnInclude
# dummyThirdParty (dummy metisDecomp, scotchDecomp etc) needed by e.g. meshTools dummyThirdParty/Allwmake $targetType $*
dummyThirdParty/Allwmake $*
wmake $makeType finiteVolume wmake $targetType finiteVolume
wmake $makeType lagrangian/basic wmake $targetType lagrangian/basic
wmake $makeType lagrangian/distributionModels wmake $targetType lagrangian/distributionModels
wmake $makeType genericPatchFields wmake $targetType genericPatchFields
# Build the proper scotchDecomp, metisDecomp etc. wmake $targetType conversion
parallel/Allwmake $* wmake $targetType sampling
wmake $targetType mesh/extrudeModel
wmake $targetType dynamicMesh
wmake $targetType dynamicFvMesh
wmake $targetType topoChangerFvMesh
renumber/Allwmake $* # Compile scotchDecomp, metisDecomp etc.
parallel/Allwmake $targetType $*
wmake $makeType conversion wmake $targetType ODE
wmake $targetType randomProcesses
wmake $makeType sampling transportModels/Allwmake $targetType $*
thermophysicalModels/Allwmake $targetType $*
turbulenceModels/Allwmake $targetType $*
TurbulenceModels/Allwmake $targetType $*
wmake $targetType combustionModels
regionModels/Allwmake $targetType $*
lagrangian/Allwmake $targetType $*
mesh/Allwmake $targetType $*
renumber/Allwmake $targetType $*
fvAgglomerationMethods/Allwmake $targetType $*
wmake $makeType mesh/extrudeModel wmake $targetType fvMotionSolver
wmake $targetType engine
wmake $targetType fvOptions
wmake $targetType regionCoupled
wmake $makeType dynamicMesh postProcessing/Allwmake $targetType $*
wmake $makeType dynamicFvMesh
wmake $makeType topoChangerFvMesh
wmake $makeType ODE wmake $targetType sixDoFRigidBodyMotion
wmake $makeType randomProcesses
thermophysicalModels/Allwmake $*
transportModels/Allwmake $*
turbulenceModels/Allwmake $*
TurbulenceModels/Allwmake $*
wmake $makeType combustionModels
regionModels/Allwmake $*
lagrangian/Allwmake $*
mesh/Allwmake $*
fvAgglomerationMethods/Allwmake $*
wmake $makeType fvMotionSolver
wmake $makeType engine
wmake $makeType fvOptions
wmake $makeType regionCoupled
postProcessing/Allwmake $*
wmake $makeType sixDoFRigidBodyMotion
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,16 +1,16 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libo}
# Parse arguments for library compilation
targetType=libo
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments $*
unset COMP_FLAGS LINK_FLAGS unset COMP_FLAGS LINK_FLAGS
# #
# use <sys/inotify.h> if available (Linux) # use <sys/inotify.h> if available (Linux)
# unless otherwise specified (with USE_STAT)
# #
# eg, ./Allwmake USE_STAT if [ -f /usr/include/sys/inotify.h ]
#
if [ -f /usr/include/sys/inotify.h -a "${1%USE_STAT}" = "$1" ]
then then
echo "Found <sys/inotify.h> -- enabling inotify for file monitoring." echo "Found <sys/inotify.h> -- enabling inotify for file monitoring."
export COMP_FLAGS="-DFOAM_USE_INOTIFY" export COMP_FLAGS="-DFOAM_USE_INOTIFY"
@ -18,8 +18,7 @@ else
unset COMP_FLAGS unset COMP_FLAGS
fi fi
# make (non-shared by default) object
# make (non-shared) object wmake $targetType
wmake $makeType
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,10 +1,13 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
# #
# define how to create an mpi-versioned library of $makeType # define how to create an mpi-versioned library of $targetType
# compile into qualified directory # compile into qualified directory
# use sentinel file to handle version changes # use sentinel file to handle version changes
# #
@ -15,10 +18,10 @@ wmakeMpiLib()
do do
( (
WM_OPTIONS="$WM_OPTIONS$WM_MPLIB" WM_OPTIONS="$WM_OPTIONS$WM_MPLIB"
whichmpi="$libName/Make/$WM_OPTIONS/using:$FOAM_MPI" whichmpi="$WM_PROJECT_DIR/platforms/$WM_OPTIONS/src/Pstream/$libName/using:$FOAM_MPI"
[ -e "$whichmpi" ] || wclean $libName [ -e "$whichmpi" ] || wclean $libName
echo "wmake $makeType $libName" echo "wmake $targetType $libName"
wmake $makeType $libName wmake $targetType $libName
touch "$whichmpi" touch "$whichmpi"
) )
done done
@ -26,7 +29,7 @@ wmakeMpiLib()
} }
set -x set -x
wmake $makeType dummy wmake $targetType dummy
case "$WM_MPLIB" in case "$WM_MPLIB" in
*MPI*) *MPI*)
@ -36,10 +39,6 @@ case "$WM_MPLIB" in
echo echo
wmakeMpiLib mpi wmakeMpiLib mpi
;; ;;
#GAMMA)
# wmake $makeType gamma
# ;;
esac esac

View File

@ -1,11 +1,14 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x set -x
wmake $makeType turbulenceModels wmake $targetType turbulenceModels
wmake $makeType incompressible wmake $targetType incompressible
wmake $makeType compressible wmake $targetType compressible
wmakeLnInclude phaseIncompressible wmakeLnInclude phaseIncompressible
wmakeLnInclude phaseCompressible wmakeLnInclude phaseCompressible

View File

@ -1,8 +1,11 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x set -x
wmake $makeType wmake $targetType
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,12 +1,15 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x set -x
wmake $makeType scotchDecomp wmake $targetType scotchDecomp
wmake $makeType ptscotchDecomp wmake $targetType ptscotchDecomp
wmake $makeType metisDecomp wmake $targetType metisDecomp
wmake $makeType MGridGen wmake $targetType MGridGen
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,33 +1,36 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x set -x
export ParMGridGen=$WM_THIRD_PARTY_DIR/ParMGridGen-1.0 export ParMGridGen=$WM_THIRD_PARTY_DIR/ParMGridGen-1.0
if [ -e "$FOAM_LIBBIN/libMGridGen.so" ] if [ -e "$FOAM_LIBBIN/libMGridGen.so" ]
then then
wmake $makeType MGridGenGamgAgglomeration wmake $targetType MGridGenGamgAgglomeration
fi fi
wmake $makeType pairPatchAgglomeration wmake $targetType pairPatchAgglomeration
## get SCOTCH_VERSION, SCOTCH_ARCH_PATH ## get SCOTCH_VERSION, SCOTCH_ARCH_PATH
#if settings=`$WM_PROJECT_DIR/bin/foamEtcFile config/scotch.sh` if settings=`$WM_PROJECT_DIR/bin/foamEtcFile config/scotch.sh`
#then then
# . $settings . $settings
# echo "using SCOTCH_ARCH_PATH=$SCOTCH_ARCH_PATH" echo "using SCOTCH_ARCH_PATH=$SCOTCH_ARCH_PATH"
#else else
# echo echo
# echo "Error: no config/scotch.sh settings" echo "Error: no config/scotch.sh settings"
# echo echo
#fi fi
#
#if [ -n "$SCOTCH_ARCH_PATH" ] if [ -n "$SCOTCH_ARCH_PATH" ]
#then then
# wmake $makeType scotchGamgAgglomeration wmake $targetType scotchGamgAgglomeration
#fi fi
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,18 +1,21 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x set -x
wmake $makeType distributionModels wmake $targetType distributionModels
wmake $makeType basic wmake $targetType basic
wmake $makeType solidParticle wmake $targetType solidParticle
wmake $makeType intermediate wmake $targetType intermediate
wmake $makeType turbulence wmake $targetType turbulence
wmake $makeType Turbulence wmake $targetType Turbulence
wmake $makeType spray wmake $targetType spray
wmake $makeType dsmc wmake $targetType dsmc
wmake $makeType coalCombustion wmake $targetType coalCombustion
molecularDynamics/Allwmake $* molecularDynamics/Allwmake $targetType $*
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,10 +1,13 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x set -x
wmake $makeType potential wmake $targetType potential
wmake $makeType molecularMeasurements wmake $targetType molecularMeasurements
wmake $makeType molecule wmake $targetType molecule
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,10 +1,13 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x set -x
wmake $makeType autoMesh wmake $targetType autoMesh
wmake $makeType blockMesh wmake $targetType blockMesh
wmake $makeType extrudeModel wmake $targetType extrudeModel
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,11 +1,14 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x set -x
decompose/Allwmake $* decompose/Allwmake $targetType $*
reconstruct/Allwmake $* reconstruct/Allwmake $targetType $*
wmake $makeType distributed wmake $targetType distributed
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,6 +1,9 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
# get SCOTCH_VERSION, SCOTCH_ARCH_PATH # get SCOTCH_VERSION, SCOTCH_ARCH_PATH
if settings=`$WM_PROJECT_DIR/bin/foamEtcFile config/scotch.sh` if settings=`$WM_PROJECT_DIR/bin/foamEtcFile config/scotch.sh`
@ -15,7 +18,7 @@ fi
# #
# define how to create an mpi-versioned library of $makeType # define how to create an mpi-versioned library of $targetType
# compile into qualified directory # compile into qualified directory
# use sentinel file to handle version changes # use sentinel file to handle version changes
# #
@ -26,11 +29,11 @@ wmakeMpiLib()
do do
( (
WM_OPTIONS="$WM_OPTIONS$WM_MPLIB" WM_OPTIONS="$WM_OPTIONS$WM_MPLIB"
whichmpi="$libName/Make/$WM_OPTIONS/using:$FOAM_MPI" whichmpi="$WM_PROJECT_DIR/platforms/$WM_OPTIONS/src/parallel/decompose/$libName/using:$FOAM_MPI"
whichscotch="$libName/Make/$WM_OPTIONS/using:$SCOTCH_VERSION" whichscotch="$WM_PROJECT_DIR/platforms/$WM_OPTIONS/src/parallel/decompose/$libName/using:$SCOTCH_VERSION"
[ -e "$whichmpi" -a -e "$whichscotch" ] || wclean $libName [ -e "$whichmpi" -a -e "$whichscotch" ] || wclean $libName
echo "wmake $makeType $libName" echo "wmake $targetType $libName"
wmake $makeType $libName wmake $targetType $libName
touch "$whichmpi" "$whichscotch" touch "$whichmpi" "$whichscotch"
) )
done done
@ -43,16 +46,18 @@ wmakeLnInclude decompositionMethods
if [ -n "$SCOTCH_ARCH_PATH" ] if [ -n "$SCOTCH_ARCH_PATH" ]
then then
wmake $makeType scotchDecomp wmake $targetType scotchDecomp
if [ -d "$FOAM_LIBBIN/$FOAM_MPI" ] if [ -d "$FOAM_LIBBIN/$FOAM_MPI" ]
then then
#- Bit of a hack: ptscotch 6 requires scotch linked as well as. Can be #- Bit of a hack: ptscotch 6 requires scotch linked as well as. Can be
# removed once ptscotch declares dependency on scotch itself. # removed once ptscotch declares dependency on scotch itself.
if [ "$SCOTCH_VERSION" = "scotch_6.0.0" ] case "$SCOTCH_VERSION" in
then scotch_6.*)
export LINK_FLAGS="-lscotch" export LINK_FLAGS="-lscotch"
fi ;;
esac
wmakeMpiLib ptscotchDecomp wmakeMpiLib ptscotchDecomp
fi fi
@ -64,11 +69,11 @@ fi
# Try and build metisDecomp (has own logic) # Try and build metisDecomp (has own logic)
(cd metisDecomp && ./Allwmake $makeType) (cd metisDecomp && ./Allwmake $targetType)
wmake $makeType decompositionMethods wmake $targetType decompositionMethods
wmake $makeType decompose wmake $targetType decompose
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
set -x set -x
wmakeLnInclude decompositionMethods wmakeLnInclude decompositionMethods

View File

@ -1,6 +1,9 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
# get METIS_VERSION, METIS_ARCH_PATH # get METIS_VERSION, METIS_ARCH_PATH
if settings=`$WM_PROJECT_DIR/bin/foamEtcFile config/metis.sh` if settings=`$WM_PROJECT_DIR/bin/foamEtcFile config/metis.sh`
@ -9,7 +12,7 @@ then
echo "using METIS_ARCH_PATH=$METIS_ARCH_PATH" echo "using METIS_ARCH_PATH=$METIS_ARCH_PATH"
if [ -r $METIS_ARCH_PATH/lib/libmetis.so ] if [ -r $METIS_ARCH_PATH/lib/libmetis.so ]
then then
wmake $makeType wmake $targetType
fi fi
else else
echo echo

View File

@ -1,8 +1,11 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x set -x
wmake $makeType reconstruct wmake $targetType reconstruct
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,11 +1,14 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x set -x
wmake ${1:-libo} postCalc wmake ${1:-libo} postCalc
wmake $makeType foamCalcFunctions wmake $targetType foamCalcFunctions
functionObjects/Allwmake $* functionObjects/Allwmake $targetType $*
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,15 +1,18 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x set -x
wmake $makeType cloud wmake $targetType cloud
wmake $makeType field wmake $targetType field
wmake $makeType forces wmake $targetType forces
wmake $makeType fvTools wmake $targetType fvTools
wmake $makeType IO wmake $targetType IO
wmake $makeType jobControl wmake $targetType jobControl
wmake $makeType systemCall wmake $targetType systemCall
wmake $makeType utilities wmake $targetType utilities
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso} makeType=${1:-libso}
set -x set -x

View File

@ -1,14 +1,17 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x set -x
wmake $makeType regionModel wmake $targetType regionModel
wmake $makeType pyrolysisModels wmake $targetType pyrolysisModels
wmake $makeType surfaceFilmModels wmake $targetType surfaceFilmModels
wmake $makeType surfaceFilmModels/derivedFvPatchFields/wallFunctions wmake $targetType surfaceFilmModels/derivedFvPatchFields/wallFunctions
wmake $makeType thermalBaffleModels wmake $targetType thermalBaffleModels
wmake $makeType regionCoupling wmake $targetType regionCoupling
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,6 +1,9 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
## get ZOLTAN_ARCH_PATH ## get ZOLTAN_ARCH_PATH
#if settings=`$WM_PROJECT_DIR/bin/foamEtcFile config/zoltan.sh` #if settings=`$WM_PROJECT_DIR/bin/foamEtcFile config/zoltan.sh`
@ -16,11 +19,11 @@ makeType=${1:-libso}
set -x set -x
wmake $makeType renumberMethods wmake $targetType renumberMethods
if [ -n "$BOOST_ARCH_PATH" ] if [ -n "$BOOST_ARCH_PATH" ]
then then
wmake $makeType SloanRenumber wmake $targetType SloanRenumber
else else
echo echo
echo "Skipping SloanRenumber" echo "Skipping SloanRenumber"
@ -30,7 +33,7 @@ fi
if [ -n "$ZOLTAN_ARCH_PATH" ] if [ -n "$ZOLTAN_ARCH_PATH" ]
then then
wmake $makeType zoltanRenumber wmake $targetType zoltanRenumber
else else
echo echo
echo "Skipping zoltanRenumber" echo "Skipping zoltanRenumber"

View File

@ -1,24 +1,27 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x set -x
wmake $makeType specie wmake $targetType specie
wmake $makeType solidSpecie wmake $targetType solidSpecie
wmake $makeType thermophysicalFunctions wmake $targetType thermophysicalFunctions
./properties/Allwmake $* ./properties/Allwmake $targetType $*
wmake $makeType basic wmake $targetType basic
wmake $makeType reactionThermo wmake $targetType reactionThermo
wmake $makeType laminarFlameSpeed wmake $targetType laminarFlameSpeed
wmake $makeType chemistryModel wmake $targetType chemistryModel
wmake $makeType barotropicCompressibilityModel wmake $targetType barotropicCompressibilityModel
wmake $makeType SLGThermo wmake $targetType SLGThermo
wmake $makeType solidThermo wmake $targetType solidThermo
wmake $makeType solidChemistryModel wmake $targetType solidChemistryModel
wmake $makeType radiationModels wmake $targetType radiationModels
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,12 +1,15 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x set -x
wmake $makeType liquidProperties wmake $targetType liquidProperties
wmake $makeType liquidMixtureProperties wmake $targetType liquidMixtureProperties
wmake $makeType solidProperties wmake $targetType solidProperties
wmake $makeType solidMixtureProperties wmake $targetType solidMixtureProperties
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -1,5 +1,5 @@
chemistryReaders/chemkinReader/chemkinReader.C chemistryReaders/chemkinReader/chemkinReader.C
chemistryReaders/chemkinReader/chemkinLexer.C chemistryReaders/chemkinReader/chemkinLexer.L
chemistryReaders/chemistryReader/makeChemistryReaders.C chemistryReaders/chemistryReader/makeChemistryReaders.C
mixtures/basicMultiComponentMixture/basicMultiComponentMixture.C mixtures/basicMultiComponentMixture/basicMultiComponentMixture.C

View File

@ -1,13 +1,16 @@
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
makeType=${1:-libso}
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x set -x
wmake $makeType twoPhaseMixture wmake $targetType twoPhaseMixture
wmake $makeType interfaceProperties wmake $targetType interfaceProperties
wmake $makeType twoPhaseProperties wmake $targetType twoPhaseProperties
wmake $makeType incompressible wmake $targetType incompressible
wmake $makeType compressible wmake $targetType compressible
wmake $makeType immiscibleIncompressibleTwoPhaseMixture wmake $targetType immiscibleIncompressibleTwoPhaseMixture
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

Some files were not shown because too many files have changed in this diff Show More