diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/branson/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/branson/package.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/branson/package.py b/var/spack/repos/builtin/packages/branson/package.py index 21347672de..f5611869df 100644 --- a/var/spack/repos/builtin/packages/branson/package.py +++ b/var/spack/repos/builtin/packages/branson/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.pkg.builtin.boost import Boost class Branson(CMakePackage): @@ -25,7 +26,11 @@ class Branson(CMakePackage): version('0.8', sha256='85ffee110f89be00c37798700508b66b0d15de1d98c54328b6d02a9eb2cf1cb8') depends_on('mpi@2:') - depends_on('boost', when='@:0.81') + + # 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, when='@:0.81') depends_on('metis') depends_on('parmetis', when='@:0.81') |