Skip to content

Commit 0169f29

Browse files
iotamudeltafacebook-github-bot
authored andcommittedApr 17, 2024
Update required cmake version to 3.24. (#3305)
Summary: The CMakeLists.txt in faiss/gpu uses the $<LINK_LIBRARY:WHOLE_ARCHIVE expression which requires at least cmake 3.24. Pull Request resolved: #3305 Reviewed By: mlomeli1 Differential Revision: D56234500 Pulled By: algoriddle fbshipit-source-id: dfe7df3379c5250dedec7d1988cffa889fc1c393
1 parent ab2b7f5 commit 0169f29

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed
 

‎CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# the License.
1919
# =============================================================================
2020

21-
cmake_minimum_required(VERSION 3.23.1 FATAL_ERROR)
21+
cmake_minimum_required(VERSION 3.24.0 FATAL_ERROR)
2222

2323
set(FAISS_LANGUAGES CXX)
2424

‎conda/faiss-gpu-raft/meta.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ outputs:
4848
- {{ compiler('cxx') }}
4949
- sysroot_linux-64 # [linux64]
5050
- llvm-openmp # [osx]
51-
- cmake >=3.23.1
51+
- cmake >=3.24.0
5252
- make # [not win]
5353
- mkl-devel =2023 # [x86_64]
5454
- cuda-toolkit {{ cudatoolkit }}
@@ -85,7 +85,7 @@ outputs:
8585
- {{ compiler('cxx') }}
8686
- sysroot_linux-64 =2.17 # [linux64]
8787
- swig
88-
- cmake >=3.23.1
88+
- cmake >=3.24.0
8989
- make # [not win]
9090
host:
9191
- python {{ python }}

‎conda/faiss-gpu/meta.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ outputs:
4848
- {{ compiler('cxx') }}
4949
- sysroot_linux-64 # [linux64]
5050
- llvm-openmp # [osx]
51-
- cmake >=3.23.1
51+
- cmake >=3.24.0
5252
- make # [not win]
5353
- mkl-devel =2023 # [x86_64]
5454
- cuda-toolkit {{ cudatoolkit }}
@@ -81,7 +81,7 @@ outputs:
8181
- {{ compiler('cxx') }}
8282
- sysroot_linux-64 =2.17 # [linux64]
8383
- swig
84-
- cmake >=3.23.1
84+
- cmake >=3.24.0
8585
- make # [not win]
8686
host:
8787
- python {{ python }}

‎conda/faiss/meta.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ outputs:
3939
- {{ compiler('cxx') }}
4040
- sysroot_linux-64 # [linux64]
4141
- llvm-openmp # [osx]
42-
- cmake >=3.23.1
42+
- cmake >=3.24.0
4343
- make # [not win]
4444
- mkl-devel =2023 # [x86_64]
4545
host:
@@ -69,7 +69,7 @@ outputs:
6969
- {{ compiler('cxx') }}
7070
- sysroot_linux-64 =2.17 # [linux64]
7171
- swig
72-
- cmake >=3.23.1
72+
- cmake >=3.24.0
7373
- make # [not win]
7474
host:
7575
- python {{ python }}

0 commit comments

Comments
 (0)