From face2b0f4022b3b5525bd88dead7cb5cc0e9e64f Mon Sep 17 00:00:00 2001 From: Ruihang Lai Date: Fri, 19 Sep 2025 23:10:41 -0400 Subject: [PATCH] [CMake][Web] Install `web/` directory in cmake for Python package This PR updates the CMakeLists to install the web subdirectory when building Python package, so that people do not need to clone TVM source code to build web package. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e5a61490d8d..6713a7cbb5c7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -885,6 +885,9 @@ if(TVM_BUILD_PYTHON_MODULE) PATTERN "*.h" ) + # Install web package + install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/web/" DESTINATION "web/") + # Install essential configuration files install( DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/configs/"