mirror of
https://github.com/facebookresearch/faiss.git
synced 2025-06-03 21:54:02 +08:00
install libraft for cmake build (#2968)
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/2968 Reviewed By: mlomeli1, mdouze Differential Revision: D47677660 Pulled By: algoriddle fbshipit-source-id: 8fad8323ea3c0a264149c76fc9519d9c63346d00
This commit is contained in:
parent
821a401ae9
commit
726143d056
@ -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
|
||||
|
@ -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:
|
||||
@ -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 }}
|
||||
|
@ -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:
|
||||
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user