Skip to content

Commit

Permalink
mkl link
Browse files Browse the repository at this point in the history
  • Loading branch information
teseoch committed Jul 3, 2024
1 parent deb95e4 commit aec9753
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/recipes/mkl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,16 @@ endif()
# while `mkl` contains the .dll files (needed at run time). On macOS/Linux,
# `mkl-devel` is empty, and only `mkl` is needed for the .so/.dylib
if(MKL_LINKING STREQUAL static)
set(MKL_REMOTES mkl-include mkl-static)
set(MKL_REMOTES mkl mkl-static)
else()
set(MKL_REMOTES mkl-include mkl mkl-devel)
set(MKL_REMOTES mkl mkl mkl-devel)
endif()

include(CPM)
foreach(name IN ITEMS ${MKL_REMOTES})
CPMAddPackage(
NAME ${name}
URL https://anaconda.org/intel/${name}/${MKL_VERSION}/download/${MKL_PLATFORM}/${${name}-${MKL_PLATFORM}-file}
URL https://anaconda.org/anaconda/${name}/${MKL_VERSION}/download/${MKL_PLATFORM}/${${name}-${MKL_PLATFORM}-file}
URL_MD5 ${${name}-${MKL_PLATFORM}-md5}
)
endforeach()
Expand Down

0 comments on commit aec9753

Please sign in to comment.