From 11886d70bf562a97186c1634c59610353934a90a Mon Sep 17 00:00:00 2001 From: Yang Chen Date: Mon, 16 Sep 2019 09:59:41 -0700 Subject: [PATCH] Create a version for the tvm library current version is 0.5.1, where 0.5 is the tvm version and 1 is the MS patch version number --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c5e760095694..cc6811d94001 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -200,6 +200,8 @@ include(cmake/modules/contrib/NNPack.cmake) include(cmake/modules/contrib/HybridDump.cmake) add_library(tvm SHARED ${COMPILER_SRCS} ${RUNTIME_SRCS}) +# Create the lib version where 0.5 is the current TVM version and 1 is the MS patch version +set_target_properties(tvm PROPERTIES VERSION 0.5.1) add_library(tvm_topi SHARED ${TOPI_SRCS}) add_library(tvm_runtime SHARED ${RUNTIME_SRCS}) if(NOT USE_SGX STREQUAL "OFF")