Skip to content

Commit d5ae75e

Browse files
authored
Revert "Switch mkl-static and mkl-include install to pip (#1896)" (#1898)
This reverts commit 1588dcb.
1 parent 1588dcb commit d5ae75e

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

common/install_mkl.sh

+6-8
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ set -ex
44

55
# MKL
66
MKL_VERSION=2022.2.1
7-
8-
mkdir -p /opt/intel/
7+
MKL_BUILD=16993
8+
mkdir -p /opt/intel/lib
99
pushd /tmp
10-
11-
pip download -d . mkl-static==${MKL_VERSION}
12-
unzip mkl_static-${MKL_VERSION}-py2.py3-none-manylinux1_x86_64.whl
13-
unzip mkl_include-${MKL_VERSION}-py2.py3-none-manylinux1_x86_64.whl
14-
mv mkl_static-${MKL_VERSION}.data/data/lib /opt/intel/
15-
mv mkl_include-${MKL_VERSION}.data/data/include/ /opt/intel/
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/

0 commit comments

Comments
 (0)