# all their stuff. It's not easy if you only want some of their
# stuff...
set(MKL_MANUALLY FALSE)
-if (GMX_FFT_LIBRARY STREQUAL "MKL" AND
- NOT ((CMAKE_C_COMPILER_ID MATCHES "Intel" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER "11")
- OR GMX_INTEL_LLVM))
+if (GMX_FFT_LIBRARY STREQUAL "MKL" AND NOT GMX_INTEL_LLVM)
# The user will have to provide the set of magic libraries in
# MKL_LIBRARIES (see below), which we cache (non-advanced), so that they
# don't have to keep specifying it, and can easily see that
set(FFT_LIBRARIES ${${FFTW}_LIBRARIES})
elseif(${GMX_FFT_LIBRARY} STREQUAL "MKL")
- # Intel 11 and up makes life somewhat easy if you just want to use
+ # Intel compilers make life somewhat easy if you just want to use
# all their stuff. It's not easy if you only want some of their
# stuff...
if (NOT MKL_MANUALLY)
# The next line takes care of everything for MKL
if (WIN32)
- # This works according to the Intel MKL 10.3 for Windows
- # docs, but on Jenkins Win2k8, icl tries to interpret it
- # as a file. Shrug.
set(FFT_LINKER_FLAGS "/Qmkl:sequential")
elseif(GMX_INTEL_LLVM AND GMX_INTEL_LLVM_VERSION GREATER_EQUAL 2021020)
set(FFT_LINKER_FLAGS "-qmkl=sequential")