mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 16:38:01 +00:00
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>
14 lines
379 B
Diff
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()
|