From 7bb64b526fd8abc2713fb728fd55c1e32eff1e2c Mon Sep 17 00:00:00 2001 From: renjithravindrankannath <94420380+renjithravindrankannath@users.noreply.github.com> Date: Fri, 31 Mar 2023 09:14:04 -0700 Subject: rocsparse: exclude v5.4 from being patched (#36571) --- var/spack/repos/builtin/packages/rocsparse/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/rocsparse/package.py b/var/spack/repos/builtin/packages/rocsparse/package.py index 1d7088ac56..ec41e97d27 100644 --- a/var/spack/repos/builtin/packages/rocsparse/package.py +++ b/var/spack/repos/builtin/packages/rocsparse/package.py @@ -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") -- cgit v1.2.3-70-g09d2