Skip to content

Commit d78fbe4

Browse files
authored
Assume no underline suffixes on symbols when compiling with ifx on Windows
1 parent 30188a5 commit d78fbe4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/system.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,9 @@ endif ()
672672
if (${CMAKE_C_COMPILER} STREQUAL "LSB" OR ${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
673673
set(LAPACK_CFLAGS "${LAPACK_CFLAGS} -DLAPACK_COMPLEX_STRUCTURE")
674674
endif ()
675+
if (${CMAKE_C_COMPILER_ID} MATCHES "IntelLLVM" AND ${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
676+
set(LAPACK_CFLAGS "${LAPACK_CFLAGS} -DNOCHANGE")
677+
endif ()
675678

676679
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
677680
if ("${F_COMPILER}" STREQUAL "FLANG")

0 commit comments

Comments
 (0)