Commit cf271eb 1 parent d5ae75e commit cf271eb Copy full SHA for cf271eb
File tree 1 file changed +9
-7
lines changed
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
-
3
2
set -ex
4
3
5
4
# MKL
6
5
MKL_VERSION=2022.2.1
7
- MKL_BUILD=16993
8
- mkdir -p /opt/intel/lib
6
+
7
+ mkdir -p /opt/intel/
9
8
pushd /tmp
10
- curl -fsSL https://anaconda.org/intel/mkl-static/${MKL_VERSION} /download/linux-64/mkl-static-${MKL_VERSION} -intel_${MKL_BUILD} .tar.bz2 | tar xjv
11
- mv lib/* /opt/intel/lib/
12
- curl -fsSL https://anaconda.org/intel/mkl-include/${MKL_VERSION} /download/linux-64/mkl-include-${MKL_VERSION} -intel_${MKL_BUILD} .tar.bz2 | tar xjv
13
- mv include /opt/intel/
9
+
10
+ python3 -mpip install wheel
11
+ python3 -mpip download -d . mkl-static==${MKL_VERSION}
12
+ python3 -m wheel unpack mkl_static-${MKL_VERSION} -py2.py3-none-manylinux1_x86_64.whl
13
+ python3 -m wheel unpack mkl_include-${MKL_VERSION} -py2.py3-none-manylinux1_x86_64.whl
14
+ mv mkl_static-${MKL_VERSION} /mkl_static-${MKL_VERSION} .data/data/lib /opt/intel/
15
+ mv mkl_include-${MKL_VERSION} /mkl_include-${MKL_VERSION} .data/data/include /opt/intel/
You can’t perform that action at this time.
0 commit comments