Skip to content
Snippets Groups Projects
0002-Skip-unbuildable-part.patch 1.11 KiB
Newer Older
From ccf73c90e7ac54329c1b4f0f29742d430fc1afdf Mon Sep 17 00:00:00 2001
From: misaka00251 <liuxin@iscas.ac.cn>
Date: Mon, 25 Nov 2024 16:29:43 +0800
Subject: [PATCH] Skip unbuildable part


diff --git a/CMakeLists.txt b/CMakeLists.txt
misaka00251's avatar
misaka00251 committed
index c062d1d..7dafe83 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
misaka00251's avatar
misaka00251 committed
@@ -549,28 +549,6 @@ ENDFOREACH()
 add_custom_target(instances DEPENDS utility;${CK_DEVICE_INSTANCES}  SOURCES ${INSTANCE_FILES})
 add_subdirectory(library)
 
misaka00251's avatar
misaka00251 committed
-if(NOT GPU_ARCHS AND USER_GPU_TARGETS)
-   rocm_package_setup_component(tests
-        LIBRARY_NAME composablekernel
-        PACKAGE_NAME tests # Prevent -static suffix on package name
-   )
-
-   rocm_package_setup_component(examples
-        LIBRARY_NAME composablekernel
-        PACKAGE_NAME examples
-   )
-   add_subdirectory(example)
-   if(BUILD_TESTING)
misaka00251's avatar
misaka00251 committed
-	   add_subdirectory(test)
-   endif()
-endif()
-
misaka00251's avatar
misaka00251 committed
-rocm_package_setup_component(profiler
-    LIBRARY_NAME composablekernel
-    PACKAGE_NAME ckprofiler
-)
-add_subdirectory(profiler)
-
 if(CK_USE_CODEGEN AND (GPU_TARGETS MATCHES "gfx9" OR GPU_ARCHS))
   add_subdirectory(codegen)
 endif()