diff options
author | iarspider <iarspider@gmail.com> | 2022-04-11 21:39:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-11 12:39:11 -0700 |
commit | da0a7836f3da6f3651acd1c547676744d41334a2 (patch) | |
tree | 7f2812dc0b85f53f9dc34d1bb90216edf8244f81 /var | |
parent | 271f0c024a0d613e1d902477ffbb38bf99557e21 (diff) | |
download | spack-da0a7836f3da6f3651acd1c547676744d41334a2.tar.gz spack-da0a7836f3da6f3651acd1c547676744d41334a2.tar.bz2 spack-da0a7836f3da6f3651acd1c547676744d41334a2.tar.xz spack-da0a7836f3da6f3651acd1c547676744d41334a2.zip |
ROOT: allow c++20, default to c++14 (#30006)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/root/package.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py index 324fc979b3..c532f72512 100644 --- a/var/spack/repos/builtin/packages/root/package.py +++ b/var/spack/repos/builtin/packages/root/package.py @@ -192,7 +192,7 @@ class Root(CMakePackage): variant('cxxstd', default='11', - values=('11', '14', '17'), + values=('11', '14', '17', '20'), multi=False, description='Use the specified C++ standard when building.') @@ -303,6 +303,10 @@ class Root(CMakePackage): conflicts('+tmva', when='~gsl', msg='TVMA requires GSL') conflicts('+tmva', when='~mlp', msg='TVMA requires MLP') conflicts('cxxstd=11', when='+root7', msg='root7 requires at least C++14') + conflicts('cxxstd=11', when='@6.25.02:', msg='This version of root ' + 'requires at least C++14') + conflicts('cxxstd=20', when='@:6.25.01', msg='C++20 support was added ' + 'in 6.25.02') # Feature removed in 6.18: for pkg in ('memstat', 'qt4', 'table'): |