Skip to content
Permalink
Browse files

PGI compiler does not like -march=native

  • Loading branch information...
martin-frbg committed Jun 20, 2019
1 parent 280552b commit 7684c4f8f8f979ec4d8a563e9b9cb442d9b04a80
Showing with 2 additions and 1 deletion.
  1. +2 −1 Makefile.system
@@ -144,9 +144,10 @@ endif

# On x86_64 build getarch with march=native. This is required to detect AVX512 support in getarch.
ifeq ($(ARCH), x86_64)
ifneq ($(C_COMPILER), PGI)
GETARCH_FLAGS += -march=native
endif

endif

ifdef INTERFACE64
ifneq ($(INTERFACE64), 0)

0 comments on commit 7684c4f

Please sign in to comment.
You can’t perform that action at this time.