'set -x' should be used for debugging. Added command printing into wmake and Allwmake as a replacement for 'set -x' to log current target.
27 lines
428 B
Bash
Executable File
27 lines
428 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Define how an mpi-versioned library is created
|
|
# clean the qualified directory
|
|
wcleanMpiLib()
|
|
{
|
|
for libName
|
|
do
|
|
(
|
|
WM_OPTIONS="$WM_OPTIONS$WM_MPLIB"
|
|
wclean $libName
|
|
)
|
|
done
|
|
}
|
|
|
|
wclean dummy
|
|
|
|
case "$WM_MPLIB" in
|
|
*MPI*)
|
|
wcleanMpiLib mpi
|
|
;;
|
|
esac
|
|
|
|
|
|
#------------------------------------------------------------------------------
|