SIRIUS and SpFFT versions need ROCm < 4.1 (#22957)

FindHIP.cmake script is not working for both 4.0 and 4.1.

It's fixed in their develop branches
This commit is contained in:
Harmen Stoppels 2021-04-13 11:58:19 +02:00 committed by GitHub
parent 1f1b568e95
commit 0b9bd92511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -115,6 +115,9 @@ class Sirius(CMakePackage, CudaPackage):
depends_on('hsa-rocr-dev', when='+rocm', type='link')
depends_on('rocblas', when='+rocm')
# FindHIP cmake script only works for < 4.1
depends_on('hip@:4.0', when='@:7.2.0 +rocm')
extends('python', when='+python')
conflicts('+shared', when='@6.3.0:6.4.999')

View File

@ -55,6 +55,9 @@ class Spfft(CMakePackage, CudaPackage):
depends_on('cuda@:10', when='@:0.9.11 +cuda')
# FindHIP cmake script only works for < 4.1
depends_on('hip@:4.0', when='@:1.0.1 +rocm')
def cmake_args(self):
spec = self.spec
args = [