STYLE: set makeOption before 'set -x' (cleaner output) in Allwmake

This commit is contained in:
Mark Olesen
2011-01-27 16:22:32 +01:00
parent f0f5ba7c72
commit dd57f3c4b4
18 changed files with 19 additions and 55 deletions

View File

@ -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"

View 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 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

View 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 wmake $makeOption
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View 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 scotchDecomp wmake $makeOption scotchDecomp
wmake $makeOption ptscotchDecomp wmake $makeOption ptscotchDecomp
wmake $makeOption metisDecomp wmake $makeOption metisDecomp

View 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 MGridGenGamgAgglomeration wmake $makeOption MGridGenGamgAgglomeration
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View 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

View 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 potential wmake $makeOption potential
wmake $makeOption molecularMeasurements wmake $makeOption molecularMeasurements
wmake $makeOption molecule wmake $makeOption molecule

View 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 autoMesh wmake $makeOption autoMesh
wmake $makeOption blockMesh wmake $makeOption blockMesh

View 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
decompose/Allwmake $* decompose/Allwmake $*
reconstruct/Allwmake $* reconstruct/Allwmake $*
wmake $makeOption distributed wmake $makeOption distributed

View File

@ -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`

View File

@ -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

View 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

View 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 field wmake $makeOption field
wmake $makeOption forces wmake $makeOption forces
wmake $makeOption IO wmake $makeOption IO

View 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 specie wmake $makeOption specie
wmake $makeOption solid wmake $makeOption solid
wmake $makeOption thermophysicalFunctions wmake $makeOption thermophysicalFunctions

View 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 incompressible wmake $makeOption incompressible
wmake $makeOption interfaceProperties wmake $makeOption interfaceProperties
wmake $makeOption twoPhaseInterfaceProperties wmake $makeOption twoPhaseInterfaceProperties

View 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
wmakeLnInclude ../incompressible/LES wmakeLnInclude ../incompressible/LES
wmake $makeOption LESfilters wmake $makeOption LESfilters

View 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 turbulenceModel wmake $makeOption turbulenceModel
wmake $makeOption RAS wmake $makeOption RAS
wmake $makeOption LES wmake $makeOption LES

View 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 turbulenceModel wmake $makeOption turbulenceModel
wmake $makeOption RAS wmake $makeOption RAS
wmake $makeOption LES wmake $makeOption LES