tbb/disable-irml.patch
2017-12-21 12:21:29 +00:00

14 lines
872 B
Diff

Index: tbb-2018_U2/python/setup.py
===================================================================
--- tbb-2018_U2.orig/python/setup.py
+++ tbb-2018_U2/python/setup.py
@@ -71,7 +71,7 @@ _tbb = Extension("tbb._api", ["tbb/api.i
extra_compile_args=compile_flags + tbb_flag,
extra_link_args=tbb_flag,
libraries =(['tbb'] if not use_compiler_tbb else []) +
- (['irml'] if platform.system() == "Linux" else []), # TODO: why do we need this?
+ (['irml'] if platform.system() == "xLinux" else []), # TODO: why do we need this?
library_dirs=[ rundir, # for custom-builds
os.path.join(tbb_root, 'lib', 'intel64', 'gcc4.4'), # for Linux
os.path.join(tbb_root, 'lib'), # for MacOS