-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot cmake
on macOS 12.0.1 on M1 / osx-arm64
#2111
Comments
Could you provide the complete log of your |
Thanks for following up, @beauby ! I managed to get some help and worked around this by also specifying pointing the necessary library paths to LLVM clang paths, as well as turning off GPU support:
Note LLVM clang can be installed with Homebrew via:
|
Is it possible this will be corrected such that it does not require an extra compiler toolchain (LLVM) to be installed? Failing that, https://github.com/facebookresearch/faiss/blob/main/INSTALL.md should likely be updated with these instructions, if they are the 'official' approach. |
I am still having the same issue and the suggested solution does NOT work for me. |
Is there any update on this issue? |
Installing |
Summary
I am attempting to follow the instructions to build Faiss in: https://github.com/facebookresearch/faiss/blob/main/INSTALL.md
I am unable to produce the Makefile via
cmake
:Platform
OS: macOS 12.0.1
Faiss version: b598f55
CMake version: 3.21.4, installed via Homebrew
Running on:
Interface:
Reproduction instructions
Note that I do have
libopenmp
installed:An identical error occurs if I attempt to specify LLVM clang/clang++ (which support OpenMP):
I am successfully able to use homebrew to build/install Faiss (but I would like to produce Python bindings which the Homebrew build does not appear to support):
The text was updated successfully, but these errors were encountered: