fix windows mkl bug

This commit is contained in:
Dun Liang 2023-04-03 07:56:44 +08:00
parent 16b7966a9a
commit 7a83dcf09e
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
# file 'LICENSE.txt', which is part of this source code package.
# ***************************************************************
__version__ = '1.3.7.1'
__version__ = '1.3.7.2'
from jittor_utils import lock
with lock.lock_scope():
ori_int = int

View File

@ -89,7 +89,7 @@ def install_mkl(root_folder):
assert 0 == os.system(cmd)
assert 0 == os.system(f"{dirname}/examples/test")
if platform.system() == "Darwin":
elif platform.system() == "Darwin":
assert 0 == os.system(f"cd {dirname}/examples && "
f"{cc_path} -std=c++14 cnn_inference_f32.cpp -Ofast -lmkldnn -I ../include -L ../lib -o test && DYLD_LIBRARY_PATH=../lib/ ./test")
else: