diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/exago/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/exago/package.py b/var/spack/repos/builtin/packages/exago/package.py index 6809deeff3..4cf5e40843 100644 --- a/var/spack/repos/builtin/packages/exago/package.py +++ b/var/spack/repos/builtin/packages/exago/package.py @@ -122,6 +122,8 @@ class Exago(CMakePackage, CudaPackage, ROCmPackage): # self.define('HIP_CLANG_INCLUDE_PATH', # '/opt/rocm-X.Y.Z/llvm/lib/clang/14.0.0/include/')) if '+rocm' in spec: + args.append(self.define('CMAKE_CXX_COMPILER', spec['hip'].hipcc)) + rocm_arch_list = spec.variants['amdgpu_target'].value if rocm_arch_list[0] != 'none': args.append(self.define('GPU_TARGETS', rocm_arch_list)) |