commit: 166cc88b0600b208c406f4fed2867b3dec4032d1 Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> AuthorDate: Sun Nov 9 16:21:12 2025 +0000 Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> CommitDate: Sun Nov 9 16:21:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=166cc88b
sci-libs/hipBLASLt/files: Add missing patches Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org> sci-libs/hipBLASLt/files/hipBLASLt-7.1.0-no-git.patch | 13 +++++++++++++ .../files/hipBLASLt-7.1.0-rocisa-nanobind.patch | 18 ++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-7.1.0-no-git.patch b/sci-libs/hipBLASLt/files/hipBLASLt-7.1.0-no-git.patch new file mode 100644 index 000000000000..ac962c04089b --- /dev/null +++ b/sci-libs/hipBLASLt/files/hipBLASLt-7.1.0-no-git.patch @@ -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) diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-7.1.0-rocisa-nanobind.patch b/sci-libs/hipBLASLt/files/hipBLASLt-7.1.0-rocisa-nanobind.patch new file mode 100644 index 000000000000..8f589fdcac29 --- /dev/null +++ b/sci-libs/hipBLASLt/files/hipBLASLt-7.1.0-rocisa-nanobind.patch @@ -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"
