This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 97c9bfcdf8 GH-47213: [R] Require CMake 3.26 or later (#47217)
97c9bfcdf8 is described below

commit 97c9bfcdf8a9b864414fb5457a1c3f7a5747a3f1
Author: Sutou Kouhei <[email protected]>
AuthorDate: Mon Aug 11 05:58:56 2025 +0900

    GH-47213: [R] Require CMake 3.26 or later (#47217)
    
    ### Rationale for this change
    
    We may need to build bundled Apache Thrift. It requires CMake 3.26 or later.
    
    ### What changes are included in this PR?
    
    Require CMake 3.26 or later.
    
    ### Are these changes tested?
    
    Yes.
    
    ### Are there any user-facing changes?
    
    Yes.
    * GitHub Issue: #47213
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 r/DESCRIPTION     | 2 +-
 r/tools/nixlibs.R | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/r/DESCRIPTION b/r/DESCRIPTION
index 20c5dcab0d..7888f72ee9 100644
--- a/r/DESCRIPTION
+++ b/r/DESCRIPTION
@@ -29,7 +29,7 @@ BugReports: https://github.com/apache/arrow/issues
 Encoding: UTF-8
 Language: en-US
 SystemRequirements: C++17; for AWS S3 support on Linux, libcurl and openssl 
(optional);
-    cmake >= 3.25 (build-time only, and only for full source build)
+    cmake >= 3.26 (build-time only, and only for full source build)
 Biarch: true
 Imports:
     assertthat,
diff --git a/r/tools/nixlibs.R b/r/tools/nixlibs.R
index e0ca972095..772c7654d7 100644
--- a/r/tools/nixlibs.R
+++ b/r/tools/nixlibs.R
@@ -641,7 +641,7 @@ build_libarrow <- function(src_dir, dst_dir) {
   invisible(status)
 }
 
-ensure_cmake <- function(cmake_minimum_required = "3.25") {
+ensure_cmake <- function(cmake_minimum_required = "3.26") {
   cmake <- find_cmake(version_required = cmake_minimum_required)
 
   if (is.null(cmake)) {

Reply via email to