diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/alps/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/alps/package.py b/var/spack/repos/builtin/packages/alps/package.py index 002e2c0bd1..b75de1c5b1 100644 --- a/var/spack/repos/builtin/packages/alps/package.py +++ b/var/spack/repos/builtin/packages/alps/package.py @@ -33,6 +33,10 @@ class Alps(CMakePackage): depends_on('py-scipy', type=('build', 'run')) depends_on('py-matplotlib', type=('build', 'run')) + # use depends_on to help with dependency resolution + depends_on('py-numpy@:1.19', when='^python@:3.6.99') + depends_on('py-scipy@:1.5', when='^python@:3.6.99') + # fix for gcc@7: patch('alps_newgcc.patch', when='%gcc@7:') |