diff options
| author | David Elsing <david.elsing@posteo.net> | 2026-02-03 21:33:21 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-02-10 23:46:36 +0100 |
| commit | a34860220f96ae7a4e7e3d9bce250194062adda1 (patch) | |
| tree | befc15c0ef84720a87a4431dbc6c049b35e4a154 /gnu/packages/patches/hipblaslt-python-nanobind.patch | |
| parent | 54b09732033ac043b97767495f08ed4ef025e4bf (diff) | |
gnu: Add hipblaslt.
* gnu/packages/rocm-libs.scm (hipblaslt-supported-targets): New variable.
(hipblaslt-targets): New variable.
(hipblaslt): New variable.
* gnu/packages/patches/hipblaslt-python-nanobind.patch (hipblaslt): New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/patches/hipblaslt-python-nanobind.patch')
| -rw-r--r-- | gnu/packages/patches/hipblaslt-python-nanobind.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/patches/hipblaslt-python-nanobind.patch b/gnu/packages/patches/hipblaslt-python-nanobind.patch new file mode 100644 index 00000000000..d332e2c11bf --- /dev/null +++ b/gnu/packages/patches/hipblaslt-python-nanobind.patch @@ -0,0 +1,22 @@ +Taken from +https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-libs/hipBLASLt/files/hipBLASLt-7.1.0-rocisa-nanobind.patch?id=77972f6a23d7b2347be2f09f453a1093714d67bf + +diff --git a/tensilelite/rocisa/CMakeLists.txt b/tensilelite/rocisa/CMakeLists.txt +index 3918f18..9c6fcd3 100644 +--- a/tensilelite/rocisa/CMakeLists.txt ++++ b/tensilelite/rocisa/CMakeLists.txt +@@ -17,13 +17,7 @@ target_include_directories(rocisa-cpp + ) + + 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" |
