Skip to content

Commit 637cac5

Browse files
Require CMake 3.30.4 (#635)
Update CMake minimum required to 3.30.4 across all of RAPIDS Authors: - Robert Maynard (https://github.com/robertmaynard) - Bradley Dice (https://github.com/bdice) Approvers: - James Lamb (https://github.com/jameslamb) - Bradley Dice (https://github.com/bdice) URL: #635
1 parent fcd84e3 commit 637cac5

File tree

15 files changed

+21
-20
lines changed

15 files changed

+21
-20
lines changed

conda/environments/all_cuda-118_arch-aarch64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ channels:
88
dependencies:
99
- boto3>=1.21.21
1010
- c-compiler
11-
- cmake>=3.26.4,!=3.30.0
11+
- cmake>=3.30.4
1212
- cuda-python>=11.8.5,<12.0a0
1313
- cuda-version=11.8
1414
- cudatoolkit

conda/environments/all_cuda-118_arch-x86_64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ channels:
88
dependencies:
99
- boto3>=1.21.21
1010
- c-compiler
11-
- cmake>=3.26.4,!=3.30.0
11+
- cmake>=3.30.4
1212
- cuda-python>=11.8.5,<12.0a0
1313
- cuda-version=11.8
1414
- cudatoolkit

conda/environments/all_cuda-128_arch-aarch64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ channels:
88
dependencies:
99
- boto3>=1.21.21
1010
- c-compiler
11-
- cmake>=3.26.4,!=3.30.0
11+
- cmake>=3.30.4
1212
- cuda-nvcc
1313
- cuda-python>=12.6.2,<13.0a0
1414
- cuda-version=12.8

conda/environments/all_cuda-128_arch-x86_64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ channels:
88
dependencies:
99
- boto3>=1.21.21
1010
- c-compiler
11-
- cmake>=3.26.4,!=3.30.0
11+
- cmake>=3.30.4
1212
- cuda-nvcc
1313
- cuda-python>=12.6.2,<13.0a0
1414
- cuda-version=12.8

conda/recipes/kvikio/conda_build_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ cxx_compiler_version:
77
- 11 # [os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
88

99
cmake_version:
10-
- ">=3.26.4,!=3.30.0"
10+
- ">=3.30.4"
1111

1212
cuda_compiler:
1313
- cuda-nvcc # [not os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]

conda/recipes/libkvikio/conda_build_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ cxx_compiler_version:
77
- 11 # [os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]
88

99
cmake_version:
10-
- ">=3.26.4,!=3.30.0"
10+
- ">=3.30.4"
1111

1212
cuda_compiler:
1313
- cuda-nvcc # [not os.environ.get("RAPIDS_CUDA_VERSION", "").startswith("11")]

cpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# the License.
1313
# =============================================================================
1414

15-
cmake_minimum_required(VERSION 3.26.4 FATAL_ERROR)
15+
cmake_minimum_required(VERSION 3.30.4 FATAL_ERROR)
1616

1717
include(cmake/rapids_config.cmake)
1818
include(rapids-cmake)

cpp/examples/downstream/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# =============================================================================
2-
# Copyright (c) 2021-2024, NVIDIA CORPORATION.
2+
# Copyright (c) 2021-2025, NVIDIA CORPORATION.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
55
# in compliance with the License. You may obtain a copy of the License at
@@ -12,7 +12,7 @@
1212
# the License.
1313
# =============================================================================
1414

15-
cmake_minimum_required(VERSION 3.26.4 FATAL_ERROR)
15+
cmake_minimum_required(VERSION 3.30.4 FATAL_ERROR)
1616

1717
project(
1818
KvikIODownstreamExample

dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ dependencies:
115115
common:
116116
- output_types: [conda, requirements, pyproject]
117117
packages:
118-
- &cmake_ver cmake>=3.26.4,!=3.30.0
118+
- &cmake_ver cmake>=3.30.4
119119
- ninja
120120
build-cpp:
121121
common:

java/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
<maven.compiler.target>11</maven.compiler.target>
2323
<junit.version>5.4.2</junit.version>
2424
<jcuda.version>12.0.0</jcuda.version>
25-
<cmake.version>3.23.2-b1</cmake.version>
25+
<cmake.version>3.30.2-b1</cmake.version>
26+
<cmake.download>false</cmake.download>
2627
</properties>
2728

2829
<dependencies>

java/src/main/native/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2024, NVIDIA CORPORATION.
2+
# Copyright (c) 2024-2025, NVIDIA CORPORATION.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
55
# in compliance with the License. You may obtain a copy of the License at
@@ -12,11 +12,11 @@
1212
# the License.
1313
#
1414

15-
cmake_minimum_required(VERSION 3.23)
15+
cmake_minimum_required(VERSION 3.30.4 FATAL_ERROR)
1616

1717
project(CuFileJNI LANGUAGES CXX CUDA)
1818

19-
find_package(CUDA REQUIRED)
19+
find_package(CUDAToolkit REQUIRED)
2020

2121
find_package(JNI REQUIRED)
2222

python/kvikio/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# =============================================================================
2-
# Copyright (c) 2022-2024, NVIDIA CORPORATION.
2+
# Copyright (c) 2022-2025, NVIDIA CORPORATION.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
55
# in compliance with the License. You may obtain a copy of the License at
@@ -12,7 +12,7 @@
1212
# the License.
1313
# =============================================================================
1414

15-
cmake_minimum_required(VERSION 3.26.4 FATAL_ERROR)
15+
cmake_minimum_required(VERSION 3.30.4 FATAL_ERROR)
1616

1717
include(../../cpp/cmake/rapids_config.cmake)
1818
include(rapids-cpm)

python/kvikio/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ build-backend = "scikit_build_core.build"
117117
dependencies-file = "../../dependencies.yaml"
118118
matrix-entry = "cuda_suffixed=true;use_cuda_wheels=true"
119119
requires = [
120-
"cmake>=3.26.4,!=3.30.0",
120+
"cmake>=3.30.4",
121121
"cython>=3.0.0",
122122
"libkvikio==25.4.*,>=0.0.0a0",
123123
"ninja",

python/libkvikio/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# =============================================================================
2-
# Copyright (c) 2024, NVIDIA CORPORATION.
2+
# Copyright (c) 2024-2025, NVIDIA CORPORATION.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
55
# in compliance with the License. You may obtain a copy of the License at
@@ -12,7 +12,7 @@
1212
# the License.
1313
# =============================================================================
1414

15-
cmake_minimum_required(VERSION 3.26.4 FATAL_ERROR)
15+
cmake_minimum_required(VERSION 3.30.4 FATAL_ERROR)
1616

1717
include(../../cpp/cmake/rapids_config.cmake)
1818
include(rapids-cpm)

python/libkvikio/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ build-backend = "scikit_build_core.build"
5353
dependencies-file = "../../dependencies.yaml"
5454
matrix-entry = "cuda_suffixed=true"
5555
requires = [
56-
"cmake>=3.26.4,!=3.30.0",
56+
"cmake>=3.30.4",
5757
"ninja",
5858
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
5959

0 commit comments

Comments
 (0)