This commit is contained in:
edoapra 2025-10-21 21:56:19 -07:00
parent 8fc92375df
commit 9d29c9aaa2
No known key found for this signature in database
GPG key ID: 33F48038CA2EB0AD

View file

@ -352,7 +352,13 @@ if [[ "$?" != "0" ]]; then
cat $(find . -name *log)
exit 1
fi
make V=0 -j3 scalapack/fast
GOTFREEBSD=$(uname -o 2>&1|awk ' /FreeBSD/ {print "1";exit}')
MYMAKE=make
if [[ "${GOTFREEBSD}" == 1 ]]; then
MAKEJ="MAKE_NB_JOBS=1"
MYMAKE=gmake
fi
$MYMAKE V=0 -j3 scalapack/fast
if [[ "$?" != "0" ]]; then
echo " "
echo "compilation failed"