root: add conflict with intel-oneapi-tbb (#22850)

As originally noted, ROOT 6.22 does not work with intel's
TBB >= 2021.1. So we need to also conflict with the newer
package (intel-oneapi-tbb)
This commit is contained in:
Dr. Christian Tacke 2021-04-08 10:38:46 +02:00 committed by GitHub
parent 43bdbc8234
commit 7e17fb1ae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,6 +251,8 @@ class Root(CMakePackage):
# See: https://github.com/root-project/root/issues/6933
conflicts('^intel-tbb@2021.1:', when='@:6.22',
msg='Please use an older intel-tbb version')
conflicts('^intel-oneapi-tbb@2021.1:', when='@:6.22',
msg='Please use an older intel-tbb/intel-oneapi-tbb version')
# depends_on('intel-tbb@:2021.0', when='@:6.22 ^intel-tbb')
depends_on('unuran', when='+unuran')
depends_on('vc', when='+vc')