diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-09-19 15:27:19 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-09-19 15:27:19 +0000 |
commit | 31b3bf61d3ddb551b3aa6777b7655091b86d8733 (patch) | |
tree | 6ef2be6e1bd44969994dbee714eb91abec585841 /lib/make | |
parent | 8ac637f44fa14514219181c27ccc4af366b379c8 (diff) |
Support the new Intel C++/C/Fortran compilers.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2369 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make')
-rw-r--r-- | lib/make/known-architectures/linux | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux index 0090ec1c..62f3d51e 100644 --- a/lib/make/known-architectures/linux +++ b/lib/make/known-architectures/linux @@ -172,7 +172,21 @@ else : ${LIBS="fortran ffio m"} ;; Intel) - : ${LIBS="IEPCF90 F90 C m"} + case "$host_cpu" in + i?86) + : ${F77FLAGS='-132 -w95'} + : ${F90FLAGS='-132 -w95'} + : ${F77_OPTIMISE_FLAGS='-O3'} + : ${F90_OPTIMISE_FLAGS='-O3'} + : ${LIBS="IEPCF90 F90 m"} + if test "$CC" != "icc" -a -n "$IA32ROOT" ; then + : ${LIBDIRS='$(IA32ROOT)/lib'} + fi + ;; + *) + : ${LIBS="IEPCF90 F90 C m"} + ;; + esac ;; Compaq) : ${LIBS="for m"} @@ -194,8 +208,9 @@ else # Set the appropriate dependency, warning, and debugging flags # Note that the defaults settings are for gcc/g++ and they are set by configure case "$CC" in - ecc) - : ${C_DEPEND='$(CC) -M $(CPPFLAGS)'} + [ei]cc) + : ${C_OPTIMISE_FLAGS='-O3'} + : ${C_DEPEND='$(CPP) -M $(CPPFLAGS)'} : ${C_WARN_FLAGS="-w2"} ;; pgcc) @@ -205,6 +220,13 @@ else ;; esac + case "$CXX" in + [ei]cc) + : ${CXX_OPTIMISE_FLAGS='-O3'} + : ${CXX_DEPEND='$(CPP) -M $(CPPFLAGS)'} + ;; + esac + : ${C_DEBUG_FLAGS="-g"} : ${CXX_DEBUG_FLAGS="-g"} |