diff options
-rw-r--r-- | var/spack/repos/builtin/packages/heffte/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/heffte/package.py b/var/spack/repos/builtin/packages/heffte/package.py index a253a6cd23..85eb8a6ced 100644 --- a/var/spack/repos/builtin/packages/heffte/package.py +++ b/var/spack/repos/builtin/packages/heffte/package.py @@ -90,6 +90,10 @@ class Heffte(CMakePackage, CudaPackage, ROCmPackage): if 'none' not in 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 @run_after('install') |