Workaround for MKL threading bug on macOS.

这个提交包含在:
Craig Warren
2019-07-05 11:44:25 +01:00
父节点 6602a7bc81
当前提交 153b0dd532
共有 3 个文件被更改,包括 7 次插入23 次删除

查看文件

@@ -112,7 +112,7 @@ if sys.platform == 'win32':
compile_args = ['/O2', '/openmp', '/w'] # No static linking as no static version of OpenMP library; /w disables warnings
linker_args = []
extra_objects = []
# Mac OS X - needs gcc (usually via HomeBrew) because the default compiler LLVM (clang) does not support OpenMP
# macOS - needs gcc (usually via HomeBrew) because the default compiler LLVM (clang) does not support OpenMP
# - with gcc -fopenmp option implies -pthread
elif sys.platform == 'darwin':
gccpath = glob.glob('/usr/local/bin/gcc-[4-9]*')