Skip to content

Commit

Permalink
Merge pull request #6667 from cms-sw/tbb-preview-features
Browse files Browse the repository at this point in the history
[TBB] enable preview feature
  • Loading branch information
smuzaffar committed Feb 23, 2021
2 parents a1e8bb5 + bcb004a commit d1fadf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tbb.spec
Expand Up @@ -11,7 +11,7 @@ BuildRequires: cmake

%build

make %{makeprocesses} stdver=c++17
make %{makeprocesses} stdver=c++17 tbb_cpf=1

%install
install -d %i/lib
Expand All @@ -21,4 +21,5 @@ case %cmsplatf in
*) SONAME=so ;;
esac
find build -name "*.$SONAME*" -exec cp {} %i/lib \;
ln -s libtbb_preview.${SONAME} %{i}/lib/libtbb.${SONAME}
cmake -DINSTALL_DIR=%{i}/cmake/TBB -DSYSTEM_NAME=Linux -DINC_PATH=%{i}/include -DLIB_PATH=%{i}/lib -P cmake/tbb_config_installer.cmake

0 comments on commit d1fadf3

Please sign in to comment.