Salome HOME
c217160a2ce4f086c648455ba4088c48ee917eb0
[tools/configuration.git] / config / patches / tbb.001_install_py_backend.patch
1 diff -Naur tbb-2019-U8_SRC_orig/build/build.py tbb-2019-U8_SRC_modif/build/build.py
2 --- tbb-2019-U8_SRC_orig/build/build.py 2019-06-06 13:29:15.000000000 +0300
3 +++ tbb-2019-U8_SRC_modif/build/build.py        2019-11-15 14:54:44.242189708 +0300
4 @@ -198,7 +198,7 @@
5      paths = [os.path.abspath(d) for d in [args.prefix, inc_dir, irml_dir, lib_dir]+release_dirs]
6      os.environ["TBBROOT"] = paths[0]
7      # all the paths must be relative to python/ directory or be absolute
8 -    assert system('python python/setup.py build -b%s build_ext -I%s -L%s install -f'% \
9 -        (paths[2], paths[1], ':'.join(paths[2:]))) == 0
10 +    assert system('python3 python/setup.py build -b%s build_ext -I%s -L%s install -f --prefix=%s'% \
11 +        (paths[2], paths[1], ':'.join(paths[2:]), args.prefix)) == 0
12  
13  print("done")