diff --git a/.gitmodules b/.gitmodules index e03336443d73..bec3fb51ea70 100644 --- a/.gitmodules +++ b/.gitmodules @@ -16,3 +16,6 @@ [submodule "3rdparty/cutlass"] path = 3rdparty/cutlass url = https://github.com/NVIDIA/cutlass.git +[submodule "cmake/3rdparty/CCache"] + path = cmake/3rdparty/CCache + url = https://github.com/TheLartians/Ccache.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c355238b8c8..cb550a3057cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,8 @@ cmake_minimum_required(VERSION 3.2) project(tvm C CXX) +add_subdirectory("cmake/3rdparty/CCache") + # Utility functions include(cmake/utils/Utils.cmake) include(cmake/utils/Summary.cmake) diff --git a/cmake/3rdparty/CCache b/cmake/3rdparty/CCache new file mode 160000 index 000000000000..2f890b8d3bd8 --- /dev/null +++ b/cmake/3rdparty/CCache @@ -0,0 +1 @@ +Subproject commit 2f890b8d3bd810442c482797c24c7b3d97755215