summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2020-06-22 02:31:57 -0500
committerGitHub <noreply@github.com>2020-06-22 09:31:57 +0200
commit3fc963b1f919baa46f5f6f15bb1ca19f2404f600 (patch)
treec66650fcdca4af66b2b19cd6f8763307b13ad571 /var
parent0b74285a14eb84e897906b8948bea4dddbfba2e9 (diff)
downloadspack-3fc963b1f919baa46f5f6f15bb1ca19f2404f600.tar.gz
spack-3fc963b1f919baa46f5f6f15bb1ca19f2404f600.tar.bz2
spack-3fc963b1f919baa46f5f6f15bb1ca19f2404f600.tar.xz
spack-3fc963b1f919baa46f5f6f15bb1ca19f2404f600.zip
delphes: better specify the dependency on root (#17175)
Compiling delphes with default root cxxstd=11 fails, see e.g. https://sft.its.cern.ch/jira/si/jira.issueviews:issue-html/ROOT-9492/ROOT-9492.html
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/delphes/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/delphes/package.py b/var/spack/repos/builtin/packages/delphes/package.py
index 723182f616..b3b511a00f 100644
--- a/var/spack/repos/builtin/packages/delphes/package.py
+++ b/var/spack/repos/builtin/packages/delphes/package.py
@@ -39,7 +39,8 @@ class Delphes(CMakePackage):
version('3.0.5', sha256='ab64ec6d2476fbfa40562e7edb510a8ab4c4fe5be77a4353ebf315c2af181a80')
depends_on('cmake', type='build')
- depends_on('root')
+ depends_on('root cxxstd=14', when='cxxstd=14')
+ depends_on('root cxxstd=17', when='cxxstd=17')
variant('build_type', default='Release',
description='The build type to build',