Make dd4hep boost deps explicit (#29890)
This commit is contained in:
parent
2816d28e90
commit
57e2ea1ac4
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user