From 1a0c31703a0f98a7fa5d57c2de484b49a51c5f6c Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Thu, 6 Feb 2020 02:45:17 +0100 Subject: acts-core package: build root with cxxstd=17 for 0.8.1 and newer (#14761) The build fails if root uses an older C++ standard. --- var/spack/repos/builtin/packages/acts-core/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/acts-core/package.py b/var/spack/repos/builtin/packages/acts-core/package.py index 16ecd155bc..644397102a 100644 --- a/var/spack/repos/builtin/packages/acts-core/package.py +++ b/var/spack/repos/builtin/packages/acts-core/package.py @@ -76,7 +76,7 @@ class ActsCore(CMakePackage): depends_on('eigen @3.2.9:', type='build') depends_on('nlohmann-json @3.2.0:', when='@0.14.0: +json') depends_on('root @6.10: cxxstd=14', when='+tgeo @:0.8.0') - depends_on('root @6.10:', when='+tgeo @0.8.1:') + depends_on('root @6.10: cxxstd=17', when='+tgeo @0.8.1:') depends_on('dd4hep @1.2:', when='+dd4hep') def cmake_args(self): -- cgit v1.2.3-70-g09d2