root: determine_variants cxxstd=20 support (#32673)

This is somewhat ahead of reality, but once/when external ROOT installs with cxxstd=20 are common, we will need this to pick up the correct variant.
This commit is contained in:
Wouter Deconinck 2022-09-19 13:32:47 -05:00 committed by GitHub
parent edee67d96f
commit 7d250c4bea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -334,6 +334,8 @@ def determine_variants(cls, exes, version_str):
v.append("cxxstd=14")
elif "cxx17" in f:
v.append("cxxstd=17")
elif "cxx20" in f:
v.append("cxxstd=20")
# helper function: check if featurename is in features, and if it is,
# append variantname to variants. featurename may be a list/tuple, in