This is an automated email from the ASF dual-hosted git repository.
ruihangl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new d7b96950e7 [BugFix] Move symbols that are relevant to the runtime from
libtvm to… (#15748)
d7b96950e7 is described below
commit d7b96950e7c118b2bcaff12244451fc77629d501
Author: neucer <[email protected]>
AuthorDate: Sun Sep 17 23:07:26 2023 +0300
[BugFix] Move symbols that are relevant to the runtime from libtvm to…
(#15748)
Move symbols that are relevant to the runtime from libtvm to libtvm-runtime
---
cmake/modules/contrib/LibTorch.cmake | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/cmake/modules/contrib/LibTorch.cmake
b/cmake/modules/contrib/LibTorch.cmake
index 0e00e7008c..85881410ad 100644
--- a/cmake/modules/contrib/LibTorch.cmake
+++ b/cmake/modules/contrib/LibTorch.cmake
@@ -23,8 +23,12 @@ if(USE_LIBTORCH)
file(GLOB LIBTORCH_RELAY_CONTRIB_SRC
src/relay/backend/contrib/libtorch/libtorch_codegen.cc
- src/runtime/contrib/libtorch/libtorch_runtime.cc
)
list(APPEND COMPILER_SRCS ${LIBTORCH_RELAY_CONTRIB_SRC})
+ file(GLOB LIBTORCH_RUNTIME_CONTRIB_SRC
+ src/runtime/contrib/libtorch/libtorch_runtime.cc
+ )
+ list(APPEND RUNTIME_SRCS ${LIBTORCH_RUNTIME_CONTRIB_SRC})
+
endif(USE_LIBTORCH)