legion: Requires C++17 minimum after 24.03.0. (#44596)

This commit is contained in:
Elliott Slaughter 2024-06-11 14:10:04 -07:00 committed by GitHub
parent c2fb529819
commit 990e77c55f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,8 +129,8 @@ def patch(self):
# but this might be helpful for other use cases down the road. Legion's
# current development policy is C++11 or greater so we capture that aspect
# here.
cpp_stds = ["11", "14", "17", "20"]
variant("cxxstd", default="11", description="C++ standard", values=cpp_stds, multi=False)
cpp_stds = (conditional("11", "14", when="@:24.03.0"), "17", "20")
variant("cxxstd", default="17", description="C++ standard", values=cpp_stds, multi=False)
# Network transport layer: the underlying data transport API should be used for
# distributed data movement. For Legion, gasnet is the currently the most