summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHadrien G <grasland@lal.in2p3.fr>2022-04-06 06:58:19 +0200
committerGitHub <noreply@github.com>2022-04-06 06:58:19 +0200
commit57e2ea1ac4b4b2990de0e9a13ad43b1affee4d2d (patch)
tree8a95762cf4e37a95a82138b8d133e5095222316b
parent2816d28e90e9639359b6fa74d744743823689398 (diff)
downloadspack-57e2ea1ac4b4b2990de0e9a13ad43b1affee4d2d.tar.gz
spack-57e2ea1ac4b4b2990de0e9a13ad43b1affee4d2d.tar.bz2
spack-57e2ea1ac4b4b2990de0e9a13ad43b1affee4d2d.tar.xz
spack-57e2ea1ac4b4b2990de0e9a13ad43b1affee4d2d.zip
Make dd4hep boost deps explicit (#29890)
-rw-r--r--var/spack/repos/builtin/packages/dd4hep/package.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/dd4hep/package.py b/var/spack/repos/builtin/packages/dd4hep/package.py
index 017ca1ea9d..a694eb501b 100644
--- a/var/spack/repos/builtin/packages/dd4hep/package.py
+++ b/var/spack/repos/builtin/packages/dd4hep/package.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
-from spack.pkg.builtin.boost import Boost
class Dd4hep(CMakePackage):
@@ -82,10 +81,8 @@ class Dd4hep(CMakePackage):
depends_on('cmake @3.12:', type='build')
depends_on('ninja', type='build')
depends_on('boost @1.49:')
- # TODO: replace this with an explicit list of components of Boost,
- # for instance depends_on('boost +filesystem')
- # See https://github.com/spack/spack/pull/22303 for reference
- depends_on(Boost.with_default_variants)
+ depends_on('boost +iostreams', when='+ddg4')
+ depends_on('boost +system +filesystem', when='%gcc@:7')
depends_on('root @6.08: +gdml +math +python')
depends_on('root @6.08: +gdml +math +python +x +opengl', when="+ddeve")