Loading CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ Please mark all change in change log and use the ticket from JIRA. - \#314 - add Find FAISS in CMake - \#310 - Add Q&A for 'protocol https not supported or disable in libcurl' issue - \#322 - Add option to enable / disable prometheus - \#358 - Add more information in build.sh and install.md ## Task Loading core/build.sh +85 −84 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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" Loading Loading @@ -75,7 +74,9 @@ 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. If they can't be found, we will build the original FAISS from source instead. -u: building unit test options(default: OFF) -l: run cpplint, clang-format and clang-tidy(default: OFF) -r: remove previous build directory(default: OFF) Loading @@ -84,7 +85,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: Loading install.md +9 −4 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 ``` Loading @@ -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 Loading Loading
CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ Please mark all change in change log and use the ticket from JIRA. - \#314 - add Find FAISS in CMake - \#310 - Add Q&A for 'protocol https not supported or disable in libcurl' issue - \#322 - Add option to enable / disable prometheus - \#358 - Add more information in build.sh and install.md ## Task Loading
core/build.sh +85 −84 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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" Loading Loading @@ -75,7 +74,9 @@ 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. If they can't be found, we will build the original FAISS from source instead. -u: building unit test options(default: OFF) -l: run cpplint, clang-format and clang-tidy(default: OFF) -r: remove previous build directory(default: OFF) Loading @@ -84,7 +85,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: Loading
install.md +9 −4 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 ``` Loading @@ -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 Loading