Support compilation with NVIDIA HPC compilers (which do not take gcc-style arch options)
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Tue, 12 Jan 2021 15:34:18 +0000 (16:34 +0100)
committerGitHub <noreply@github.com>
Tue, 12 Jan 2021 15:34:18 +0000 (16:34 +0100)
Makefile.arm64

index 62a877f..c3fe583 100644 (file)
@@ -1,4 +1,4 @@
-
+ifneq ($(C_COMPILER), PGI)
 ifeq ($(CORE), ARMV8)
 CCOMMON_OPT += -march=armv8-a
 FCOMMON_OPT += -march=armv8-a
@@ -77,4 +77,4 @@ CCOMMON_OPT += -march=armv8.2-a -mtune=tsv110
 FCOMMON_OPT += -march=armv8.2-a -mtune=tsv110
 endif
 endif
-
+endif