summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Slaughter <slaughter@cs.stanford.edu>2024-06-11 14:10:04 -0700
committerGitHub <noreply@github.com>2024-06-11 14:10:04 -0700
commit990e77c55fdb692687e1ab7440bf504948530cae (patch)
treed20983f16965103bebdb6720f9f377ca451ccb52
parentc2fb529819f056ba027e6116c3b90f33415275e1 (diff)
downloadspack-990e77c55fdb692687e1ab7440bf504948530cae.tar.gz
spack-990e77c55fdb692687e1ab7440bf504948530cae.tar.bz2
spack-990e77c55fdb692687e1ab7440bf504948530cae.tar.xz
spack-990e77c55fdb692687e1ab7440bf504948530cae.zip
legion: Requires C++17 minimum after 24.03.0. (#44596)
-rw-r--r--var/spack/repos/builtin/packages/legion/package.py4
1 files 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