You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/composable-kernel/files/composable-kernel-5.7.1-ena...

20 lines
507 B

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -280,8 +280,14 @@ rocm_package_setup_component(profiler
)
add_subdirectory(library)
-add_subdirectory(example)
-add_subdirectory(test)
+option(BUILD_EXAMPLES "Build examples" OFF)
+if(BUILD_EXAMPLES)
+ add_subdirectory(example)
+endif()
+option(BUILD_TESTS "Build binaries for tests" OFF)
+if(BUILD_TESTS)
+ add_subdirectory(test)
+endif()
add_subdirectory(profiler)
#Create an interface target for the include only files and call it "composablekernels"