Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
e5f9d78b
T
TDengine
项目概览
taosdata
/
TDengine
大约 1 年 前同步成功
通知
1184
Star
22015
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e5f9d78b
编写于
5月 24, 2023
作者:
S
slzhou
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: rocksdb so
上级
5b1e0be7
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
1 addition
and
69 deletion
+1
-69
cmake/cmake.options
cmake/cmake.options
+0
-5
contrib/CMakeLists.txt
contrib/CMakeLists.txt
+0
-56
contrib/test/CMakeLists.txt
contrib/test/CMakeLists.txt
+0
-3
source/dnode/mgmt/mgmt_dnode/CMakeLists.txt
source/dnode/mgmt/mgmt_dnode/CMakeLists.txt
+1
-1
source/dnode/vnode/CMakeLists.txt
source/dnode/vnode/CMakeLists.txt
+0
-2
source/libs/stream/CMakeLists.txt
source/libs/stream/CMakeLists.txt
+0
-2
未找到文件。
cmake/cmake.options
浏览文件 @
e5f9d78b
...
...
@@ -106,11 +106,6 @@ option(
OFF
)
option(
BUILD_WITH_ROCKSDB
"If build with rocksdb"
ON
)
option(
BUILD_WITH_SQLITE
...
...
contrib/CMakeLists.txt
浏览文件 @
e5f9d78b
...
...
@@ -77,11 +77,6 @@ if(${BUILD_WITH_LEVELDB})
cat
(
"
${
TD_SUPPORT_DIR
}
/leveldb_CMakeLists.txt.in"
${
CONTRIB_TMP_FILE
}
)
endif
(
${
BUILD_WITH_LEVELDB
}
)
# rocksdb
if
(
${
BUILD_WITH_ROCKSDB
}
)
cat
(
"
${
TD_SUPPORT_DIR
}
/rocksdb_CMakeLists.txt.in"
${
CONTRIB_TMP_FILE
}
)
add_definitions
(
-DUSE_ROCKSDB
)
endif
(
${
BUILD_WITH_ROCKSDB
}
)
# canonical-raft
if
(
${
BUILD_WITH_CRAFT
}
)
...
...
@@ -220,57 +215,6 @@ if(${BUILD_WITH_LEVELDB})
)
endif
(
${
BUILD_WITH_LEVELDB
}
)
# rocksdb
# To support rocksdb build on ubuntu: sudo apt-get install libgflags-dev
if
(
${
BUILD_WITH_ROCKSDB
}
)
if
(
${
TD_LINUX
}
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=unused-function -Wno-errno=unused-private-field -Wno-error=unused-result"
)
endif
(
${
TD_LINUX
}
)
if
(
${
TD_DARWIN
}
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wno-error=maybe-uninitialized"
)
endif
(
${
TD_DARWIN
}
)
if
(
${
TD_WINDOWS
}
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/wd4244 /wd4819"
)
endif
(
${
TD_WINDOWS
}
)
if
(
${
TD_DARWIN
}
)
option
(
HAVE_THREAD_LOCAL
""
OFF
)
option
(
WITH_IOSTATS_CONTEXT
""
OFF
)
option
(
WITH_PERF_CONTEXT
""
OFF
)
endif
(
${
TD_DARWIN
}
)
if
(
${
TD_WINDOWS
}
)
option
(
WITH_JNI
""
ON
)
endif
(
${
TD_WINDOWS
}
)
if
(
${
TD_WINDOWS
}
)
option
(
WITH_MD_LIBRARY
"build with MD"
OFF
)
set
(
SYSTEM_LIBS
${
SYSTEM_LIBS
}
shlwapi.lib rpcrt4.lib
)
endif
(
${
TD_WINDOWS
}
)
option
(
WITH_FALLOCATE
""
OFF
)
option
(
WITH_JEMALLOC
""
OFF
)
option
(
WITH_GFLAGS
""
OFF
)
option
(
PORTABLE
""
ON
)
option
(
WITH_LIBURING
""
OFF
)
option
(
FAIL_ON_WARNINGS OFF
)
option
(
WITH_TESTS
""
OFF
)
option
(
WITH_BENCHMARK_TOOLS
""
OFF
)
option
(
WITH_TOOLS
""
OFF
)
option
(
WITH_LIBURING
""
OFF
)
option
(
ROCKSDB_BUILD_SHARED
"Build shared versions of the RocksDB libraries"
OFF
)
add_subdirectory
(
rocksdb EXCLUDE_FROM_ALL
)
target_include_directories
(
rocksdb
PUBLIC $<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/rocksdb/include>
)
endif
(
${
BUILD_WITH_ROCKSDB
}
)
# lucene
# To support build on ubuntu: sudo apt-get install libboost-all-dev
...
...
contrib/test/CMakeLists.txt
浏览文件 @
e5f9d78b
# rocksdb
if
(
${
BUILD_WITH_ROCKSDB
}
)
add_subdirectory
(
rocksdb
)
endif
(
${
BUILD_WITH_ROCKSDB
}
)
if
(
${
BUILD_WITH_LUCENE
}
)
add_subdirectory
(
lucene
)
...
...
source/dnode/mgmt/mgmt_dnode/CMakeLists.txt
浏览文件 @
e5f9d78b
...
...
@@ -9,5 +9,5 @@ target_include_directories(
PUBLIC
"
${
GRANT_CFG_INCLUDE_DIR
}
"
)
target_link_libraries
(
mgmt_dnode node_util
mgmt_dnode node_util
rocksdb
)
\ No newline at end of file
source/dnode/vnode/CMakeLists.txt
浏览文件 @
e5f9d78b
...
...
@@ -117,9 +117,7 @@ if(${BUILD_WITH_INVERTEDINDEX})
add_definitions
(
-DUSE_INVERTED_INDEX
)
endif
(
${
BUILD_WITH_INVERTEDINDEX
}
)
if
(
${
BUILD_WITH_ROCKSDB
}
)
add_definitions
(
-DUSE_ROCKSDB
)
endif
(
${
BUILD_WITH_ROCKSDB
}
)
...
...
source/libs/stream/CMakeLists.txt
浏览文件 @
e5f9d78b
...
...
@@ -6,7 +6,6 @@ target_include_directories(
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/inc"
)
if
(
${
BUILD_WITH_ROCKSDB
}
)
target_link_libraries
(
stream
PUBLIC rocksdb tdb
...
...
@@ -19,7 +18,6 @@ if(${BUILD_WITH_ROCKSDB})
)
add_definitions
(
-DUSE_ROCKSDB
)
endif
(
${
BUILD_WITH_ROCKSDB
}
)
#target_link_libraries(
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录