From 1ce15185f5f9fe39a1b3551080defffddc657481 Mon Sep 17 00:00:00 2001
From: misaka00251 <liuxin@iscas.ac.cn>
Date: Thu, 24 Oct 2024 14:27:20 +0800
Subject: [PATCH] Well I have to use this

---
 rocblas.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/rocblas.spec b/rocblas.spec
index d900cce..05dbdd6 100644
--- a/rocblas.spec
+++ b/rocblas.spec
@@ -41,7 +41,7 @@
 %endif
 
 # Why Build ID is 8 bytes
-%global buildid 1
+%global buildid 0
 
 Name:           rocblas
 Version:        %{rocm_version}
@@ -142,6 +142,8 @@ export HIPCC_LINK_FLAGS_APPEND=-fuse-ld=lld
 for gpu in %{rocm_gpu_list}
 do
     module load rocm/$gpu
+    # We can't compile all the targets at once
+    export ROCM_GPUS=gfx1030;gfx1100;gfx1101;gfx1102
     mkdir %{_target_platform}
     pushd %{_target_platform}
     %cmake .. -G Ninja \
-- 
GitLab