Add support for Cray Fortran compiler

This commit is contained in:
Martin Kroeker 2022-08-03 19:10:20 +02:00 committed by GitHub
parent bc3b286b05
commit 43924da28b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -1191,6 +1191,19 @@ endif
endif endif
endif endif
ifeq ($(F_COMPILER), CRAY)
CCOMMON_OPT += -DF_INTERFACE_INTEL
FCOMMON_OPT += -hnopattern
ifdef INTERFACE64
ifneq ($(INTERFACE64), 0)
FCOMMON_OPT += -s integer64
endif
endif
ifneq ($(USE_OPENMP), 1)
FCOMMON_OPT += -O noomp
endif
endif
ifeq ($(ARCH), $(filter $(ARCH),mips64 mips)) ifeq ($(ARCH), $(filter $(ARCH),mips64 mips))
ifndef BINARY64 ifndef BINARY64
FCOMMON_OPT += -n32 FCOMMON_OPT += -n32