workaround a cmake/rocm bug in heffte (#25948)
This commit is contained in:
parent
bb29c5d674
commit
e027cecff2
@ -90,6 +90,10 @@ def cmake_args(self):
|
|||||||
if 'none' not in rocm_arch:
|
if 'none' not in rocm_arch:
|
||||||
args.append('-DCMAKE_CXX_FLAGS={0}'.format(self.hip_flags(rocm_arch)))
|
args.append('-DCMAKE_CXX_FLAGS={0}'.format(self.hip_flags(rocm_arch)))
|
||||||
|
|
||||||
|
# See https://github.com/ROCmSoftwarePlatform/rocFFT/issues/322
|
||||||
|
if self.spec.satisfies('^cmake@3.21:'):
|
||||||
|
args.append(self.define('__skip_rocmclang', 'ON'))
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
|
||||||
@run_after('install')
|
@run_after('install')
|
||||||
|
Loading…
Reference in New Issue
Block a user