From 57e2ea1ac4b4b2990de0e9a13ad43b1affee4d2d Mon Sep 17 00:00:00 2001 From: Hadrien G Date: Wed, 6 Apr 2022 06:58:19 +0200 Subject: Make dd4hep boost deps explicit (#29890) --- var/spack/repos/builtin/packages/dd4hep/package.py | 7 ++----- 1 file 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") -- cgit v1.2.3-70-g09d2