1 diff -Naur tbb-2019_U8_ref/python/setup.py tbb-2019_U8_new/python/setup.py
2 --- tbb-2019_U8_ref/python/setup.py 2019-06-06 12:29:15.000000000 +0200
3 +++ tbb-2019_U8_new/python/setup.py 2021-12-10 15:25:52.144064203 +0100
5 os.environ['DISTUTILS_USE_SDK'] = '1' # Enable environment settings in distutils
6 os.environ['MSSdk'] = '1'
7 print("Using compiler settings from environment")
8 - tbb_flag = ['/Qtbb'] if use_compiler_tbb else []
9 + tbb_flag = ['/Qtbb'] if use_compiler_tbb else ['-D_DEBUG']
10 tbb_flag += ['/EHsc'] # for Python 2
11 - compile_flags = ['/Qstd=c++11'] if intel_compiler else []
12 + compile_flags = ['/Qstd=c++11'] if intel_compiler else ['-D_DEBUG']
14 tbb_flag = ['-tbb'] if use_compiler_tbb else []
15 compile_flags = ['-std=c++11', '-Wno-unused-variable']