From 990e77c55fdb692687e1ab7440bf504948530cae Mon Sep 17 00:00:00 2001 From: Elliott Slaughter Date: Tue, 11 Jun 2024 14:10:04 -0700 Subject: legion: Requires C++17 minimum after 24.03.0. (#44596) --- var/spack/repos/builtin/packages/legion/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/legion/package.py b/var/spack/repos/builtin/packages/legion/package.py index cb1f88be93..f8d56c7384 100644 --- a/var/spack/repos/builtin/packages/legion/package.py +++ b/var/spack/repos/builtin/packages/legion/package.py @@ -129,8 +129,8 @@ class Legion(CMakePackage, ROCmPackage): # 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 -- cgit v1.2.3-70-g09d2