You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CMake] Replace logic that checks removed tbb build option
A long time ago, ROOT had a `tbb` build option, but it was removed in
the ROOT 6.08 development cycle in dd899a5 from 2015, by @peremato.
However, some build configurations still use it, like CMSSW and Conda:
* https://github.com/cms-sw/cmsdist/blob/IB/CMSSW_15_1_X/master/root.spec#L78
* https://github.com/conda-forge/root-feedstock/blob/main/recipe/build_root.sh#L342
That would not be a problem per se, but then, in 2021, @bendavid
introduced a new optimization that is enabled only with the long-time
removed `tbb` flag (or `builtin_tbb`), in 6c8b77d:
* #7260
So we ended up with a secret `tbb=ON` configuration that our CI doesn't
test, and a CMake configuration option that has a pretty fundamental
effect but is not documented.
In the discussions in #19798 with @bendavid, we concluded that it would
not be a problem to enable the optimized locks with TBB always when TBB
is available during the ROOT build. See:
#19798 (comment)Closes#19798.
0 commit comments