update mkl download link

This commit is contained in:
Dun Liang 2021-01-29 16:07:32 +08:00
parent d33d76c791
commit f5812a4166
2 changed files with 4 additions and 2 deletions

View File

@ -8,7 +8,7 @@
# This file is subject to the terms and conditions defined in
# file 'LICENSE.txt', which is part of this source code package.
# ***************************************************************
__version__ = '1.2.2.21'
__version__ = '1.2.2.22'
from . import lock
with lock.lock_scope():
ori_int = int

View File

@ -18,7 +18,9 @@ def search_file(dirs, name):
LOG.f(f"file {name} not found in {dirs}")
def install_mkl(root_folder):
url = "https://github.com/intel/mkl-dnn/releases/download/v1.0.2/mkldnn_lnx_1.0.2_cpu_gomp.tgz"
# origin url is
# url = "https://github.com/intel/mkl-dnn/releases/download/v1.0.2/mkldnn_lnx_1.0.2_cpu_gomp.tgz"
url = "https://cloud.tsinghua.edu.cn/f/da02bf62b55b4aa3b8ee/?dl=1"
filename = "mkldnn_lnx_1.0.2_cpu_gomp.tgz"
fullname = os.path.join(root_folder, filename)
dirname = os.path.join(root_folder, filename.replace(".tgz",""))