summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libint/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/libint/package.py')
-rw-r--r--var/spack/repos/builtin/packages/libint/package.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/libint/package.py b/var/spack/repos/builtin/packages/libint/package.py
index 2609c7fce6..efc6cb2f56 100644
--- a/var/spack/repos/builtin/packages/libint/package.py
+++ b/var/spack/repos/builtin/packages/libint/package.py
@@ -6,6 +6,7 @@
import os
from spack import *
+from spack.pkg.builtin.boost import Boost
TUNE_VARIANTS = (
'none',
@@ -56,7 +57,11 @@ class Libint(AutotoolsPackage):
depends_on('libtool', type='build')
# Libint 2 dependencies
- depends_on('boost', when='@2:')
+
+ # 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='@2:')
depends_on('gmp', when='@2:')
for tvariant in TUNE_VARIANTS[1:]: