Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ cxx_compiler_version:
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
libblas:
- 3.9 *netlib
- 3.9.* *netlib
liblapack:
- 3.9 *netlib
- 3.9.* *netlib
numpy:
- '1.22'
- '1.23'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ cxx_compiler_version:
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
libblas:
- 3.9 *netlib
- 3.9.* *netlib
liblapack:
- 3.9 *netlib
- 3.9.* *netlib
numpy:
- '1.22'
- '1.23'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ cxx_compiler_version:
docker_image:
- quay.io/condaforge/linux-anvil-x86_64-cuda11.8:ubi8
libblas:
- 3.9 *netlib
- 3.9.* *netlib
liblapack:
- 3.9 *netlib
- 3.9.* *netlib
numpy:
- '1.22'
- '1.23'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ cxx_compiler_version:
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
libblas:
- 3.9 *netlib
- 3.9.* *netlib
liblapack:
- 3.9 *netlib
- 3.9.* *netlib
numpy:
- '1.22'
- '1.23'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ cxx_compiler_version:
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
libblas:
- 3.9 *netlib
- 3.9.* *netlib
liblapack:
- 3.9 *netlib
- 3.9.* *netlib
numpy:
- '1.22'
- '1.23'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ cxx_compiler_version:
docker_image:
- quay.io/condaforge/linux-anvil-x86_64-cuda11.8:ubi8
libblas:
- 3.9 *netlib
- 3.9.* *netlib
liblapack:
- 3.9 *netlib
- 3.9.* *netlib
numpy:
- '1.22'
- '1.23'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ cxx_compiler_version:
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
libblas:
- 3.9 *netlib
- 3.9.* *netlib
liblapack:
- 3.9 *netlib
- 3.9.* *netlib
numpy:
- '1.22'
- '1.23'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ cxx_compiler_version:
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
libblas:
- 3.9 *netlib
- 3.9.* *netlib
liblapack:
- 3.9 *netlib
- 3.9.* *netlib
numpy:
- '1.22'
- '1.23'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ cxx_compiler_version:
docker_image:
- quay.io/condaforge/linux-anvil-x86_64-cuda11.8:ubi8
libblas:
- 3.9 *netlib
- 3.9.* *netlib
liblapack:
- 3.9 *netlib
- 3.9.* *netlib
numpy:
- '1.22'
- '1.23'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ cuda_compiler_version:
cxx_compiler:
- vs2019
libblas:
- 3.9 *netlib
- 3.9.* *netlib
liblapack:
- 3.9 *netlib
- 3.9.* *netlib
numpy:
- '1.22'
- '1.23'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ cuda_compiler_version:
cxx_compiler:
- vs2019
libblas:
- 3.9 *netlib
- 3.9.* *netlib
liblapack:
- 3.9 *netlib
- 3.9.* *netlib
numpy:
- '1.22'
- '1.23'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ cuda_compiler_version:
cxx_compiler:
- vs2019
libblas:
- 3.9 *netlib
- 3.9.* *netlib
liblapack:
- 3.9 *netlib
- 3.9.* *netlib
numpy:
- '1.22'
- '1.23'
Expand Down
5 changes: 5 additions & 0 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .scripts/run_docker_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 33 additions & 14 deletions build-locally.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "1.9.0" %}
{% set version = "1.11.0" %}
# see github.com/conda-forge/conda-forge.github.io/issues/1059 for naming discussion
{% set faiss_proc_type = "cuda" if cuda_compiler_version != "None" else "cpu" %}

Expand Down Expand Up @@ -41,7 +41,7 @@ package:

source:
url: https://github.com/facebookresearch/faiss/archive/v{{ version }}.tar.gz
sha256: f6721f1a479b0bdd8547e5bb0dbfa872643e7ea37686c6bf6fc99fb933b3fe4f
sha256: c5d517da6deb6a6d74290d7145331fc7474426025e2d826fa4a6d40670f4493c
patches:
- patches/0001-adapt-header-target-directory-to-outputname.patch
# patch for avoiding crash in GPU test suite on windows
Expand Down Expand Up @@ -88,10 +88,10 @@ outputs:
- exit 0

- name: libfaiss
script: build-lib.sh # [unix]
script: build-lib.bat # [win]
script: build-lib.sh # [unix]
script: build-lib.bat # [win]
build:
string: "h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ faiss_proc_type }}" # [cuda_compiler_version == "None"]
string: "h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ faiss_proc_type }}" # [cuda_compiler_version == "None"]
string: "cuda{{ cuda_compiler_version | replace('.', '') }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ faiss_proc_type }}" # [cuda_compiler_version != "None"]
run_exports:
# faiss follows SemVer, so restrict packages built with libfaiss to use
Expand Down Expand Up @@ -156,10 +156,10 @@ outputs:
- if not exist %LIBRARY_LIB%\cmake\faiss\faiss-targets.cmake exit 1 # [win]

- name: faiss
script: build-pkg.sh # [not win]
script: build-pkg.bat # [win]
script: build-pkg.sh # [not win]
script: build-pkg.bat # [win]
build:
string: "py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ faiss_proc_type }}" # [cuda_compiler_version == "None"]
string: "py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ faiss_proc_type }}" # [cuda_compiler_version == "None"]
string: "py{{ CONDA_PY }}cuda{{ cuda_compiler_version | replace('.', '') }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ faiss_proc_type }}" # [cuda_compiler_version != "None"]
requirements:
build:
Expand Down
Loading