Fix for problem with cmake@3.21 (#25989)
This commit is contained in:
parent
cf81046bb1
commit
c4e26ac7c8
@ -128,6 +128,9 @@ def cmake_args(self):
|
|||||||
if '+rocm' in spec:
|
if '+rocm' in spec:
|
||||||
options.extend(['-DMAGMA_ENABLE_HIP=ON'])
|
options.extend(['-DMAGMA_ENABLE_HIP=ON'])
|
||||||
options.extend(['-DCMAKE_CXX_COMPILER=hipcc'])
|
options.extend(['-DCMAKE_CXX_COMPILER=hipcc'])
|
||||||
|
# See https://github.com/ROCmSoftwarePlatform/rocFFT/issues/322
|
||||||
|
if spec.satisfies('^cmake@3.21:'):
|
||||||
|
options.extend(['-D__skip_rocmclang=ON'])
|
||||||
else:
|
else:
|
||||||
options.extend(['-DMAGMA_ENABLE_CUDA=ON'])
|
options.extend(['-DMAGMA_ENABLE_CUDA=ON'])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user