mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: Allwmake : allow build-type argument to pass through into wmake
This commit is contained in:
@ -2,7 +2,10 @@
|
|||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
wmake libso dummy
|
makeOption=libso
|
||||||
|
[ $# -ge 1 ] && makeOption=$1
|
||||||
|
|
||||||
|
wmake $makeOption dummy
|
||||||
|
|
||||||
case "$WM_MPLIB" in
|
case "$WM_MPLIB" in
|
||||||
*MPI*)
|
*MPI*)
|
||||||
@ -11,7 +14,7 @@ case "$WM_MPLIB" in
|
|||||||
echo "Note: ignore spurious warnings about missing mpicxx.h headers"
|
echo "Note: ignore spurious warnings about missing mpicxx.h headers"
|
||||||
set -x
|
set -x
|
||||||
# force compilation into qualified directory
|
# force compilation into qualified directory
|
||||||
WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB wmake libso mpi
|
WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB wmake $makeOption mpi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
#GAMMA)
|
#GAMMA)
|
||||||
|
|||||||
Reference in New Issue
Block a user