Skip to content

Commit 742a3b2

Browse files
authored
Merge pull request #58 from prisae/patch-1
The new Intel oneAPI compilers (ifx, mpiifx) have the label IntelLLVM, which currently fails - even though they work perfectly fine. This tiny PR would fix this. Not sure if this is the best way, feel free to change it to a better way.
2 parents 44b47c3 + f3f6087 commit 742a3b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

f90/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
2929
$<$<AND:$<COMPILE_LANGUAGE:Fortran>,$<CONFIG:DEBUG>>:-fbacktrace>
3030
$<$<AND:$<COMPILE_LANGUAGE:Fortran>,$<CONFIG:DEBUG>>:-fbounds-check>
3131
)
32-
elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
32+
elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel" OR CMAKE_Fortran_COMPILER_ID STREQUAL "IntelLLVM")
3333
enable_language(C)
3434
find_library(MKL_INTEL_LP64 mkl_intel_lp64 HINTS $ENV{MKLROOT}/lib/intel64 ...)
3535
find_library(MKL_INTEL_THREAD mkl_intel_thread HINTS $ENV{MKLROOT}/lib/intel64 ...)

0 commit comments

Comments
 (0)