Skip to content

Commit

Permalink
Using per-package requirements instead of shared
Browse files Browse the repository at this point in the history
  • Loading branch information
ramilbakhshyiev committed May 15, 2024
1 parent 1352111 commit dfe2a40
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions conda/faiss-gpu-raft/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ outputs:
- swig
- cmake >=3.24.0
- make # [not win]
- cuda-toolkit {{ cudatoolkit }}
host:
- python {{ python }}
- numpy >=1.19,<2
Expand Down
15 changes: 8 additions & 7 deletions conda/faiss-gpu/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ package:
name: faiss-pkg
version: {{ version }}

requirements:
build:
- {{ compiler('cxx') }}
- cmake >=3.24.0
- make # [not win]
- cuda-toolkit {{ cudatoolkit }}

build:
number: {{ number }}

Expand Down Expand Up @@ -52,9 +45,13 @@ outputs:
- CUDA_ARCHS
requirements:
build:
- {{ compiler('cxx') }}
- sysroot_linux-64 # [linux64]
- llvm-openmp # [osx]
- cmake >=3.24.0
- make # [not win]
- mkl-devel =2023 # [x86_64]
- cuda-toolkit {{ cudatoolkit }}
host:
- mkl =2023 # [x86_64]
- openblas # [not x86_64]
Expand All @@ -81,8 +78,12 @@ outputs:
string: "py{{ PY_VER }}_h{{ PKG_HASH }}_{{ number }}_cuda{{ cudatoolkit }}{{ suffix }}"
requirements:
build:
- {{ compiler('cxx') }}
- sysroot_linux-64 =2.17 # [linux64]
- swig
- cmake >=3.24.0
- make # [not win]
- cuda-toolkit {{ cudatoolkit }}
host:
- python {{ python }}
- numpy >=1.19,<2
Expand Down

0 comments on commit dfe2a40

Please sign in to comment.