Skip to content

Commit

Permalink
PGI compiler does not like -march=native
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg committed Jun 20, 2019
1 parent 280552b commit 7684c4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.system
Expand Up @@ -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)
Expand Down

0 comments on commit 7684c4f

Please sign in to comment.