mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
wmake/Allwmake: Completed support for targetType 'objects'
Patch contributed by Mattijs Janssens
This commit is contained in:
1
Allwmake
1
Allwmake
@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
|
|
||||||
# Parse arguments for library compilation without documentation by default
|
# Parse arguments for library compilation without documentation by default
|
||||||
genDoc=0
|
genDoc=0
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
|
|
||||||
wmakeCheckPwd "$WM_PROJECT_DIR" || {
|
wmakeCheckPwd "$WM_PROJECT_DIR" || {
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
|
|
||||||
wmakeCheckPwd "$WM_PROJECT_DIR/applications" || {
|
wmakeCheckPwd "$WM_PROJECT_DIR/applications" || {
|
||||||
@ -20,8 +19,8 @@ wmakeCheckPwd "$WM_PROJECT_DIR/applications" || {
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake -all solvers $*
|
wmake -all $targetType solvers
|
||||||
wmake -all utilities $*
|
wmake -all $targetType utilities
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,10 +2,9 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
(wmake $targetType BCs && wmake && wmake rhoCentralDyMFoam)
|
(wmake $targetType BCs && wmake $targetType && wmake $targetType rhoCentralDyMFoam)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,10 +2,10 @@
|
|||||||
cd ${0%/*} || exit 1
|
cd ${0%/*} || exit 1
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake $targetType DPMTurbulenceModels
|
wmake $targetType DPMTurbulenceModels
|
||||||
wmake
|
|
||||||
wmake MPPICFoam
|
wmake $targetType
|
||||||
|
wmake $targetType MPPICFoam
|
||||||
|
|||||||
@ -2,12 +2,12 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake $targetType twoPhaseMixtureThermo
|
wmake $targetType twoPhaseMixtureThermo
|
||||||
wmake
|
|
||||||
wmake compressibleInterDyMFoam
|
wmake $targetType
|
||||||
|
wmake $targetType compressibleInterDyMFoam
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,11 +2,10 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake $targetType multiphaseMixtureThermo
|
wmake $targetType multiphaseMixtureThermo
|
||||||
wmake
|
wmake $targetType
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,12 +2,11 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake $targetType mixtureViscosityModels
|
wmake $targetType mixtureViscosityModels
|
||||||
wmake $targetType relativeVelocityModels
|
wmake $targetType relativeVelocityModels
|
||||||
wmake
|
wmake $targetType
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,12 +2,11 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake $targetType phaseChangeTwoPhaseMixtures
|
wmake $targetType phaseChangeTwoPhaseMixtures
|
||||||
wmake
|
wmake $targetType
|
||||||
wmake interPhaseChangeDyMFoam
|
wmake $targetType interPhaseChangeDyMFoam
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,13 +2,12 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmakeLnInclude interfacialModels
|
wmakeLnInclude interfacialModels
|
||||||
wmake $targetType multiphaseSystem
|
wmake $targetType multiphaseSystem
|
||||||
wmake $targetType interfacialModels
|
wmake $targetType interfacialModels
|
||||||
wmake
|
wmake $targetType
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,12 +2,11 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake $targetType multiphaseMixture
|
wmake $targetType multiphaseMixture
|
||||||
wmake
|
wmake $targetType
|
||||||
wmake multiphaseInterDyMFoam
|
wmake $targetType multiphaseInterDyMFoam
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
@ -11,7 +10,7 @@ wmakeLnInclude interfacialCompositionModels
|
|||||||
wmake $targetType phaseSystems
|
wmake $targetType phaseSystems
|
||||||
wmake $targetType interfacialModels
|
wmake $targetType interfacialModels
|
||||||
wmake $targetType interfacialCompositionModels
|
wmake $targetType interfacialCompositionModels
|
||||||
reactingTwoPhaseEulerFoam/Allwmake $*
|
reactingTwoPhaseEulerFoam/Allwmake $targetType $*
|
||||||
reactingMultiphaseEulerFoam/Allwmake $*
|
reactingMultiphaseEulerFoam/Allwmake $targetType $*
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,12 +2,11 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake $targetType multiphaseSystem
|
wmake $targetType multiphaseSystem
|
||||||
wmake $targetType multiphaseCompressibleTurbulenceModels
|
wmake $targetType multiphaseCompressibleTurbulenceModels
|
||||||
wmake
|
wmake $targetType
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,12 +2,11 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake $targetType twoPhaseSystem
|
wmake $targetType twoPhaseSystem
|
||||||
wmake $targetType twoPhaseCompressibleTurbulenceModels
|
wmake $targetType twoPhaseCompressibleTurbulenceModels
|
||||||
wmake
|
wmake $targetType
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
@ -10,6 +9,6 @@ wmakeLnInclude interfacialModels
|
|||||||
wmake $targetType twoPhaseSystem
|
wmake $targetType twoPhaseSystem
|
||||||
wmake $targetType interfacialModels
|
wmake $targetType interfacialModels
|
||||||
wmake $targetType phaseCompressibleTurbulenceModels
|
wmake $targetType phaseCompressibleTurbulenceModels
|
||||||
wmake
|
wmake $targetType
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -14,7 +14,7 @@ $WM_THIRD_PARTY_DIR/AllwmakeLibccmio
|
|||||||
# if the library built properly, the headers should exist too
|
# if the library built properly, the headers should exist too
|
||||||
if [ -e $FOAM_EXT_LIBBIN/libccmio.so ]
|
if [ -e $FOAM_EXT_LIBBIN/libccmio.so ]
|
||||||
then
|
then
|
||||||
wmake ccm26ToFoam
|
wmake $targetType ccm26ToFoam
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -11,14 +11,14 @@ _foamEval SOURCE_CGAL_VERSIONS_ONLY=yes \
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake -all blockMesh
|
wmake -all $targetType blockMesh
|
||||||
wmake -all extrude
|
wmake -all $targetType extrude
|
||||||
wmake -all extrude2DMesh
|
wmake -all $targetType extrude2DMesh
|
||||||
wmake -all snappyHexMesh
|
wmake -all $targetType snappyHexMesh
|
||||||
|
|
||||||
if [ -n "$FOAMY_HEX_MESH" ]
|
if [ -n "$FOAMY_HEX_MESH" ]
|
||||||
then
|
then
|
||||||
foamyMesh/Allwmake $*
|
foamyMesh/Allwmake $targetType $*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,11 +2,10 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake $targetType extrude2DMesh
|
wmake $targetType extrude2DMesh
|
||||||
wmake
|
wmake $targetType
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,17 +2,16 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake $targetType conformalVoronoiMesh
|
wmake $targetType conformalVoronoiMesh
|
||||||
wmake $targetType conformalVoronoi2DMesh
|
wmake $targetType conformalVoronoi2DMesh
|
||||||
wmake foamyQuadMesh
|
|
||||||
wmake foamyHexMesh
|
|
||||||
#wmake foamyHexMeshBackgroundMesh
|
|
||||||
#(cd foamyHexMeshSurfaceSimplify && ./Allwmake)
|
|
||||||
#wmake cellSizeAndAlignmentGrid
|
|
||||||
|
|
||||||
|
wmake $targetType foamyQuadMesh
|
||||||
|
wmake $targetType foamyHexMesh
|
||||||
|
#wmake $targetType foamyHexMeshBackgroundMesh
|
||||||
|
#(cd foamyHexMeshSurfaceSimplify && ./Allwmake $targetType $*)
|
||||||
|
#wmake $targetType cellSizeAndAlignmentGrid
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -7,7 +7,7 @@ set -x
|
|||||||
|
|
||||||
if [ -d "${FASTDUALOCTREE_SRC_PATH}" ]
|
if [ -d "${FASTDUALOCTREE_SRC_PATH}" ]
|
||||||
then
|
then
|
||||||
wmake
|
wmake $targetType
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -21,6 +21,6 @@ then
|
|||||||
export LINK_FLAGS="${LINK_FLAGS} -lzoltanRenumber -L${ZOLTAN_ARCH_PATH}/lib -lzoltan"
|
export LINK_FLAGS="${LINK_FLAGS} -lzoltanRenumber -L${ZOLTAN_ARCH_PATH}/lib -lzoltan"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wmake
|
wmake $targetType
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -16,6 +16,6 @@ then
|
|||||||
export LINK_FLAGS="-lreadline"
|
export LINK_FLAGS="-lreadline"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wmake
|
wmake $targetType
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,12 +2,10 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake $targetType helpTypes
|
wmake $targetType helpTypes
|
||||||
wmake
|
wmake $targetType
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -8,7 +8,7 @@ if [ ! -d ${WM_THIRD_PARTY_DIR}/tecio ]
|
|||||||
then
|
then
|
||||||
echo "Did not find tecio in ${WM_THIRD_PARTY_DIR}. Not building foamToTecplot360."
|
echo "Did not find tecio in ${WM_THIRD_PARTY_DIR}. Not building foamToTecplot360."
|
||||||
else
|
else
|
||||||
wmake
|
wmake $targetType
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,11 +2,10 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake $targetType foamToVTK
|
wmake $targetType foamToVTK
|
||||||
wmake
|
wmake $targetType
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
#set -x
|
#set -x
|
||||||
|
|
||||||
@ -19,8 +18,8 @@ case "$ParaView_VERSION" in
|
|||||||
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
||||||
|
|
||||||
wmake $targetType vtkPV3Readers
|
wmake $targetType vtkPV3Readers
|
||||||
PV3blockMeshReader/Allwmake $*
|
PV3blockMeshReader/Allwmake $targetType $*
|
||||||
PV3FoamReader/Allwmake $*
|
PV3FoamReader/Allwmake $targetType $*
|
||||||
else
|
else
|
||||||
echo "ERROR: ParaView not found in $ParaView_DIR"
|
echo "ERROR: ParaView not found in $ParaView_DIR"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -2,13 +2,15 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
||||||
then
|
then
|
||||||
wmake $targetType vtkPV3Foam
|
wmake $targetType vtkPV3Foam
|
||||||
|
|
||||||
|
if [ "$targetType" != "objects" ]
|
||||||
|
then
|
||||||
(
|
(
|
||||||
cd PV3FoamReader
|
cd PV3FoamReader
|
||||||
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
|
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
|
||||||
@ -17,5 +19,6 @@ then
|
|||||||
make
|
make
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,13 +2,15 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
||||||
then
|
then
|
||||||
wmake $targetType vtkPV3blockMesh
|
wmake $targetType vtkPV3blockMesh
|
||||||
|
|
||||||
|
if [ "$targetType" != "objects" ]
|
||||||
|
then
|
||||||
(
|
(
|
||||||
cd PV3blockMeshReader
|
cd PV3blockMeshReader
|
||||||
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
|
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
|
||||||
@ -17,5 +19,6 @@ then
|
|||||||
make
|
make
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
#set -x
|
#set -x
|
||||||
|
|
||||||
@ -19,8 +18,8 @@ case "$ParaView_VERSION" in
|
|||||||
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
||||||
|
|
||||||
wmake $targetType vtkPVReaders
|
wmake $targetType vtkPVReaders
|
||||||
PVblockMeshReader/Allwmake $*
|
PVblockMeshReader/Allwmake $targetType $*
|
||||||
PVFoamReader/Allwmake $*
|
PVFoamReader/Allwmake $targetType $*
|
||||||
else
|
else
|
||||||
echo "ERROR: ParaView not found in $ParaView_DIR"
|
echo "ERROR: ParaView not found in $ParaView_DIR"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -2,13 +2,15 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
||||||
then
|
then
|
||||||
wmake $targetType vtkPVFoam
|
wmake $targetType vtkPVFoam
|
||||||
|
|
||||||
|
if [ "$targetType" != "objects" ]
|
||||||
|
then
|
||||||
(
|
(
|
||||||
cd PVFoamReader
|
cd PVFoamReader
|
||||||
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
|
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
|
||||||
@ -17,5 +19,6 @@ then
|
|||||||
make
|
make
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,13 +2,15 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
||||||
then
|
then
|
||||||
wmake $targetType vtkPVblockMesh
|
wmake $targetType vtkPVblockMesh
|
||||||
|
|
||||||
|
if [ "$targetType" != "objects" ]
|
||||||
|
then
|
||||||
(
|
(
|
||||||
cd PVblockMeshReader
|
cd PVblockMeshReader
|
||||||
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
|
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
|
||||||
@ -17,5 +19,6 @@ then
|
|||||||
make
|
make
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
|
|
||||||
wmake $targetType
|
wmake $targetType
|
||||||
|
|||||||
@ -2,11 +2,10 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake $targetType tabulatedWallFunction
|
wmake $targetType tabulatedWallFunction
|
||||||
wmake
|
wmake $targetType
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
|
|
||||||
wmakeCheckPwd "$WM_PROJECT_DIR/src" || {
|
wmakeCheckPwd "$WM_PROJECT_DIR/src" || {
|
||||||
@ -27,7 +26,7 @@ wmakeLnInclude OpenFOAM
|
|||||||
wmakeLnInclude OSspecific/${WM_OSTYPE:-POSIX}
|
wmakeLnInclude OSspecific/${WM_OSTYPE:-POSIX}
|
||||||
Pstream/Allwmake $targetType $*
|
Pstream/Allwmake $targetType $*
|
||||||
|
|
||||||
OSspecific/${WM_OSTYPE:-POSIX}/Allwmake $*
|
OSspecific/${WM_OSTYPE:-POSIX}/Allwmake $targetType $*
|
||||||
wmake $targetType OpenFOAM
|
wmake $targetType OpenFOAM
|
||||||
|
|
||||||
wmake $targetType fileFormats
|
wmake $targetType fileFormats
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|||||||
1
src/dummyThirdParty/Allwmake
vendored
1
src/dummyThirdParty/Allwmake
vendored
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
|
|
||||||
# get SCOTCH_VERSION, SCOTCH_ARCH_PATH
|
# get SCOTCH_VERSION, SCOTCH_ARCH_PATH
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
|
|
||||||
# get SCOTCH_VERSION, SCOTCH_ARCH_PATH
|
# get SCOTCH_VERSION, SCOTCH_ARCH_PATH
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
|
|
||||||
# get METIS_VERSION, METIS_ARCH_PATH
|
# get METIS_VERSION, METIS_ARCH_PATH
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
|
|
||||||
# Get CGAL and scotch versions
|
# Get CGAL and scotch versions
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation
|
# Parse arguments for library compilation
|
||||||
targetType=libso
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|||||||
@ -28,9 +28,6 @@
|
|||||||
# Allwmake argument parser
|
# Allwmake argument parser
|
||||||
#
|
#
|
||||||
# Usage
|
# Usage
|
||||||
# # Declare the targetType and set to default for library building
|
|
||||||
# targetType=libso # lib, libo or libso
|
|
||||||
#
|
|
||||||
# # Declare genDoc and set to default if documentation building is supported
|
# # Declare genDoc and set to default if documentation building is supported
|
||||||
# genDoc=0 # 0 or 1
|
# genDoc=0 # 0 or 1
|
||||||
#
|
#
|
||||||
@ -65,11 +62,12 @@ USAGE
|
|||||||
USAGE_DOC
|
USAGE_DOC
|
||||||
|
|
||||||
# Print options for building libraries
|
# Print options for building libraries
|
||||||
test -n "$targetType" && cat<<USAGE_LIB
|
cat<<USAGE_LIB
|
||||||
lib Compile statically linked archive lib (.a)
|
lib Compile statically linked archive lib (.a)
|
||||||
libo Compile statically linked lib (.o)
|
libo Compile statically linked lib (.o)
|
||||||
libso Compile dynamically linked lib (.so)
|
libso Compile dynamically linked lib (.so)
|
||||||
dep Compile dependency files
|
dep Compile dependency files
|
||||||
|
objects Compile only
|
||||||
USAGE_LIB
|
USAGE_LIB
|
||||||
|
|
||||||
exit 1
|
exit 1
|
||||||
@ -145,8 +143,7 @@ do
|
|||||||
genDoc=1
|
genDoc=1
|
||||||
;;
|
;;
|
||||||
# Specify target type
|
# Specify target type
|
||||||
lib | libo | libso | dep)
|
lib | libo | libso | dep | objects)
|
||||||
test -n "$targetType" || usage "invalid option '$1'"
|
|
||||||
targetType=$1
|
targetType=$1
|
||||||
;;
|
;;
|
||||||
--)
|
--)
|
||||||
|
|||||||
12
wmake/wmake
12
wmake/wmake
@ -83,6 +83,7 @@ or a special target:
|
|||||||
libso Compile dynamically linked lib (.so)
|
libso Compile dynamically linked lib (.so)
|
||||||
dep Compile lnInclude and dependencies only
|
dep Compile lnInclude and dependencies only
|
||||||
updatedep Compile dependencies only (in case of broken dependencies)
|
updatedep Compile dependencies only (in case of broken dependencies)
|
||||||
|
objects Compile but not link
|
||||||
|
|
||||||
USAGE
|
USAGE
|
||||||
exit 1
|
exit 1
|
||||||
@ -217,7 +218,7 @@ if [ "$all" = "all" ]
|
|||||||
then
|
then
|
||||||
if [ -e Allwmake ]
|
if [ -e Allwmake ]
|
||||||
then
|
then
|
||||||
./Allwmake
|
./Allwmake $targetType
|
||||||
exit $?
|
exit $?
|
||||||
else
|
else
|
||||||
# Have to keep track of the main exit code for the call to "make"
|
# Have to keep track of the main exit code for the call to "make"
|
||||||
@ -322,6 +323,15 @@ then
|
|||||||
then
|
then
|
||||||
targetType=libso
|
targetType=libso
|
||||||
fi
|
fi
|
||||||
|
elif grep -e '^ *EXE *=' "$MakeDir/files" >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
# Application. Remove any nonsense targetType
|
||||||
|
case "$targetType" in
|
||||||
|
lib*)
|
||||||
|
unset targetType
|
||||||
|
break
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user