summaryrefslogtreecommitdiff
path: root/lib/make/known-architectures/aix
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-06-03 10:07:44 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-06-03 10:07:44 +0000
commit875beb78ee16ab0c212ebd43b343162364d905b6 (patch)
treed06bb62604dae6e6360be4ed25bab6ac77600aba /lib/make/known-architectures/aix
parentf30e7291c871e76878a5b977cf2a0510a85e31f9 (diff)
Use xlf77/xlf90 for F77/F90 if the latter aren't set otherwise by the user.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4067 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures/aix')
-rw-r--r--lib/make/known-architectures/aix10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/make/known-architectures/aix b/lib/make/known-architectures/aix
index 5b22769e..2a0bd315 100644
--- a/lib/make/known-architectures/aix
+++ b/lib/make/known-architectures/aix
@@ -26,6 +26,16 @@ if test "$CCTK_CONFIG_STAGE" = 'preferred-compilers' ; then
CXX=xlC_r
fi
+ if test -z "$F77"; then
+ echo Setting F77 compiler to xlf77
+ F77=xlf77
+ fi
+
+ if test -z "$F90"; then
+ echo Setting F90 compiler to xlf90
+ F90=xlf90
+ fi
+
# use the Cactus preprocessor for Fortran
if test -z "$FPP"; then
FPP='$(PERL) $(CCTK_HOME)/lib/sbin/cpp.pl'