mirror of https://github.com/milvus-io/milvus.git
commit
2a9d718362
|
@ -0,0 +1,3 @@
|
|||
Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
|
||||
Unauthorized copying of this file, via any medium is strictly prohibited.
|
||||
Proprietary and confidential.
|
|
@ -1,27 +1,24 @@
|
|||
# vecwise_engine_server
|
||||
|
||||
### Build and Install
|
||||
Firstly download zdb_server to under same parent folder with zdb_build
|
||||
|
||||
git clone git@192.168.1.105:jinhai/vecwise_engine.git
|
||||
|
||||
Install necessery tools
|
||||
### Compilation
|
||||
#### Step 1: install necessery tools
|
||||
|
||||
centos7 : yum install gfortran
|
||||
ubunut : sudo apt-install install gfortran
|
||||
|
||||
Build third-parties
|
||||
#### Step 2: build third-parties
|
||||
|
||||
cd [sourcecode path]/cpp/thid_party
|
||||
./build.sh
|
||||
|
||||
Then run build.sh scripts under cpp folder:
|
||||
#### Step 3: build(output to cmake_build folder)
|
||||
cmake_build/src/vecwise_engine_server is the server
|
||||
|
||||
cmake_build/src/libvecwise_engine.a is the static library
|
||||
|
||||
cd [sourcecode path]/cpp
|
||||
./build.sh -t Debug
|
||||
./build.sh -t Release
|
||||
|
||||
To run unittest:
|
||||
#### To build unittest:
|
||||
|
||||
./build.sh -u
|
||||
or
|
||||
|
@ -30,5 +27,8 @@ To run unittest:
|
|||
|
||||
### Luanch server
|
||||
Set config in cpp/conf/server_config.yaml
|
||||
|
||||
Then luanch server with config:
|
||||
vecwise_engine_server -c [sourcecode path]/cpp/conf/server_config.yaml
|
||||
|
||||
vecwise_engine_server -c [sourcecode path]/cpp/conf/server_config.yaml
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ set(vecwise_engine_src
|
|||
${cache_files}
|
||||
)
|
||||
|
||||
add_library(vecwise_engine SHARED ${vecwise_engine_src})
|
||||
add_library(vecwise_engine STATIC ${vecwise_engine_src})
|
||||
|
||||
add_executable(vecwise_engine_server
|
||||
${config_files}
|
||||
|
|
Loading…
Reference in New Issue