gentoo-ebuilds/sci-libs/composable-kernel/files/composable-kernel-6.1.1-enable-examples.patch
Sv. Lockal 455a242704
sci-libs/composable-kernel: add 6.1.1
Changes:
* add patch for Clang 17 compatibility (official build uses Clang 18)
* add patch for "Could NOT find Git (missing: GIT_EXECUTABLE)"
* drop dev-libs/half dependency in all versions (not used)
* rename ROCmSoftwarePlatform -> ROCm in URLs

Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
2024-06-26 10:19:13 +01:00

14 lines
379 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -470,7 +470,10 @@ if(NOT DEFINED INSTANCES_ONLY)
LIBRARY_NAME composablekernel
PACKAGE_NAME examples
)
- add_subdirectory(example)
+ option(BUILD_EXAMPLES "Build examples" OFF)
+ if(BUILD_EXAMPLES)
+ add_subdirectory(example)
+ endif()
if(BUILD_TESTING)
add_subdirectory(test)
endif()