Skip to content

Commit

Permalink
Document that minimum required CMake version is now 3.23.1
Browse files Browse the repository at this point in the history
With rapids-cmake now requiring CMake 3.23.1 update consumers
to correctly express this requirement
  • Loading branch information
robertmaynard committed Sep 23, 2022
1 parent 238f909 commit fa19994
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion SOURCEBUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The cuGraph package include both a C/C++ CUDA portion and a python portion. Bot
__Compiler__:
* `gcc` version 9.3+
* `nvcc` version 11.0+
* `cmake` version 3.20.1+
* `cmake` version 3.23.1+

__CUDA:__
* CUDA 11.0+
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/cugraph_dev_cuda11.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies:
- networkx>=2.5.1
- clang=11.1.0
- clang-tools=11.1.0
- cmake>=3.20.1,!=3.23.0
- cmake>=3.23.1
- scikit-build>=0.13.1
- python>=3.8,<3.10
- notebook>=0.5.0
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/cugraph_dev_cuda11.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies:
- networkx>=2.5.1
- clang=11.1.0
- clang-tools=11.1.0
- cmake>=3.20.1,!=3.23.0
- cmake>=3.23.1
- scikit-build>=0.13.1
- python>=3.8,<3.10
- notebook>=0.5.0
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/cugraph_dev_cuda11.5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies:
- networkx>=2.5.1
- clang=11.1.0
- clang-tools=11.1.0
- cmake>=3.20.1,!=3.23.0
- cmake>=3.23.1
- scikit-build>=0.13.1
- python>=3.8,<3.10
- notebook>=0.5.0
Expand Down
2 changes: 1 addition & 1 deletion conda/recipes/cugraph/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cuda_compiler:
- nvcc

cmake_version:
- ">=3.20.1,!=3.23.0"
- ">=3.23.1"

sysroot_version:
- "2.17"
2 changes: 1 addition & 1 deletion conda/recipes/libcugraph/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cuda_compiler:
- nvcc

cmake_version:
- ">=3.20.1,!=3.23.0"
- ">=3.23.1"

doxygen_version:
- ">=1.8.11"
Expand Down
2 changes: 1 addition & 1 deletion conda/recipes/pylibcugraph/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cuda_compiler:
- nvcc

cmake_version:
- ">=3.20.1,!=3.23.0"
- ">=3.23.1"

sysroot_version:
- "2.17"
2 changes: 1 addition & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
#=============================================================================

cmake_minimum_required(VERSION 3.20.1 FATAL_ERROR)
cmake_minimum_required(VERSION 3.23.1 FATAL_ERROR)

include(../fetch_rapids.cmake)
include(rapids-cmake)
Expand Down
6 changes: 2 additions & 4 deletions cpp/libcugraph_etl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@
# limitations under the License.
#=============================================================================

cmake_minimum_required(VERSION 3.20.1 FATAL_ERROR)
file(DOWNLOAD https://raw.githubusercontent.com/rapidsai/rapids-cmake/branch-22.10/RAPIDS.cmake
${CMAKE_BINARY_DIR}/RAPIDS.cmake)
include(${CMAKE_BINARY_DIR}/RAPIDS.cmake)
cmake_minimum_required(VERSION 3.23.1 FATAL_ERROR)
include(../../fetch_rapids.cmake)

include(rapids-cmake)
include(rapids-cpm)
Expand Down
2 changes: 1 addition & 1 deletion python/cugraph/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# the License.
# =============================================================================

cmake_minimum_required(VERSION 3.20.1 FATAL_ERROR)
cmake_minimum_required(VERSION 3.23.1 FATAL_ERROR)

set(cugraph_version 22.10.00)

Expand Down
2 changes: 1 addition & 1 deletion python/cugraph/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ requires = [
"setuptools",
"cython>=0.29,<0.30",
"scikit-build>=0.13.1",
"cmake>=3.20.1,!=3.23.0",
"cmake>=3.23.1",
"ninja",
]
2 changes: 1 addition & 1 deletion python/pylibcugraph/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# the License.
# =============================================================================

cmake_minimum_required(VERSION 3.20.1 FATAL_ERROR)
cmake_minimum_required(VERSION 3.23.1 FATAL_ERROR)

set(pylibcugraph_version 22.10.00)

Expand Down
2 changes: 1 addition & 1 deletion python/pylibcugraph/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ requires = [
"setuptools",
"cython>=0.29,<0.30",
"scikit-build>=0.13.1",
"cmake>=3.20.1,!=3.23.0",
"cmake>=3.23.1",
"ninja",
]

0 comments on commit fa19994

Please sign in to comment.