Fix CMake build infrastructure for experimental builder

- Add experimental/builder CMakeLists.txt with proper subdirectory structure
- Add placeholder include/ck_tile/builder CMakeLists.txt for header installation
- Fix gtest.cmake to use include_guard to prevent multiple inclusions
- Update root CMakeLists.txt to include full builder directory instead of just tests
This commit is contained in:
John Shumway
2025-10-17 21:21:30 +00:00
parent 367247fbae
commit 1b113c73a3
4 changed files with 6 additions and 1 deletions

View File

@@ -694,7 +694,7 @@ if (NOT MIOPEN_REQ_LIBS_ONLY)
endif()
if (CK_EXPERIMENTAL_BUILDER)
add_subdirectory(experimental/builder/test)
add_subdirectory(experimental/builder)
endif()
if(CK_USE_CODEGEN AND (SUPPORTED_GPU_TARGETS MATCHES "gfx9" OR GPU_ARCHS))

View File

@@ -1,3 +1,4 @@
include_guard(GLOBAL)
include(FetchContent)
set(GOOGLETEST_DIR "" CACHE STRING "Location of local GoogleTest repo to build against")

View File

@@ -0,0 +1,3 @@
if(BUILD_TESTING)
add_subdirectory(test)
endif()

View File

@@ -0,0 +1 @@
# Empty placeholder until we add library code.