Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
kvdb
rocksdb
提交
7d838856
R
rocksdb
项目概览
kvdb
/
rocksdb
12 个月 前同步成功
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rocksdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7d838856
编写于
4月 15, 2014
作者:
I
Igor Canadi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix compile issues when doing make release
上级
0f40fe4b
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
11 deletion
+10
-11
Makefile
Makefile
+7
-8
db/db_impl.h
db/db_impl.h
+1
-1
db/db_impl_debug.cc
db/db_impl_debug.cc
+2
-2
未找到文件。
Makefile
浏览文件 @
7d838856
...
...
@@ -118,8 +118,7 @@ TOOLS = \
db_repl_stress
\
blob_store_bench
PROGRAMS
=
db_bench signal_test table_reader_bench
$(TESTS)
$(TOOLS)
PROGRAMS
=
db_bench signal_test table_reader_bench
$(TOOLS)
BENCHMARKS
=
db_bench_sqlite3 db_bench_tree_db table_reader_bench
# The library name is configurable since we are maintaining libraries of both
...
...
@@ -165,18 +164,18 @@ endif # PLATFORM_SHARED_EXT
release tags valgrind_check whitebox_crash_test format static_lib shared_lib all
\
dbg
all
:
$(LIBRARY) $(PROGRAMS)
all
:
$(LIBRARY) $(PROGRAMS)
$(TESTS)
static_lib
:
$(LIBRARY)
shared_lib
:
$(SHARED)
dbg
:
$(LIBRARY) $(PROGRAMS)
dbg
:
$(LIBRARY) $(PROGRAMS)
$(TESTS)
#
Will also generate shared libraries.
#
creates static library and programs
release
:
$(MAKE)
clean
OPT
=
"-DNDEBUG -O2"
$(MAKE)
all
-j32
OPT
=
"-DNDEBUG -O2"
$(MAKE)
static_lib
$(PROGRAMS)
-j32
coverage
:
$(MAKE)
clean
...
...
@@ -189,7 +188,7 @@ check: $(PROGRAMS) $(TESTS) $(TOOLS)
for
t
in
$(TESTS)
;
do
echo
"***** Running
$$
t"
;
./
$$
t
||
exit
1
;
done
python tools/ldb_test.py
ldb_tests
:
all $(PROGRAMS) $(TOOLS)
ldb_tests
:
all $(PROGRAMS) $(T
ESTS) $(T
OOLS)
python tools/ldb_test.py
crash_test
:
blackbox_crash_test whitebox_crash_test
...
...
@@ -225,7 +224,7 @@ valgrind_check: all $(PROGRAMS) $(TESTS)
done
clean
:
-
rm
-f
$(PROGRAMS)
$(BENCHMARKS)
$(LIBRARY)
$(SHARED)
$(MEMENVLIBRARY)
build_config.mk
-
rm
-f
$(PROGRAMS)
$(
TESTS)
$(
BENCHMARKS)
$(LIBRARY)
$(SHARED)
$(MEMENVLIBRARY)
build_config.mk
-
rm
-rf
ios-x86/
*
ios-arm/
*
-
find
.
-name
"*.[od]"
-exec
rm
{}
\;
-
find
.
-type
f
-regex
".*
\.\(\(
gcda
\)\|\(
gcno
\)\)
"
-exec
rm
{}
\;
...
...
db/db_impl.h
浏览文件 @
7d838856
...
...
@@ -146,7 +146,7 @@ class DBImpl : public DB {
int
output_level
,
const
Slice
*
begin
,
const
Slice
*
end
);
#ifndef
NDEBUG
#ifndef
ROCKSDB_LITE
// Extra methods (for testing) that are not in the public DB interface
// Implemented in db_impl_debug.cc
...
...
db/db_impl_debug.cc
浏览文件 @
7d838856
...
...
@@ -7,7 +7,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#ifndef
NDEBUG
#ifndef
ROCKSDB_LITE
#include "db/db_impl.h"
...
...
@@ -119,4 +119,4 @@ Status DBImpl::TEST_WaitForCompact() {
return
bg_error_
;
}
}
// namespace rocksdb
#endif //
NDEBUG
#endif //
ROCKSDB_LITE
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录