Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
milvus
提交
f6018919
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,发现更多精彩内容 >>
提交
f6018919
编写于
11月 15, 2019
作者:
Z
Zhiru Zhu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update build.sh and install.md
上级
49ec7e1a
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
93 addition
and
88 deletion
+93
-88
core/build.sh
core/build.sh
+84
-84
install.md
install.md
+9
-4
未找到文件。
core/build.sh
浏览文件 @
f6018919
...
...
@@ -18,8 +18,7 @@ FAISS_ROOT="" #FAISS root path
FAISS_SOURCE
=
"BUNDLED"
WITH_PROMETHEUS
=
"ON"
while
getopts
"p:d:t:f:ulrcgjhxzme"
arg
do
while
getopts
"p:d:t:f:ulrcgjhxzme"
arg
;
do
case
$arg
in
p
)
INSTALL_PREFIX
=
$OPTARG
...
...
@@ -35,8 +34,8 @@ do
FAISS_SOURCE
=
"AUTO"
;;
u
)
echo
"Build and run unittest cases"
;
BUILD_UNITTEST
=
"ON"
;
echo
"Build and run unittest cases"
BUILD_UNITTEST
=
"ON"
;;
l
)
RUN_CPPLINT
=
"ON"
...
...
@@ -75,7 +74,8 @@ parameter:
-p: install prefix(default:
$(
pwd
)
/milvus)
-d: db data path(default: /tmp/milvus)
-t: build type(default: Debug)
-f: faiss root path(default: empty)
-f: FAISS root path(default: empty). The path should be an absolute path
containing the pre-installed lib/ and include/ directory of FAISS
-u: building unit test options(default: OFF)
-l: run cpplint, clang-format and clang-tidy(default: OFF)
-r: remove previous build directory(default: OFF)
...
...
@@ -84,7 +84,7 @@ parameter:
-j: use jfrog cache build directory(default: OFF)
-g: build GPU version(default: OFF)
-m: build with MKL(default: OFF)
-e: build without prometheus
-e: build without prometheus
(default: OFF)
-h: help
usage:
...
...
@@ -107,7 +107,7 @@ cd ${BUILD_OUTPUT_DIR}
# remove make cache since build.sh -l use default variables
# force update the variables each time
make rebuild_cache
>
/dev/null 2>&1
make rebuild_cache
>
/dev/null 2>&1
CMAKE_CMD
=
"cmake
\
-DBUILD_UNIT_TEST=
${
BUILD_UNITTEST
}
\
...
...
install.md
浏览文件 @
f6018919
...
...
@@ -29,10 +29,15 @@ $ ./build.sh -t Release
```
By default, it will build CPU version. To build GPU version, add
`-g`
option
```
```
shell
$
./build.sh
-g
```
If you want to know the complete build options, run
```
shell
$.
/build.sh
-h
```
When the build is completed, all the stuff that you need in order to run Milvus will be installed under
`[Milvus root path]/core/milvus`
.
## Launch Milvus server
...
...
@@ -43,13 +48,13 @@ $ cd [Milvus root path]/core/milvus
Add
`lib/`
directory to
`LD_LIBRARY_PATH`
```
```
shell
$
export
LD_LIBRARY_PATH
=
$LD_LIBRARY_PATH
:[Milvus root path]/core/milvus/lib
```
Then start Milvus server:
```
```
shell
$
cd
scripts
$
./start_server.sh
```
...
...
@@ -65,7 +70,7 @@ $ ./stop_server.sh
`protocol https not supported or disabled in libcurl`
.
First, make sure you have
`libcurl4-openssl-dev`
installed in your system.
Then try reinstall CMake from source with
`--system-curl`
option:
```
```
shell
$
./bootstrap
--system-curl
$
make
$
sudo
make
install
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录