acts: conflict ~svg ~json when +traccc (#48534)

This commit is contained in:
Wouter Deconinck 2025-01-13 04:51:05 -06:00 committed by GitHub
parent 29c1152484
commit af9fd82476
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -424,6 +424,10 @@ class Acts(CMakePackage, CudaPackage):
for _scalar in _scalar_values:
depends_on(f"detray scalar={_scalar}", when=f"scalar={_scalar}")
# ACTS enables certain options anyway based on other options
conflicts("~svg", when="+traccc")
conflicts("~json", when="+traccc")
# ACTS has been using C++17 for a while, which precludes use of old GCC
conflicts("%gcc@:7", when="@0.23:")
# When using C++20, disable gcc 9 and lower.