Skip to content
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

[faiss-sys] Update faiss lib to v1.7.2 #52

Merged
merged 4 commits into from
Mar 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions faiss-sys/ci/install_faiss_c.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env bash
set -eu

repo_url=https://github.com/Enet4/faiss.git
repo_rev=c_api_head
repo_url=https://github.com/facebookresearch/faiss
repo_rev=v1.7.2

git clone $repo_url faiss --branch $repo_rev --depth 1
git clone "$repo_url" faiss --branch "$repo_rev" --depth 1

mkdir -p "$HOME/.faiss_c"

Expand Down
6 changes: 3 additions & 3 deletions faiss-sys/gen_bindings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ if ! which bindgen > /dev/null; then
exit 1
fi

repo_url=https://github.com/Enet4/faiss.git
repo_rev=c_api_head
repo_url=https://github.com/facebookresearch/faiss
repo_rev=v1.7.2
cuda_root=/opt/cuda

git clone $repo_url faiss --branch $repo_rev --depth 1
git clone "$repo_url" faiss --branch "$repo_rev" --depth 1

bindgen_opt='--size_t-is-usize --whitelist-function faiss_.* --whitelist-type idx_t|Faiss.* --opaque-type FILE'

Expand Down
Loading