Skip to content

Commit

Permalink
install libraft for cmake build (facebookresearch#2968)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: facebookresearch#2968

Reviewed By: mlomeli1, mdouze

Differential Revision: D47677660

Pulled By: algoriddle

fbshipit-source-id: 8fad8323ea3c0a264149c76fc9519d9c63346d00
  • Loading branch information
algoriddle authored and facebook-github-bot committed Jul 31, 2023
1 parent 821a401 commit 726143d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
11 changes: 10 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,17 @@ jobs:
- run:
name: Set up environment
command: |
conda config --set solver libmamba
conda update -y -q conda
conda install -y -q pkgs/main::python=3.10 cmake=3.23.1 make swig mkl=2023 mkl-devel=2023 numpy scipy pytest gxx_linux-64 sysroot_linux-64=2.17 -c pkgs/main -c conda-forge
conda install -y -q pkgs/main::python=3.10 cmake make swig mkl=2023 mkl-devel=2023 numpy scipy pytest gxx_linux-64 sysroot_linux-64 -c pkgs/main -c conda-forge
- when:
condition:
equal: [ "ON", << parameters.raft >> ]
steps:
- run:
name: Install libraft
command: |
conda install -y -q libraft cudatoolkit=11.4 -c rapidsai-nightly -c nvidia -c pkgs/main -c conda-forge
- run:
name: Build all targets
no_output_timeout: 30m
Expand Down
4 changes: 2 additions & 2 deletions conda/faiss-gpu/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ outputs:
- {{ compiler('cxx') }}
- sysroot_linux-64 =2.17 # [linux64]
- llvm-openmp # [osx]
- cmake =3.23.1
- cmake >=3.23.1
- make # [not win]
- mkl-devel =2023 # [x86_64]
host:
Expand Down Expand Up @@ -71,7 +71,7 @@ outputs:
- {{ compiler('cxx') }}
- sysroot_linux-64 =2.17 # [linux64]
- swig
- cmake =3.23.1
- cmake >=3.23.1
- make # [not win]
host:
- python {{ python }}
Expand Down
4 changes: 2 additions & 2 deletions conda/faiss/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ outputs:
- {{ compiler('cxx') }}
- sysroot_linux-64 =2.17 # [linux64]
- llvm-openmp # [osx]
- cmake =3.23.1
- cmake >=3.23.1
- make # [not win]
- mkl-devel =2023 # [x86_64]
host:
Expand Down Expand Up @@ -69,7 +69,7 @@ outputs:
- {{ compiler('cxx') }}
- sysroot_linux-64 =2.17 # [linux64]
- swig
- cmake =3.23.1
- cmake >=3.23.1
- make # [not win]
host:
- python {{ python }}
Expand Down

0 comments on commit 726143d

Please sign in to comment.