Browse Source

PGI compiler does not like -march=native

tags/v0.3.7
Martin Kroeker GitHub 6 years ago
parent
commit
7684c4f8f8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Makefile.system

+ 2
- 1
Makefile.system View File

@@ -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)


Loading…
Cancel
Save