pin mkl to 2023 (#2856)

Summary:
This fixes the build, except for MacOS, where there's a problem with cmake + OpenMP. We can fix it separately.

Pull Request resolved: https://github.com/facebookresearch/faiss/pull/2856

Reviewed By: mlomeli1

Differential Revision: D45704458

Pulled By: algoriddle

fbshipit-source-id: 0c09036ae5fa34ab114b857f407a35603986613a
This commit is contained in:
Gergely Szilvasy 2023-05-09 12:20:54 -07:00 committed by Facebook GitHub Bot
parent 81f27099ec
commit eea4a48b97
3 changed files with 9 additions and 9 deletions

View File

@ -176,7 +176,7 @@ jobs:
name: Set up environment
command: |
conda update -y -q conda
conda install -y -q cmake=3.23.1 make swig mkl=2021 mkl-devel=2021 numpy scipy pytest gxx_linux-64 sysroot_linux-64=2.17 -c pkgs/main -c conda-forge
conda install -y -q 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
- run:
name: Build all targets
no_output_timeout: 30m

View File

@ -40,12 +40,12 @@ outputs:
- llvm-openmp # [osx]
- cmake =3.23.1
- make # [not win]
- mkl-devel =2021
- mkl-devel =2023
host:
- mkl =2021
- mkl =2023
- cudatoolkit {{ cudatoolkit }}
run:
- mkl >=2021
- mkl =2023
- {{ pin_compatible('cudatoolkit', max_pin='x.x') }}
test:
requires:

View File

@ -37,15 +37,15 @@ outputs:
build:
- {{ compiler('cxx') }}
- sysroot_linux-64 =2.17 # [linux64]
- llvm-openmp # [osx]
- cmake =3.23.1
- make # [not win]
- mkl-devel =2021 # [x86_64]
- openblas # [not x86_64]
- mkl-devel =2023 # [x86_64]
host:
- mkl =2021 # [x86_64]
- mkl =2023 # [x86_64]
- openblas # [not x86_64]
run:
- mkl >=2021 # [win]
- mkl =2023 # [x86_64]
- openblas # [not x86_64]
test:
requires:
- conda-build