Skip to content

Commit 21c0f76

Browse files
authored
ensure that cpu-specific -march options are always applied to icx
1 parent fdb88e0 commit 21c0f76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/cc.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ include(CheckCCompilerFlag)
66

77
if (${CMAKE_C_COMPILER_ID} MATCHES "IntelLLVM")
88
set(CCOMMON_OPT "${CCOMMON_OPT} -fp-model=consistent")
9+
set(GCC_VERSION 100)
910
endif ()
1011

1112
if (${CMAKE_C_COMPILER_ID} STREQUAL "GNU" OR ${CMAKE_C_COMPILER_ID} STREQUAL "LSB" OR ${CMAKE_C_COMPILER_ID} MATCHES "Clang")

0 commit comments

Comments
 (0)