From 7a83dcf09e0225a892730a02961029c7b3e3e2e8 Mon Sep 17 00:00:00 2001 From: Dun Liang Date: Mon, 3 Apr 2023 07:56:44 +0800 Subject: [PATCH] fix windows mkl bug --- python/jittor/__init__.py | 2 +- python/jittor/compile_extern.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/jittor/__init__.py b/python/jittor/__init__.py index 2ddac6dd..fb1a125c 100644 --- a/python/jittor/__init__.py +++ b/python/jittor/__init__.py @@ -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 diff --git a/python/jittor/compile_extern.py b/python/jittor/compile_extern.py index 00163ba0..95beb175 100644 --- a/python/jittor/compile_extern.py +++ b/python/jittor/compile_extern.py @@ -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: