add hints for dependency resolution (#22238)
Co-authored-by: sbulut <sbulut@3vgeomatics.com>
This commit is contained in:
parent
5790ec5359
commit
650f24f4d3
1 changed files with 4 additions and 0 deletions
|
@ -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:')
|
||||
|
||||
|
|
Loading…
Reference in a new issue