Merge pull request #220414 from drewrisinger/dr-pr-add-mkl-cmake

mkl: add CMake config files
This commit is contained in:
Benjamin Hipple 2023-03-18 14:49:03 -04:00 committed by GitHub
commit 5dd36e4211
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,6 +139,9 @@ in stdenvNoCC.mkDerivation ({
# Headers
cp -r opt/intel/oneapi/mkl/${mklVersion}/include $out/
# CMake config
cp -r opt/intel/oneapi/mkl/${mklVersion}/lib/cmake $out/lib
'' +
(if enableStatic then ''
install -Dm0644 -t $out/lib opt/intel/oneapi/mkl/${mklVersion}/lib/intel64/*.a