rocsparse: exclude v5.4 from being patched (#36571)

This commit is contained in:
renjithravindrankannath 2023-03-31 09:14:04 -07:00 committed by GitHub
parent 4f42092f4f
commit 7bb64b526f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,9 +146,9 @@ class Rocsparse(CMakePackage):
depends_on("rocm-cmake@%s:" % ver, type="build", when="@" + ver)
# Add option so Spack can manage downloaded test matricies as resources.
patch("0001-set-mtx-directory.patch", when="@4.5.0: +test")
patch("0001-set-mtx-directory.patch", when="@4.5.0:5.3 +test")
# Enable use of Spack-provided Python.
patch("0002-fix-gentest-shebang.patch", when="@4.5.0: +test")
patch("0002-fix-gentest-shebang.patch", when="@4.5.0:5.3 +test")
# Fix build for most Radeon 5000 and Radeon 6000 series GPUs.
patch("0003-fix-navi-1x-rocm-4.5.patch", when="@4.5.0:5.1")
patch("0003-fix-navi-1x-rocm-5.2.patch", when="@5.2")