File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1414 - name : Checkout code
1515 uses : actions/checkout@v3
1616 with :
17- submodules : recursive # <-- 這行會讓它用 HTTPS 把 extern/faiss 拉下來
17+ submodules : recursive
1818
1919 - name : Init submodules
2020 run : git submodule update --init --recursive
3434 run : |
3535 mkdir -p extern/faiss/build
3636 cd extern/faiss/build
37- cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DFAISS_ENABLE_PYTHON=OFF -DFAISS_ENABLE_TESTING=OFF - DCMAKE_INSTALL_PREFIX=$(pwd)/install
37+ cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON DCMAKE_POSITION_INDEPENDENT_CODE=ON DCMAKE_INSTALL_PREFIX=" $(pwd)/install" DFAISS_ENABLE_PYTHON=OFF -DFAISS_ENABLE_TESTING=OFF DFAISS_ENABLE_GPU=OFF DFAISS_ENABLE_CUDA=OFF
3838 make -j$(nproc)
3939 make install
4040
You can’t perform that action at this time.
0 commit comments