File 0001-Hardcode-cblas-as-the-blas-library.patch of Package rocblas

From e2a44fe6ad3bcf3c6df84b80d413ed09e1428e72 Mon Sep 17 00:00:00 2001
From: Tom Rix <trix@redhat.com>
Date: Sat, 13 Jan 2024 07:48:37 -0500
Subject: [PATCH] Hardcode cblas as the blas library

Signed-off-by: Tom Rix <trix@redhat.com>
---
 clients/gtest/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clients/gtest/CMakeLists.txt b/clients/gtest/CMakeLists.txt
index 9f17fb28..3df9eab4 100644
--- a/clients/gtest/CMakeLists.txt
+++ b/clients/gtest/CMakeLists.txt
@@ -153,7 +153,7 @@ target_include_directories( rocblas-test
 if( BUILD_FORTRAN_CLIENTS )
   target_link_libraries( rocblas-test PRIVATE rocblas_fortran_client )
 endif( )
-target_link_libraries( rocblas-test PRIVATE ${BLAS_LIBRARY} ${GTEST_BOTH_LIBRARIES} roc::rocblas )
+target_link_libraries( rocblas-test PRIVATE cblas ${GTEST_BOTH_LIBRARIES} roc::rocblas )
 
 if( CUDA_FOUND )
   target_include_directories( rocblas-test
-- 
2.43.0

openSUSE Build Service is sponsored by