Browse Source

ensure that cpu-specific -march options are always applied to icx

tags/v0.3.28^2
Martin Kroeker GitHub 1 year ago
parent
commit
21c0f769ef
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      cmake/cc.cmake

+ 1
- 0
cmake/cc.cmake View File

@@ -6,6 +6,7 @@ include(CheckCCompilerFlag)

if (${CMAKE_C_COMPILER_ID} MATCHES "IntelLLVM")
set(CCOMMON_OPT "${CCOMMON_OPT} -fp-model=consistent")
set(GCC_VERSION 100)
endif ()

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


Loading…
Cancel
Save