Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
milvus
提交
f251d26b
milvus
项目概览
BaiXuePrincess
/
milvus
与 Fork 源项目一致
从无法访问的项目Fork
通知
7
Star
4
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
milvus
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f251d26b
编写于
11月 13, 2019
作者:
W
wxyu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Reside src/external in thirdparty
上级
7edf3e8a
变更
19
隐藏空白更改
内联
并排
Showing
19 changed file
with
29 addition
and
25 deletion
+29
-25
CHANGELOG.md
CHANGELOG.md
+1
-0
ci/jenkins/scripts/coverage.sh
ci/jenkins/scripts/coverage.sh
+1
-1
core/CMakeLists.txt
core/CMakeLists.txt
+1
-0
core/build-support/lint_exclusions.txt
core/build-support/lint_exclusions.txt
+1
-1
core/coverage.sh
core/coverage.sh
+1
-1
core/src/CMakeLists.txt
core/src/CMakeLists.txt
+7
-6
core/src/index/knowhere/knowhere/common/Log.h
core/src/index/knowhere/knowhere/common/Log.h
+1
-1
core/src/index/unittest/CMakeLists.txt
core/src/index/unittest/CMakeLists.txt
+1
-1
core/src/main.cpp
core/src/main.cpp
+1
-1
core/src/utils/Json.h
core/src/utils/Json.h
+1
-1
core/src/utils/Log.h
core/src/utils/Log.h
+1
-1
core/src/utils/LogUtil.h
core/src/utils/LogUtil.h
+1
-1
core/thirdparty/easyloggingpp/easylogging++.cc
core/thirdparty/easyloggingpp/easylogging++.cc
+0
-0
core/thirdparty/easyloggingpp/easylogging++.h
core/thirdparty/easyloggingpp/easylogging++.h
+0
-0
core/thirdparty/nlohmann/json.hpp
core/thirdparty/nlohmann/json.hpp
+0
-0
core/unittest/CMakeLists.txt
core/unittest/CMakeLists.txt
+8
-7
core/unittest/main.cpp
core/unittest/main.cpp
+1
-1
core/unittest/wrapper/CMakeLists.txt
core/unittest/wrapper/CMakeLists.txt
+1
-1
core/unittest/wrapper/test_wrapper.cpp
core/unittest/wrapper/test_wrapper.cpp
+1
-1
未找到文件。
CHANGELOG.md
浏览文件 @
f251d26b
...
@@ -6,6 +6,7 @@ Please mark all change in change log and use the ticket from JIRA.
...
@@ -6,6 +6,7 @@ Please mark all change in change log and use the ticket from JIRA.
## Bug
## Bug
-
\#
246 - Exclude src/external folder from code coverage for jenkin ci
-
\#
246 - Exclude src/external folder from code coverage for jenkin ci
-
\#
248 - Reside src/external in thirdparty
## Feature
## Feature
-
\#
12 - Pure CPU version for Milvus
-
\#
12 - Pure CPU version for Milvus
...
...
ci/jenkins/scripts/coverage.sh
浏览文件 @
f251d26b
...
@@ -132,7 +132,7 @@ ${LCOV_CMD} -r "${FILE_INFO_OUTPUT}" -o "${FILE_INFO_OUTPUT_NEW}" \
...
@@ -132,7 +132,7 @@ ${LCOV_CMD} -r "${FILE_INFO_OUTPUT}" -o "${FILE_INFO_OUTPUT_NEW}" \
"*/src/server/Server.cpp"
\
"*/src/server/Server.cpp"
\
"*/src/server/DBWrapper.cpp"
\
"*/src/server/DBWrapper.cpp"
\
"*/src/server/grpc_impl/GrpcServer.cpp"
\
"*/src/server/grpc_impl/GrpcServer.cpp"
\
"*/
src/external
/*"
"*/
thirdparty
/*"
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
echo
"gen
${
FILE_INFO_OUTPUT_NEW
}
failed"
echo
"gen
${
FILE_INFO_OUTPUT_NEW
}
failed"
...
...
core/CMakeLists.txt
浏览文件 @
f251d26b
...
@@ -112,6 +112,7 @@ endif ()
...
@@ -112,6 +112,7 @@ endif ()
set
(
MILVUS_SOURCE_DIR
${
PROJECT_SOURCE_DIR
}
)
set
(
MILVUS_SOURCE_DIR
${
PROJECT_SOURCE_DIR
}
)
set
(
MILVUS_BINARY_DIR
${
PROJECT_BINARY_DIR
}
)
set
(
MILVUS_BINARY_DIR
${
PROJECT_BINARY_DIR
}
)
set
(
MILVUS_ENGINE_SRC
${
PROJECT_SOURCE_DIR
}
/src
)
set
(
MILVUS_ENGINE_SRC
${
PROJECT_SOURCE_DIR
}
/src
)
set
(
MILVUS_THIRDPARTY_SRC
${
PROJECT_SOURCE_DIR
}
/thirdparty
)
include
(
ExternalProject
)
include
(
ExternalProject
)
include
(
DefineOptions
)
include
(
DefineOptions
)
...
...
core/build-support/lint_exclusions.txt
浏览文件 @
f251d26b
...
@@ -6,5 +6,5 @@
...
@@ -6,5 +6,5 @@
*easylogging++*
*easylogging++*
*SqliteMetaImpl.cpp
*SqliteMetaImpl.cpp
*src/grpc*
*src/grpc*
*
src/external
*
*
thirdparty
*
*milvus/include*
*milvus/include*
\ No newline at end of file
core/coverage.sh
浏览文件 @
f251d26b
...
@@ -122,7 +122,7 @@ ${LCOV_CMD} -r "${FILE_INFO_OUTPUT}" -o "${FILE_INFO_OUTPUT_NEW}" \
...
@@ -122,7 +122,7 @@ ${LCOV_CMD} -r "${FILE_INFO_OUTPUT}" -o "${FILE_INFO_OUTPUT_NEW}" \
"*/src/server/Server.cpp"
\
"*/src/server/Server.cpp"
\
"*/src/server/DBWrapper.cpp"
\
"*/src/server/DBWrapper.cpp"
\
"*/src/server/grpc_impl/GrpcServer.cpp"
\
"*/src/server/grpc_impl/GrpcServer.cpp"
\
"*/
src/external
/*"
"*/
thirdparty
/*"
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
echo
"generate
${
FILE_INFO_OUTPUT_NEW
}
failed"
echo
"generate
${
FILE_INFO_OUTPUT_NEW
}
failed"
...
...
core/src/CMakeLists.txt
浏览文件 @
f251d26b
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
include_directories
(
${
MILVUS_SOURCE_DIR
}
)
include_directories
(
${
MILVUS_SOURCE_DIR
}
)
include_directories
(
${
MILVUS_ENGINE_SRC
}
)
include_directories
(
${
MILVUS_ENGINE_SRC
}
)
include_directories
(
${
MILVUS_THIRDPARTY_SRC
}
)
include_directories
(
${
MILVUS_ENGINE_SRC
}
/grpc/gen-status
)
include_directories
(
${
MILVUS_ENGINE_SRC
}
/grpc/gen-status
)
include_directories
(
${
MILVUS_ENGINE_SRC
}
/grpc/gen-milvus
)
include_directories
(
${
MILVUS_ENGINE_SRC
}
/grpc/gen-milvus
)
...
@@ -65,11 +66,11 @@ set(scheduler_files
...
@@ -65,11 +66,11 @@ set(scheduler_files
${
scheduler_task_files
}
${
scheduler_task_files
}
)
)
aux_source_directory
(
${
MILVUS_
ENGINE_SRC
}
/external/easyloggingpp external
_easyloggingpp_files
)
aux_source_directory
(
${
MILVUS_
THIRDPARTY_SRC
}
/easyloggingpp thirdparty
_easyloggingpp_files
)
aux_source_directory
(
${
MILVUS_
ENGINE_SRC
}
/external/nlohmann external
_nlohmann_files
)
aux_source_directory
(
${
MILVUS_
THIRDPARTY_SRC
}
/nlohmann thirdparty
_nlohmann_files
)
set
(
external
_files
set
(
thirdparty
_files
${
external
_easyloggingpp_files
}
${
thirdparty
_easyloggingpp_files
}
${
external
_nlohmann_files
}
${
thirdparty
_nlohmann_files
}
)
)
aux_source_directory
(
${
MILVUS_ENGINE_SRC
}
/server server_files
)
aux_source_directory
(
${
MILVUS_ENGINE_SRC
}
/server server_files
)
...
@@ -85,7 +86,7 @@ set(engine_files
...
@@ -85,7 +86,7 @@ set(engine_files
${
db_insert_files
}
${
db_insert_files
}
${
db_meta_files
}
${
db_meta_files
}
${
metrics_files
}
${
metrics_files
}
${
external
_files
}
${
thirdparty
_files
}
${
utils_files
}
${
utils_files
}
${
wrapper_files
}
${
wrapper_files
}
)
)
...
...
core/src/index/knowhere/knowhere/common/Log.h
浏览文件 @
f251d26b
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#pragma once
#pragma once
#include "e
xternal/e
asyloggingpp/easylogging++.h"
#include "easyloggingpp/easylogging++.h"
namespace
knowhere
{
namespace
knowhere
{
...
...
core/src/index/unittest/CMakeLists.txt
浏览文件 @
f251d26b
...
@@ -27,7 +27,7 @@ set(basic_libs
...
@@ -27,7 +27,7 @@ set(basic_libs
)
)
set
(
util_srcs
set
(
util_srcs
${
MILVUS_
ENGINE_SRC
}
/external
/easyloggingpp/easylogging++.cc
${
MILVUS_
THIRDPARTY_SRC
}
/easyloggingpp/easylogging++.cc
${
INDEX_SOURCE_DIR
}
/knowhere/knowhere/index/vector_index/helpers/FaissIO.cpp
${
INDEX_SOURCE_DIR
}
/knowhere/knowhere/index/vector_index/helpers/FaissIO.cpp
${
INDEX_SOURCE_DIR
}
/knowhere/knowhere/index/vector_index/helpers/IndexParameter.cpp
${
INDEX_SOURCE_DIR
}
/knowhere/knowhere/index/vector_index/helpers/IndexParameter.cpp
${
INDEX_SOURCE_DIR
}
/knowhere/knowhere/adapter/Structure.cpp
${
INDEX_SOURCE_DIR
}
/knowhere/knowhere/adapter/Structure.cpp
...
...
core/src/main.cpp
浏览文件 @
f251d26b
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#include <cstring>
#include <cstring>
#include <string>
#include <string>
#include "e
xternal/e
asyloggingpp/easylogging++.h"
#include "easyloggingpp/easylogging++.h"
#include "metrics/Metrics.h"
#include "metrics/Metrics.h"
#include "server/Server.h"
#include "server/Server.h"
#include "src/config.h"
#include "src/config.h"
...
...
core/src/utils/Json.h
浏览文件 @
f251d26b
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
// under the License.
// under the License.
#pragma once
#pragma once
#include "
external/
nlohmann/json.hpp"
#include "nlohmann/json.hpp"
namespace
milvus
{
namespace
milvus
{
using
json
=
nlohmann
::
json
;
using
json
=
nlohmann
::
json
;
...
...
core/src/utils/Log.h
浏览文件 @
f251d26b
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#pragma once
#pragma once
#include "e
xternal/e
asyloggingpp/easylogging++.h"
#include "easyloggingpp/easylogging++.h"
namespace
milvus
{
namespace
milvus
{
...
...
core/src/utils/LogUtil.h
浏览文件 @
f251d26b
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#pragma once
#pragma once
#include "e
xternal/e
asyloggingpp/easylogging++.h"
#include "easyloggingpp/easylogging++.h"
#include "utils/Status.h"
#include "utils/Status.h"
#include <sstream>
#include <sstream>
...
...
core/
src/external
/easyloggingpp/easylogging++.cc
→
core/
thirdparty
/easyloggingpp/easylogging++.cc
浏览文件 @
f251d26b
文件已移动
core/
src/external
/easyloggingpp/easylogging++.h
→
core/
thirdparty
/easyloggingpp/easylogging++.h
浏览文件 @
f251d26b
文件已移动
core/
src/external
/nlohmann/json.hpp
→
core/
thirdparty
/nlohmann/json.hpp
浏览文件 @
f251d26b
文件已移动
core/unittest/CMakeLists.txt
浏览文件 @
f251d26b
...
@@ -23,6 +23,7 @@ endforeach ()
...
@@ -23,6 +23,7 @@ endforeach ()
include_directories
(
${
MILVUS_SOURCE_DIR
}
)
include_directories
(
${
MILVUS_SOURCE_DIR
}
)
include_directories
(
${
MILVUS_ENGINE_SRC
}
)
include_directories
(
${
MILVUS_ENGINE_SRC
}
)
include_directories
(
${
MILVUS_THIRDPARTY_SRC
}
)
include_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
)
include_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
)
aux_source_directory
(
${
MILVUS_ENGINE_SRC
}
/cache cache_files
)
aux_source_directory
(
${
MILVUS_ENGINE_SRC
}
/cache cache_files
)
...
@@ -57,11 +58,11 @@ set(scheduler_files
...
@@ -57,11 +58,11 @@ set(scheduler_files
${
scheduler_optimizer_files
}
${
scheduler_optimizer_files
}
)
)
aux_source_directory
(
${
MILVUS_
ENGINE_SRC
}
/external/easyloggingpp external
_easyloggingpp_files
)
aux_source_directory
(
${
MILVUS_
THIRDPARTY_SRC
}
/easyloggingpp thirdparty
_easyloggingpp_files
)
aux_source_directory
(
${
MILVUS_
ENGINE_SRC
}
/external/nlohmann external
_nlohmann_files
)
aux_source_directory
(
${
MILVUS_
THIRDPARTY_SRC
}
/nlohmann thirdparty
_nlohmann_files
)
set
(
external
_files
set
(
thirdparty
_files
${
external
_easyloggingpp_files
}
${
thirdparty
_easyloggingpp_files
}
${
external
_nlohmann_files
}
${
thirdparty
_nlohmann_files
}
)
)
aux_source_directory
(
${
MILVUS_ENGINE_SRC
}
/server server_files
)
aux_source_directory
(
${
MILVUS_ENGINE_SRC
}
/server server_files
)
...
@@ -79,7 +80,7 @@ set(helper_files
...
@@ -79,7 +80,7 @@ set(helper_files
${
MILVUS_ENGINE_SRC
}
/utils/Status.cpp
${
MILVUS_ENGINE_SRC
}
/utils/Status.cpp
${
MILVUS_ENGINE_SRC
}
/utils/StringHelpFunctions.cpp
${
MILVUS_ENGINE_SRC
}
/utils/StringHelpFunctions.cpp
${
MILVUS_ENGINE_SRC
}
/utils/ValidationUtil.cpp
${
MILVUS_ENGINE_SRC
}
/utils/ValidationUtil.cpp
${
MILVUS_
ENGINE_SRC
}
/external
/easyloggingpp/easylogging++.cc
${
MILVUS_
THIRDPARTY_SRC
}
/easyloggingpp/easylogging++.cc
)
)
set
(
common_files
set
(
common_files
...
@@ -90,7 +91,7 @@ set(common_files
...
@@ -90,7 +91,7 @@ set(common_files
${
db_insert_files
}
${
db_insert_files
}
${
db_meta_files
}
${
db_meta_files
}
${
metrics_files
}
${
metrics_files
}
${
external
_files
}
${
thirdparty
_files
}
${
scheduler_files
}
${
scheduler_files
}
${
wrapper_files
}
${
wrapper_files
}
${
helper_files
}
${
helper_files
}
...
...
core/unittest/main.cpp
浏览文件 @
f251d26b
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
#include <gmock/gmock.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <gtest/gtest.h>
#include "e
xternal/e
asyloggingpp/easylogging++.h"
#include "easyloggingpp/easylogging++.h"
INITIALIZE_EASYLOGGINGPP
INITIALIZE_EASYLOGGINGPP
...
...
core/unittest/wrapper/CMakeLists.txt
浏览文件 @
f251d26b
...
@@ -32,7 +32,7 @@ set(wrapper_files
...
@@ -32,7 +32,7 @@ set(wrapper_files
set
(
util_files
set
(
util_files
utils.cpp
utils.cpp
${
MILVUS_
ENGINE_SRC
}
/external
/easyloggingpp/easylogging++.cc
${
MILVUS_
THIRDPARTY_SRC
}
/easyloggingpp/easylogging++.cc
${
MILVUS_ENGINE_SRC
}
/utils/Status.cpp
${
MILVUS_ENGINE_SRC
}
/utils/Status.cpp
)
)
...
...
core/unittest/wrapper/test_wrapper.cpp
浏览文件 @
f251d26b
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// specific language governing permissions and limitations
// under the License.
// under the License.
#include "e
xternal/e
asyloggingpp/easylogging++.h"
#include "easyloggingpp/easylogging++.h"
#include "wrapper/VecIndex.h"
#include "wrapper/VecIndex.h"
#ifdef MILVUS_GPU_VERSION
#ifdef MILVUS_GPU_VERSION
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录