Skip to content

Commit

Permalink
using conda forge
Browse files Browse the repository at this point in the history
  • Loading branch information
teseoch committed Jul 3, 2024
1 parent eaf8711 commit 9f8fee7
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions cmake/recipes/mkl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -126,18 +126,21 @@ elseif(MKL_VERSION VERSION_EQUAL 2021.3.0)

# To compute file names, we use the following bash script:
# for f in mkl mkl-include mkl-static mkl-devel; do for os in linux osx win; do cat <(printf "$f-$os-64-file") <(conda search --override-channel --channel intel $f=2021.3.0 --platform $os-64 -i | grep file | cut -d : -f 2); done; done
set(mkl-linux-64-file mkl-2021.3.0-intel_520.tar.bz2)
set(mkl-osx-64-file mkl-2021.3.0-intel_517.tar.bz2)
set(mkl-win-64-file mkl-2021.3.0-intel_524.tar.bz2)
set(mkl-include-linux-64-file mkl-include-2021.3.0-intel_520.tar.bz2)
set(mkl-include-osx-64-file mkl-include-2021.3.0-intel_517.tar.bz2)
set(mkl-include-win-64-file mkl-include-2021.3.0-intel_524.tar.bz2)
set(mkl-static-linux-64-file mkl-static-2021.3.0-intel_520.tar.bz2)
set(mkl-static-osx-64-file mkl-static-2021.3.0-intel_517.tar.bz2)
set(mkl-static-win-64-file mkl-static-2021.3.0-intel_524.tar.bz2)
set(mkl-devel-linux-64-file mkl-devel-2021.3.0-intel_520.tar.bz2)
set(mkl-devel-osx-64-file mkl-devel-2021.3.0-intel_517.tar.bz2)
set(mkl-devel-win-64-file mkl-devel-2021.3.0-intel_524.tar.bz2)
set(mkl-linux-64-file mkl-2021.3.0-h08c4f10_555.tar.bz2)
set(mkl-osx-64-file mkl-2021.3.0-hecd8cb5_517.tar.bz2)
set(mkl-win-64-file mkl-2021.3.0-haa95532_524.tar.bz2)

set(mkl-include-linux-64-file mkl-include-2021.3.0-h08c4f10_555.tar.bz2)
set(mkl-include-osx-64-file mkl-include-2021.3.0-hecd8cb5_517.tar.bz2)
set(mkl-include-win-64-file mkl-include-2021.3.0-haa95532_524.tar.bz2)

set(mkl-static-linux-64-file mkl-static-2021.3.0-h08c4f10_555.tar.bz2)
set(mkl-static-osx-64-file mkl-static-2021.3.0-hecd8cb5_517.tar.bz2)
set(mkl-static-win-64-file mkl-static-2021.3.0-haa95532_524.tar.bz2)

set(mkl-devel-linux-64-file mkl-devel-2021.3.0-h08c4f10_555.tar.bz2)
set(mkl-devel-osx-64-file mkl-devel-2021.3.0-hecd8cb5_517.tar.bz2)
set(mkl-devel-win-64-file mkl-devel-2021.3.0-haa95532_524.tar.bz2)
endif()

# On Windows, `mkl-devel` contains the .lib files (needed at link time),
Expand Down

0 comments on commit 9f8fee7

Please sign in to comment.