diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/rocblas/package.py | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/var/spack/repos/builtin/packages/rocblas/package.py b/var/spack/repos/builtin/packages/rocblas/package.py index 62c6e24d4d..ae61f2961e 100644 --- a/var/spack/repos/builtin/packages/rocblas/package.py +++ b/var/spack/repos/builtin/packages/rocblas/package.py @@ -85,23 +85,18 @@ class Rocblas(CMakePackage): depends_on('llvm-amdgpu@' + ver, type='build', when='@' + ver) depends_on('rocminfo@' + ver, type='build', when='@' + ver) - for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']: - depends_on('rocm-smi@' + ver, type='build', when='@' + ver) - - for ver in ['4.0.0', '4.1.0', '4.2.0', '4.3.0', '4.3.1', '4.5.0', '4.5.2', - '5.0.0', '5.0.2', '5.1.0', '5.1.3']: - depends_on('rocm-smi-lib@' + ver, type='build', when='@' + ver) + depends_on('python@3.6:', type='build') - # This is the default library format since 3.7.0 - depends_on('msgpack-c@3:', when='@3.7:') + with when('+tensile'): + # default library format since 3.7.0 + depends_on('msgpack-c@3:', when='@3.7:') - depends_on('python@3.6:', type='build') - depends_on('py-virtualenv', type='build') - depends_on('perl-file-which', type='build') - depends_on('py-pyyaml', type='build') - depends_on('py-wheel', type='build') - depends_on('py-msgpack', type='build') - depends_on('py-pip', type='build') + depends_on('py-virtualenv', type='build') + depends_on('perl-file-which', type='build') + depends_on('py-pyyaml', type='build') + depends_on('py-wheel', type='build') + depends_on('py-msgpack', type='build') + depends_on('py-pip', type='build') for t_version, t_commit in [ ('@3.5.0', 'f842a1a4427624eff6cbddb2405c36dec9a210cd'), |