| 1 | Taken from
|
| 2 | https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-libs/hipBLASLt/files/hipBLASLt-7.1.0-rocisa-nanobind.patch?id=77972f6a23d7b2347be2f09f453a1093714d67bf
|
| 3 |
|
| 4 | diff --git a/tensilelite/rocisa/CMakeLists.txt b/tensilelite/rocisa/CMakeLists.txt
|
| 5 | index 3918f18..9c6fcd3 100644
|
| 6 | |
| 7 | |
| 8 | @@ -17,13 +17,7 @@ target_include_directories(rocisa-cpp
|
| 9 | )
|
| 10 |
|
| 11 | if(HIPBLASLT_BUNDLE_PYTHON_DEPS)
|
| 12 | - include(FetchContent)
|
| 13 | - FetchContent_Declare(
|
| 14 | - nanobind
|
| 15 | - GIT_REPOSITORY https://github.com/wjakob/nanobind.git
|
| 16 | - GIT_TAG 9b3afa9dbdc23641daf26fadef7743e7127ff92f # v2.6.1
|
| 17 | - )
|
| 18 | - FetchContent_MakeAvailable(nanobind)
|
| 19 | + find_package(nanobind CONFIG REQUIRED)
|
| 20 |
|
| 21 | set(ROCISAINST_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/rocisa/src/instruction/instruction.cpp"
|
| 22 | "${CMAKE_CURRENT_SOURCE_DIR}/rocisa/src/instruction/common.cpp"
|