PGI compiler does not like -march=native
This commit is contained in:
parent
280552b988
commit
7684c4f8f8
|
@ -144,9 +144,10 @@ endif
|
||||||
|
|
||||||
# On x86_64 build getarch with march=native. This is required to detect AVX512 support in getarch.
|
# On x86_64 build getarch with march=native. This is required to detect AVX512 support in getarch.
|
||||||
ifeq ($(ARCH), x86_64)
|
ifeq ($(ARCH), x86_64)
|
||||||
|
ifneq ($(C_COMPILER), PGI)
|
||||||
GETARCH_FLAGS += -march=native
|
GETARCH_FLAGS += -march=native
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef INTERFACE64
|
ifdef INTERFACE64
|
||||||
ifneq ($(INTERFACE64), 0)
|
ifneq ($(INTERFACE64), 0)
|
||||||
|
|
Loading…
Reference in New Issue