mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: set makeOption before 'set -x' (cleaner output) in Allwmake
This commit is contained in:
@ -1,8 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmakeCheckPwd "$WM_PROJECT_DIR/src" || {
|
wmakeCheckPwd "$WM_PROJECT_DIR/src" || {
|
||||||
echo "Error: Current directory is not \$WM_PROJECT_DIR/src"
|
echo "Error: Current directory is not \$WM_PROJECT_DIR/src"
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmake $makeOption dummy
|
wmake $makeOption dummy
|
||||||
|
|
||||||
case "$WM_MPLIB" in
|
case "$WM_MPLIB" in
|
||||||
@ -12,6 +10,7 @@ case "$WM_MPLIB" in
|
|||||||
set +x
|
set +x
|
||||||
echo
|
echo
|
||||||
echo "Note: ignore spurious warnings about missing mpicxx.h headers"
|
echo "Note: ignore spurious warnings about missing mpicxx.h headers"
|
||||||
|
echo
|
||||||
set -x
|
set -x
|
||||||
# force compilation into qualified directory
|
# force compilation into qualified directory
|
||||||
WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB wmake $makeOption mpi
|
WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB wmake $makeOption mpi
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmake $makeOption
|
wmake $makeOption
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
4
src/dummyThirdParty/Allwmake
vendored
4
src/dummyThirdParty/Allwmake
vendored
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmake $makeOption scotchDecomp
|
wmake $makeOption scotchDecomp
|
||||||
wmake $makeOption ptscotchDecomp
|
wmake $makeOption ptscotchDecomp
|
||||||
wmake $makeOption metisDecomp
|
wmake $makeOption metisDecomp
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmake $makeOption MGridGenGamgAgglomeration
|
wmake $makeOption MGridGenGamgAgglomeration
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmake $makeOption basic
|
wmake $makeOption basic
|
||||||
wmake $makeOption solidParticle
|
wmake $makeOption solidParticle
|
||||||
wmake $makeOption intermediate
|
wmake $makeOption intermediate
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmake $makeOption potential
|
wmake $makeOption potential
|
||||||
wmake $makeOption molecularMeasurements
|
wmake $makeOption molecularMeasurements
|
||||||
wmake $makeOption molecule
|
wmake $makeOption molecule
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmake $makeOption autoMesh
|
wmake $makeOption autoMesh
|
||||||
wmake $makeOption blockMesh
|
wmake $makeOption blockMesh
|
||||||
|
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
decompose/Allwmake $*
|
decompose/Allwmake $*
|
||||||
reconstruct/Allwmake $*
|
reconstruct/Allwmake $*
|
||||||
wmake $makeOption distributed
|
wmake $makeOption distributed
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
# get SCOTCH_VERSION, SCOTCH_ARCH_PATH
|
# get SCOTCH_VERSION, SCOTCH_ARCH_PATH
|
||||||
settings=`$WM_PROJECT_DIR/bin/foamEtcFile apps/scotch/bashrc`
|
settings=`$WM_PROJECT_DIR/bin/foamEtcFile apps/scotch/bashrc`
|
||||||
|
|||||||
@ -1,11 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmake $makeOption reconstruct
|
wmake $makeOption reconstruct
|
||||||
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmake libo postCalc
|
wmake libo postCalc
|
||||||
wmake $makeOption foamCalcFunctions
|
wmake $makeOption foamCalcFunctions
|
||||||
|
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmake $makeOption field
|
wmake $makeOption field
|
||||||
wmake $makeOption forces
|
wmake $makeOption forces
|
||||||
wmake $makeOption IO
|
wmake $makeOption IO
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmake $makeOption specie
|
wmake $makeOption specie
|
||||||
wmake $makeOption solid
|
wmake $makeOption solid
|
||||||
wmake $makeOption thermophysicalFunctions
|
wmake $makeOption thermophysicalFunctions
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmake $makeOption incompressible
|
wmake $makeOption incompressible
|
||||||
wmake $makeOption interfaceProperties
|
wmake $makeOption interfaceProperties
|
||||||
wmake $makeOption twoPhaseInterfaceProperties
|
wmake $makeOption twoPhaseInterfaceProperties
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmakeLnInclude ../incompressible/LES
|
wmakeLnInclude ../incompressible/LES
|
||||||
|
|
||||||
wmake $makeOption LESfilters
|
wmake $makeOption LESfilters
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmake $makeOption turbulenceModel
|
wmake $makeOption turbulenceModel
|
||||||
wmake $makeOption RAS
|
wmake $makeOption RAS
|
||||||
wmake $makeOption LES
|
wmake $makeOption LES
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
makeOption=libso
|
|
||||||
[ $# -ge 1 ] && makeOption=$1
|
|
||||||
|
|
||||||
wmake $makeOption turbulenceModel
|
wmake $makeOption turbulenceModel
|
||||||
wmake $makeOption RAS
|
wmake $makeOption RAS
|
||||||
wmake $makeOption LES
|
wmake $makeOption LES
|
||||||
|
|||||||
Reference in New Issue
Block a user