aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@53307013-940b-43fa-b11d-2c2b05dfe90d>2010-06-30 22:28:38 +0000
committereschnett <eschnett@53307013-940b-43fa-b11d-2c2b05dfe90d>2010-06-30 22:28:38 +0000
commit69aade49819bfe5029c90d93dc046233f758d017 (patch)
treeb05d862f5ea82470df6a7ed814afb616c73dc96d
parent415190a6e2b4f22c6b33f8116f1c58cfd057053a (diff)
Update detection of IBM XL compilers
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/BLAS/trunk@8 53307013-940b-43fa-b11d-2c2b05dfe90d
-rw-r--r--BLAS.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/BLAS.sh b/BLAS.sh
index b3fb626..5ac46ea 100644
--- a/BLAS.sh
+++ b/BLAS.sh
@@ -89,7 +89,7 @@ if [ -z "${BLAS_DIR}" ]; then
pushd build-${NAME}/${TARNAME}/BLAS/SRC
echo "BLAS: Building..."
- if [ $(basename "$F77") = 'xlf90_r' -o $(basename "$F77") = 'xlf90' ]; then
+ if echo ${F77} | grep -i xlf > /dev/null 2>&1; then
FIXEDF77FLAGS=-qfixed
fi
${F77} ${F77FLAGS} ${FIXEDF77FLAGS} -c *.f