diff options
author | afzpatel <122491982+afzpatel@users.noreply.github.com> | 2024-03-29 05:41:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-29 10:41:45 +0100 |
commit | 3bdebeba3c7da81f68799d3262fc52531ad870a3 (patch) | |
tree | 00bf81d021954716ca935fc542a94a4f5446d008 | |
parent | d390ee190251870aa9c64f897ee255f7b8ad19a1 (diff) | |
download | spack-3bdebeba3c7da81f68799d3262fc52531ad870a3.tar.gz spack-3bdebeba3c7da81f68799d3262fc52531ad870a3.tar.bz2 spack-3bdebeba3c7da81f68799d3262fc52531ad870a3.tar.xz spack-3bdebeba3c7da81f68799d3262fc52531ad870a3.zip |
UCX: Add patch to set HIP_PLATFORM_AMD (#43403)
-rw-r--r-- | var/spack/repos/builtin/packages/ucx/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ucx/package.py b/var/spack/repos/builtin/packages/ucx/package.py index a50f11cba4..085c1b10db 100644 --- a/var/spack/repos/builtin/packages/ucx/package.py +++ b/var/spack/repos/builtin/packages/ucx/package.py @@ -160,6 +160,9 @@ class Ucx(AutotoolsPackage, CudaPackage): "-L$with_rocm/hip/lib -L$with_rocm/lib", "$ROCM_LDFLAGS", "configure", string=True ) + if self.spec.satisfies("^hip@6:"): + filter_file("HIP_PLATFORM_HCC", "HIP_PLATFORM_AMD", "configure", string=True) + @when("@1.9-dev") def autoreconf(self, spec, prefix): Executable("./autogen.sh")() |