Merge pull request #3486 from martin-frbg/nvhpc

Update -tp option for recent nvfortran on x86_64
This commit is contained in:
Martin Kroeker 2021-12-18 23:09:30 +01:00 committed by GitHub
commit 9c8d1e013f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1122,8 +1122,12 @@ FCOMMON_OPT += -i8
endif endif
endif endif
ifeq ($(ARCH), x86_64) ifeq ($(ARCH), x86_64)
ifneq ($(NEWPGI2),1)
FCOMMON_OPT += -tp p7-64 FCOMMON_OPT += -tp p7-64
else else
FCOMMON_OPT += -tp px
endif
else
ifeq ($(ARCH), power) ifeq ($(ARCH), power)
ifeq ($(CORE), POWER6) ifeq ($(CORE), POWER6)
$(warning NVIDIA HPC compilers do not support POWER6.) $(warning NVIDIA HPC compilers do not support POWER6.)