summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/metall/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/metall/package.py')
-rw-r--r--var/spack/repos/builtin/packages/metall/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/metall/package.py b/var/spack/repos/builtin/packages/metall/package.py
index 9c7ec1644d..ee5c0dc5d0 100644
--- a/var/spack/repos/builtin/packages/metall/package.py
+++ b/var/spack/repos/builtin/packages/metall/package.py
@@ -3,6 +3,8 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+from spack.pkg.builtin.boost import Boost
+
class Metall(CMakePackage):
"""A Persistent Memory Allocator For Data-Centric Analytics"""
@@ -37,6 +39,11 @@ class Metall(CMakePackage):
# to run test (adds a call to 'make test' to the build)
depends_on('googletest %gcc@8.1.0:', type=('test'))
+ # 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, type=('build', 'link'))
+
def cmake_args(self):
if self.run_tests:
args = ['-DBUILD_TEST=ON', '-DSKIP_DOWNLOAD_GTEST=ON']