Skip to content

Commit d7b9695

Browse files
authored
[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
1 parent fe5e6e4 commit d7b9695

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cmake/modules/contrib/LibTorch.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,12 @@ if(USE_LIBTORCH)
2323

2424
file(GLOB LIBTORCH_RELAY_CONTRIB_SRC
2525
src/relay/backend/contrib/libtorch/libtorch_codegen.cc
26-
src/runtime/contrib/libtorch/libtorch_runtime.cc
2726
)
2827
list(APPEND COMPILER_SRCS ${LIBTORCH_RELAY_CONTRIB_SRC})
2928

29+
file(GLOB LIBTORCH_RUNTIME_CONTRIB_SRC
30+
src/runtime/contrib/libtorch/libtorch_runtime.cc
31+
)
32+
list(APPEND RUNTIME_SRCS ${LIBTORCH_RUNTIME_CONTRIB_SRC})
33+
3034
endif(USE_LIBTORCH)

0 commit comments

Comments
 (0)