Open Kunlun-Zhu opened 2 years ago
the cmake version is 3.22.1
I had a very similar error on ubuntu 18.04 with cmake 3.19.6 (p.s. I tried installing in this way because anaconda approach did not work either)
[ 11%] Creating directories for 'faiss'
[ 22%] Performing download step (git clone) for 'faiss'
Cloning into 'faiss'...
fatal: invalid reference: master
CMake Error at /my_project/code/Graph/graphvite/build/faiss/tmp/faiss-gitclone.cmake:40 (message):
Failed to checkout tag: 'master'
CMakeFiles/faiss.dir/build.make:108: recipe for target 'faiss/src/faiss-stamp/faiss-download' failed
make[2]: *** [faiss/src/faiss-stamp/faiss-download] Error 1
CMakeFiles/Makefile2:114: recipe for target 'CMakeFiles/faiss.dir/all' failed
make[1]: *** [CMakeFiles/faiss.dir/all] Error 2
Makefile:102: recipe for target 'all' failed
make: *** [all] Error 2
I guess it's because the repo's master branch is renamed as 'main', perhaps adding GIT_TAG in CMAKEList.txt will help
Hi, when I tried to install from source by running the following command
I got the following error
Any idea why would this happen? Thanks