added workaround for rocm/cmake bug in tasmanian (#25949)
This commit is contained in:
parent
c592e17d49
commit
5130f43eb3
@ -140,6 +140,10 @@ def cmake_args(self):
|
|||||||
args.append('-DPYTHON_EXECUTABLE:FILEPATH={0}'.format(
|
args.append('-DPYTHON_EXECUTABLE:FILEPATH={0}'.format(
|
||||||
self.spec['python'].command.path))
|
self.spec['python'].command.path))
|
||||||
|
|
||||||
|
# See https://github.com/ROCmSoftwarePlatform/rocFFT/issues/322
|
||||||
|
if self.spec.satisfies('+rocm') and self.spec.satisfies('^cmake@3.21:'):
|
||||||
|
args.append(self.define('__skip_rocmclang', 'ON'))
|
||||||
|
|
||||||
# _CUBLAS and _CUDA were separate options prior to 6.0
|
# _CUBLAS and _CUDA were separate options prior to 6.0
|
||||||
# skipping _CUBLAS leads to peformance regression
|
# skipping _CUBLAS leads to peformance regression
|
||||||
if spec.satisfies('@:5.1'):
|
if spec.satisfies('@:5.1'):
|
||||||
|
Loading…
Reference in New Issue
Block a user