summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/modern-wheel/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/modern-wheel/package.py')
-rw-r--r--var/spack/repos/builtin/packages/modern-wheel/package.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/modern-wheel/package.py b/var/spack/repos/builtin/packages/modern-wheel/package.py
index 69f5b1ca2f..9699b63c19 100644
--- a/var/spack/repos/builtin/packages/modern-wheel/package.py
+++ b/var/spack/repos/builtin/packages/modern-wheel/package.py
@@ -6,7 +6,6 @@
import sys
from spack import *
-from spack.pkg.builtin.boost import Boost
class ModernWheel(CMakePackage):
@@ -35,13 +34,8 @@ class ModernWheel(CMakePackage):
# https://gitlab.kitware.com/cmake/cmake/issues/17575
# Until then, just assume that we cannot correctly configure
# ModernWheel with Boost >= 1.66.0.
- depends_on('boost +system +filesystem', when='@:1.1')
- depends_on('boost@:1.65 +system +filesystem', when='@1.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)
+ depends_on('boost +exception+test+system +filesystem', when='@:1.1')
+ depends_on('boost@:1.65 +exception+test+system +filesystem', when='@1.2:')
# add virtual destructor to BaseMultiParms class.
patch('add_virtual_destructor.patch')