@@ -10,27 +10,26 @@ description: Use when building knowhere from source, configuring build options (
1010``` bash
1111# Ubuntu/Debian
1212sudo apt install build-essential libopenblas-openmp-dev libaio-dev python3-dev python3-pip
13- pip3 install conan==1.61.0 --user
13+ pip3 install conan==2.25.1 --user
14+ conan profile detect --force
1415export PATH=$PATH :$HOME /.local/bin
1516```
1617
1718## Build Commands
1819
1920``` bash
20- mkdir build && cd build
21- conan remote add default-conan-local https://milvus01.jfrog.io/artifactory/api/conan/default-conan-local
22- ```
21+ conan remote add default-conan-local2 https://milvus01.jfrog.io/artifactory/api/conan/default-conan-local2` ` `
2322
2423| Build Type | Command |
2524| ------------| ---------|
26- | CPU Release | ` conan install .. --build=missing -o with_ut=True -s compiler.libcxx=libstdc++11 -s build_type=Release ` |
27- | CPU Debug | ` conan install .. --build=missing -o with_ut=True -s compiler.libcxx=libstdc++11 -s build_type=Debug ` |
28- | GPU (CUVS) | ` conan install .. --build=missing -o with_ut=True -o with_cuvs=True -s compiler.libcxx=libstdc++11 -s build_type=Release ` |
29- | DISKANN | ` conan install .. --build=missing -o with_ut=True -o with_diskann=True -s compiler.libcxx=libstdc++11 -s build_type=Release ` |
30- | ASAN (CI default) | ` conan install .. --build=missing -o with_ut=True -o with_diskann=True -o with_asan=True -s compiler.libcxx=libstdc++11 -s build_type=Release ` |
31- | macOS | ` conan install .. --build=missing -o with_ut=True -s compiler.libcxx=libc++ -s build_type=Release ` |
32-
33- Then run: ` conan build .. `
25+ | CPU Release | ` conan install . --build=missing -o with_ut=True -s compiler.libcxx=libstdc++11 -s compiler.cppstd=17 -s build_type=Release` |
26+ | CPU Debug | ` conan install . --build=missing -o with_ut=True -s compiler.libcxx=libstdc++11 -s compiler.cppstd=17 -s build_type=Debug` |
27+ | GPU (CUVS) | ` conan install . --build=missing -o with_ut=True -o with_cuvs=True -s compiler.libcxx=libstdc++11 -s compiler.cppstd=17 -s build_type=Release` |
28+ | DISKANN | ` conan install . --build=missing -o with_ut=True -o with_diskann=True -s compiler.libcxx=libstdc++11 -s compiler.cppstd=17 -s build_type=Release` |
29+ | ASAN (CI default) | ` conan install . --build=missing -o with_ut=True -o with_diskann=True -o with_asan=True -s compiler.libcxx=libstdc++11 -s compiler.cppstd=17 -s build_type=Release` |
30+ | macOS | ` conan install . --build=missing -o with_ut=True -s compiler.libcxx=libc++ -s compiler.cppstd=17 -s build_type=Release` |
31+
32+ Then run: ` conan build .`
3433
3534# # Build Options
3635
0 commit comments