提交 e9a123c8 编写于 作者: A Alex Duan

[TS-1220]<feature>(tsdb): add TSZ build to default

上级 200a9291
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
[submodule "deps/TSZ"] [submodule "deps/TSZ"]
path = deps/TSZ path = deps/TSZ
url = https://github.com/taosdata/TSZ.git url = https://github.com/taosdata/TSZ.git
branch = master
[submodule "src/kit/taos-tools"] [submodule "src/kit/taos-tools"]
path = src/kit/taos-tools path = src/kit/taos-tools
url = https://github.com/taosdata/taos-tools url = https://github.com/taosdata/taos-tools
...@@ -22,4 +23,4 @@ ...@@ -22,4 +23,4 @@
branch = develop branch = develop
[submodule "examples/rust"] [submodule "examples/rust"]
path = examples/rust path = examples/rust
url = https://github.com/songtianyi/tdengine-rust-bindings.git url = https://github.com/songtianyi/tdengine-rust-bindings.git
\ No newline at end of file
...@@ -96,11 +96,12 @@ IF (${VERBOSE} MATCHES "true") ...@@ -96,11 +96,12 @@ IF (${VERBOSE} MATCHES "true")
SET(TD_BUILD_VERBOSE TRUE) SET(TD_BUILD_VERBOSE TRUE)
ENDIF () ENDIF ()
IF (${TSZ_ENABLED} MATCHES "true") # build TSZ by default
# define add IF ("${TSZ_ENABLED}" MATCHES "false")
set(VAR_TSZ "" CACHE INTERNAL "global variant empty" )
ELSE()
# define add
MESSAGE(STATUS "build with TSZ enabled") MESSAGE(STATUS "build with TSZ enabled")
ADD_DEFINITIONS(-DTD_TSZ) ADD_DEFINITIONS(-DTD_TSZ)
set(VAR_TSZ "TSZ" CACHE INTERNAL "global variant tsz" ) set(VAR_TSZ "TSZ" CACHE INTERNAL "global variant tsz" )
ELSE() ENDIF()
set(VAR_TSZ "" CACHE INTERNAL "global variant empty" ) \ No newline at end of file
ENDIF()
...@@ -45,6 +45,6 @@ IF (TD_LINUX_64 AND JEMALLOC_ENABLED) ...@@ -45,6 +45,6 @@ IF (TD_LINUX_64 AND JEMALLOC_ENABLED)
INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/build/include) INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/build/include)
ENDIF () ENDIF ()
IF (${TSZ_ENABLED} MATCHES "true") IF (NOT "${TSZ_ENABLED}" MATCHES "false")
ADD_SUBDIRECTORY(TSZ) ADD_SUBDIRECTORY(TSZ
ENDIF() ENDIF()
Subproject commit 11c1060d4f917dd799ae628b131db5d6a5ef6954
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册