Skip to content

Commit 452741b

Browse files
authored
Merge pull request #4435 from imciner2/im/sapphire
Fix Clang sapphire rapids march flag
2 parents 13c764e + 8f4e325 commit 452741b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile.x86_64

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,11 @@ ifeq ($(C_COMPILER), GCC)
130130
endif
131131
endif
132132
else ifeq ($(C_COMPILER), CLANG)
133-
# cooperlake support was added in clang 12
133+
# sapphire rapids support was added in clang 12
134134
ifeq ($(CLANGVERSIONGTEQ12), 1)
135-
CCOMMON_OPT += -march=cooperlake
135+
CCOMMON_OPT += -march=sapphirerapids
136136
ifneq ($(F_COMPILER), NAG)
137-
FCOMMON_OPT += -march=cooperlake
137+
FCOMMON_OPT += -march=sapphirerapids
138138
endif
139139
else # not supported in clang, fallback to avx512
140140
CCOMMON_OPT += -march=skylake-avx512

0 commit comments

Comments
 (0)