summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-05-07 09:40:03 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-05-07 09:40:03 +0000
commit9b4f82d69277f134d4770b420e42d394b73d7d61 (patch)
treeb68b4b58f33f2d2e14599fe59368dd27ddbfb660 /lib
parentee983c64cf6f5f4e269a17bf0e756eccf657812f (diff)
Added option '-N11' to F90FLAGS for absoft compiler.
This should fix a problem Hisaaki ran into when compiling ADM. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2794 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rw-r--r--lib/make/known-architectures/darwin40
1 files changed, 20 insertions, 20 deletions
diff --git a/lib/make/known-architectures/darwin b/lib/make/known-architectures/darwin
index ec4a23d2..3978afc9 100644
--- a/lib/make/known-architectures/darwin
+++ b/lib/make/known-architectures/darwin
@@ -6,10 +6,10 @@
# @desc
# Known architecture stuff for MacOS X (Darwin)
# @enddesc
-# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/darwin,v 1.3 2002-04-18 23:10:15 tradke Exp $
+# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/darwin,v 1.4 2002-05-07 09:40:03 tradke Exp $
# @@*/
-if test "$CCTK_CONFIG_STAGE" = "preferred-compilers" ; then
+if test "$CCTK_CONFIG_STAGE" = 'preferred-compilers' ; then
:
@@ -22,7 +22,7 @@ else
# Determine which Fortran 90 compiler is in use
MAC_F90_COMP=none
- if test -n "$F90" && test "$F90" != "none" ; then
+ if test -n "$F90" && test "$F90" != 'none' ; then
MAC_F90_COMP=absoft
elif test -n "$F77" ; then
if test "`$F77 -? 2>&1 | grep -i absoft`" ; then
@@ -39,37 +39,38 @@ else
#Set the appropriate flags
case "$MAC_F90_COMP" in
absoft)
- : ${LIBS="f90math fio f77math m"}
- : ${F90_OPTIMISE_FLAGS="-s -O"}
- : ${F77_OPTIMISE_FLAGS="-s -O"}
+ : ${F90FLAGS='-N11'}
+ : ${LIBS='f90math fio f77math m'}
+ : ${F90_OPTIMISE_FLAGS='-s -O'}
+ : ${F77_OPTIMISE_FLAGS='-s -O'}
# Test if it is a version of the absoft compiler which has the library in a custom place.
if test -n "$ABSOFT" ; then
: ${LIBDIRS='$(ABSOFT)/lib'}
fi
- : ${F77_DEBUG_FLAGS="-g"}
- : ${F90_DEBUG_FLAGS="-g"}
- : ${F77_WARN_FLAGS="-m0"}
- : ${F90_WARN_FLAGS="-m0"}
+ : ${F77_DEBUG_FLAGS='-g'}
+ : ${F90_DEBUG_FLAGS='-g'}
+ : ${F77_WARN_FLAGS='-m0'}
+ : ${F90_WARN_FLAGS='-m0'}
;;
absoft77)
- : ${LIBS="fio f77math m"}
- F90FLAGS="-f"
+ : ${LIBS='fio f77math m'}
+ F90FLAGS='-f'
# Test if it is a version of the absoft compiler which has the library in a custom place.
if test -n "$ABSOFT" ; then
: ${LIBDIRS='$(ABSOFT)/lib'}
fi
- : ${F77_DEBUG_FLAGS="-g"}
- : ${F90_DEBUG_FLAGS="-g"}
- : ${F77_WARN_FLAGS="-m0"}
- : ${F90_WARN_FLAGS="-m0"}
+ : ${F77_DEBUG_FLAGS='-g'}
+ : ${F90_DEBUG_FLAGS='-g'}
+ : ${F77_WARN_FLAGS='-m0'}
+ : ${F90_WARN_FLAGS='-m0'}
;;
none)
- : ${LIBS="m"}
+ : ${LIBS='m'}
;;
*)
- echo Unknown Linux f90 compiler.
+ echo Unknown Darwin f90 compiler.
echo Please add appropriate information to
- echo $srcdir/known-architectures/linux-gnu
+ echo $srcdir/known-architectures/darwin
echo and send the updated file to CactusMaint
echo We will try anyway ...
;;
@@ -86,4 +87,3 @@ else
# This is caught later on by lib/make/extras/MPI/NATIVE.
fi
-