sci-libs/hipBLASLt/files: Add missing patches

Signed-off-by: Patrick Lauer <patrick@gentoo.org>
This commit is contained in:
Patrick Lauer 2025-11-09 16:21:12 +00:00
parent 50bb5d4ef0
commit 166cc88b06
No known key found for this signature in database
GPG Key ID: A6B98739114414D6
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Git is not used
--- a/cmake/dependencies.cmake
+++ b/cmake/dependencies.cmake
@@ -23,9 +23,6 @@
# Dependencies
-# Git
-find_package(Git REQUIRED)
-
# Workaround until hcc & hip cmake modules fixes symlink logic in their config files.
# (Thanks to rocBLAS devs for finding workaround for this problem!)
list(APPEND CMAKE_PREFIX_PATH /opt/rocm/hip /opt/rocm)

View File

@ -0,0 +1,18 @@
--- a/tensilelite/rocisa/CMakeLists.txt 2025-11-09 09:49:11.051195769 -0000
+++ b/tensilelite/rocisa/CMakeLists.txt 2025-11-09 09:50:56.393579853 -0000
@@ -17,14 +17,7 @@
)
if(HIPBLASLT_BUNDLE_PYTHON_DEPS)
- include(FetchContent)
- FetchContent_Declare(
- nanobind
- GIT_REPOSITORY https://github.com/wjakob/nanobind.git
- GIT_TAG 9b3afa9dbdc23641daf26fadef7743e7127ff92f # v2.6.1
- )
- FetchContent_MakeAvailable(nanobind)
-
+ find_package(nanobind CONFIG REQUIRED)
set(ROCISAINST_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/rocisa/src/instruction/instruction.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/rocisa/src/instruction/common.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/rocisa/src/instruction/branch.cpp"