Skip to content

Commit fd1c41b

Browse files
gchalumpfacebook-github-bot
authored andcommitted
Update cmake requirement version (#4100)
Summary: X-link: facebookresearch/FBGEMM#1184 Update the fbgemm minimum CMake version required to 3.21 This is to support updating fbgemm pinned version in PyTorch D74335570 Differential Revision: D74434751
1 parent 492bd23 commit fd1c41b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
# A minimum CMake version of 3.21+ is needed to support the required C and C++
1212
# standard versions
13-
cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
13+
cmake_minimum_required(VERSION 3.21 FATAL_ERROR)
1414

1515
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
1616

bench/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This source code is licensed under the BSD-style license found in the
55
# LICENSE file in the root directory of this source tree.
66

7-
cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
7+
cmake_minimum_required(VERSION 3.21 FATAL_ERROR)
88

99
set(CMAKE_CXX_STANDARD 20)
1010
set(CMAKE_CXX_EXTENSIONS OFF)

fbgemm_gpu/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# CMake Prelude
99
################################################################################
1010

11-
cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
11+
cmake_minimum_required(VERSION 3.21 FATAL_ERROR)
1212

1313
set(CMAKEMODULES ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/modules)
1414
set(FBGEMM_GPU ${CMAKE_CURRENT_SOURCE_DIR})

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This source code is licensed under the BSD-style license found in the
55
# LICENSE file in the root directory of this source tree.
66

7-
cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
7+
cmake_minimum_required(VERSION 3.21 FATAL_ERROR)
88

99
set(CMAKE_CXX_STANDARD 20)
1010
set(CMAKE_CXX_EXTENSIONS OFF)

0 commit comments

Comments
 (0)