Skip to content

Commit 7684c4f

Browse files
authored
PGI compiler does not like -march=native
1 parent 280552b commit 7684c4f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.system

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,10 @@ endif
144144

145145
# On x86_64 build getarch with march=native. This is required to detect AVX512 support in getarch.
146146
ifeq ($(ARCH), x86_64)
147+
ifneq ($(C_COMPILER), PGI)
147148
GETARCH_FLAGS += -march=native
148149
endif
149-
150+
endif
150151

151152
ifdef INTERFACE64
152153
ifneq ($(INTERFACE64), 0)

0 commit comments

Comments
 (0)