aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@53307013-940b-43fa-b11d-2c2b05dfe90d>2010-03-26 19:43:03 +0000
committerschnetter <schnetter@53307013-940b-43fa-b11d-2c2b05dfe90d>2010-03-26 19:43:03 +0000
commit1070a602e4e1e4e2ed239a8644a9fb5837ee792b (patch)
tree3a30e9985dbab8daf7f068449c650c28f5e1fed5
parent4c96fd266293c05bd7adfafdf47fa010347a68af (diff)
Use ranlib only if USE_RANLIB is set
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/BLAS/trunk@4 53307013-940b-43fa-b11d-2c2b05dfe90d
-rw-r--r--BLAS.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/BLAS.sh b/BLAS.sh
index 425c53f..40f9d02 100644
--- a/BLAS.sh
+++ b/BLAS.sh
@@ -92,7 +92,9 @@ if [ -z "${BLAS_DIR}" ]; then
echo "BLAS: Building..."
${F77} ${F77FLAGS} -c *.f
${AR} ${ARFLAGS} blas.a *.o
- ${RANLIB} ${RANLIBFLAGS} blas.a
+ if [ ${USE_RANLIB} = 'yes' ]; then
+ ${RANLIB} ${RANLIBFLAGS} blas.a
+ fi
echo "BLAS: Installing..."
cp blas.a ${BLAS_DIR}