diff options
author | Richard Berger <rberger@lanl.gov> | 2024-03-23 06:22:06 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-23 13:22:06 +0100 |
commit | 0abf5ba43c25d6b84d2eb4aa069718d69598a80f (patch) | |
tree | 74a5ab4fbd8312923fd6ae02dcc1699aabf7dbc9 /var | |
parent | 9ab3c1332b1c7751c217b3d010277604841d4a41 (diff) | |
download | spack-0abf5ba43c25d6b84d2eb4aa069718d69598a80f.tar.gz spack-0abf5ba43c25d6b84d2eb4aa069718d69598a80f.tar.bz2 spack-0abf5ba43c25d6b84d2eb4aa069718d69598a80f.tar.xz spack-0abf5ba43c25d6b84d2eb4aa069718d69598a80f.zip |
hip: don't set HIP_PATH in ROCm 5.5+ (#42882)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/hip/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/hip/package.py b/var/spack/repos/builtin/packages/hip/package.py index d972fa4d76..ffc1c1bece 100644 --- a/var/spack/repos/builtin/packages/hip/package.py +++ b/var/spack/repos/builtin/packages/hip/package.py @@ -415,7 +415,9 @@ class Hip(CMakePackage): env.set("HIP_DEVICE_LIB_PATH", paths["bitcode"]) # Just the prefix of hip (used in hipcc) - env.set("HIP_PATH", paths["hip-path"]) + # Deprecated in 5.1.0 and breaks hipcc in 5.5.1+ + if self.spec.satisfies("@:5.4"): + env.set("HIP_PATH", paths["hip-path"]) # Used in comgr and seems necessary when using the JIT compiler, e.g. # hiprtcCreateProgram: |