Jillian2017 opened a new issue #9316:
URL: https://github.com/apache/tvm/issues/9316
Hi,
I want to build the tvm library in static format, the default is shared.
So I change the CMakelish.txt file as follpws:
#add_library(tvm SHARED ${COMPILER_SRCS} ${RUNTIME_SRCS})
#add_library(tvm_topi SHARED ${TOPI_SRCS})
#add_library(tvm_runtime SHARED ${RUNTIME_SRCS})
add_library(tvm STATIC ${COMPILER_SRCS} ${RUNTIME_SRCS})
add_library(tvm_topi STATIC ${TOPI_SRCS})
add_library(tvm_runtime STATIC ${RUNTIME_SRCS})
After cmake and make, I get static library: libtvm.a, libtvm_runtime.a,
libtvm_topi.a
But in test, theses static library is slower than shared.
Anyone can help me?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]