diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-03-23 18:49:08 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-03-23 18:49:08 +0000 |
commit | f21bc20681c2def9734f5e96fc6513bc3e42f51d (patch) | |
tree | d4cc3dbc3876316dab9136db1761acdda75b28e9 /lib/make/known-architectures/darwin6.8 | |
parent | 4ac27e375df76d4b1814710b361c73b41145ded1 (diff) |
Tidying darwin knownarchitectures. Removing all previous versions of darwin since they were not incorporated in a single file and are of unknown status. Previous versions will be added back properly on request.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3597 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures/darwin6.8')
-rw-r--r-- | lib/make/known-architectures/darwin6.8 | 151 |
1 files changed, 0 insertions, 151 deletions
diff --git a/lib/make/known-architectures/darwin6.8 b/lib/make/known-architectures/darwin6.8 deleted file mode 100644 index c54fc6c4..00000000 --- a/lib/make/known-architectures/darwin6.8 +++ /dev/null @@ -1,151 +0,0 @@ -#! /bin/sh -# /*@@ -# @file darwin6.8 -# @date Mon 6 Oct 2003 -# @author John Shalf -# @desc -# Known architecture stuff for MacOS X (Darwin) release 6.8 -# @enddesc -# @version $Header$ -# @@*/ - -if test "$CCTK_CONFIG_STAGE" = 'preferred-compilers' ; then - - : - -elif test -n "$IBMXL" && test "$IBMXL" = 'yes' ; then - echo "Configuring environment for IBM XL compilers" - CC=xlc - CXX=xlC - F90=xlf - F90=xlf - LD=xlC - : ${ARFLAGS='-rucs'} - : ${F90FLAGS='-qspill=10000 -qmaxmem=-1 -qnullterm'} - : ${F77FLAGS='-qfixed -qmaxmem=-1 -qnullterm'} - : ${F90_OPTIMISE_FLAGS='-O5'} - : ${F77_OPTIMISE_FLAGS='-O5'} - : ${F90_DEBUG_FLAGS='-g'} - : ${F77_DEBUG_FLAGS='-g'} - : ${CFLAGS='-qspill=17000 -qmaxmem=-1'} - : ${CXXFLAGS='-qspill=10000 -qmaxmem=-1'} - : ${C_OPTIMISE_FLAGS='-O5'} - : ${CXX_OPTIMISE_FLAGS='-O5'} -# : ${F90_SUFFIX='f'} - if test -e '/usr/lib/gcc/darwin/3.3' ; then - C_DEPEND='gcc -M -no-cpp-precomp $(CPPFLAGS)' - CXX_DEPEND='g++ -E -M $(CPPFLAGS)' - F_DEPEND='$(CPP) -M $(CPPFLAGS)' - F77_DEPEND='$(CPP) -M $(CPPFLAGS)' - else - echo "Yo buddy. You need to go to the ADC website and" - echo "update to gcc 3.3 " - C_DEPEND='$(PERL) $(CCTK_HOME)/lib/sbin/cpp.pl -M $(CPPFLAGS)' - F_DEPEND='$(PERL) $(CCTK_HOME)/lib/sbin/cpp.pl -M $(CPPFLAGS)' - fi - : ${LD='xlC'} - : ${LIBS='xlf90 xlfmath m'} - : ${LIBDIRS='/opt/ibmcmp/lib'} - -else - - # this fixes some darwin-specific preprocessor bugs (?) - CFLAGS='-no-cpp-precomp' - # C_DEPEND='$(CC) -M $(CFLAGS) $(CPPFLAGS)' - if test -e '/usr/lib/gcc/darwin/3.3' ; then - C_DEPEND='gcc -M -no-cpp-precomp $(CPPFLAGS)' - CXX_DEPEND='g++ -E -M $(CPPFLAGS)' - F_DEPEND='$(CPP) -M $(CPPFLAGS)' - F77_DEPEND='$(CPP) -M $(CPPFLAGS)' - else - echo "Yo buddy. You need to go to the ADC website and" - echo "update to gcc 3.3 " - C_DEPEND='$(PERL) $(CCTK_HOME)/lib/sbin/cpp.pl -M $(CPPFLAGS)' - F_DEPEND='$(PERL) $(CCTK_HOME)/lib/sbin/cpp.pl -M $(CPPFLAGS)' - fi - # Determine which Fortran 90 compiler is in use - MAC_F90_COMP=none - - if test -n "$F90" && test "$F90" != 'none' ; then -# this should really check the path of the IBM compiler -# to make sure it is the default -# should use a regexp to match the compiler path - if test `which f90` = '/opt/ibmcmp/xlf/8.1/bin/f90' ; then - MAC_F90_COMP=ibm - F90=xlf - F77=xlf - else - MAC_F90_COMP=absoft - fi - elif test -n "$F77" ; then - if test "`$F77 -? 2>&1 | grep -i absoft`" ; then - MAC_F77_COMP=absoft77 - else - echo Unknown MacOS X f77 compiler. - echo Please add appropriate information to - echo $srcdir/known-architectures/darwin - echo ad send the updated file to CactusMaint - echo We will try anyway ... - fi - fi - - #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'} - # 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'} - ;; - absoft77) - : ${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'} - ;; - ibm) - : ${LD='xlC'} - : ${LIBS='xlf90 xlfmath m'} - : ${LIBDIRS='/opt/ibmcmp/lib'} - : ${ARFLAGS='-rucs'} - : ${F90FLAGS='-qspill=10000 -qmaxmem=-1 -qnullterm'} - : ${F77FLAGS='-qfixed -qmaxmem=-1 -qnullterm'} - : ${F90_OPTIMISE_FLAGS='-O5'} - : ${F77_OPTIMISE_FLAGS='-O5'} - ;; - none) - : ${LIBS='m'} - ;; - *) - echo Unknown Darwin f90 compiler. - echo Please add appropriate information to - echo $srcdir/known-architectures/darwin - echo and send the updated file to CactusMaint - echo We will try anyway ... - ;; - esac - - # Darwin's ar command doesn't understand the '-s' flag - # so we have to use ranlib to add a table of contents to libraries - : ${ARFLAGS='ruc'} - : ${USE_RANLIB='yes'} - - # MPI stuff - # - # Darwin has no native MPI, so we don't set any NATIVE_MPI_XXX variables. - # This is caught later on by lib/make/extras/MPI/NATIVE. - -fi |