Skip to content

Commit eb45a46

Browse files
authored
[CMake][Web] Install web/ directory in cmake for Python package (#18327)
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.
1 parent 874de94 commit eb45a46

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,9 @@ if(TVM_BUILD_PYTHON_MODULE)
885885
PATTERN "*.h"
886886
)
887887

888+
# Install web package
889+
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/web/" DESTINATION "web/")
890+
888891
# Install essential configuration files
889892
install(
890893
DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/configs/"

0 commit comments

Comments
 (0)