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

jonkeane 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 7d11484766 GH-48342: [R] Turn off gcs by default, also if it is on, 
bundle. (#48343)
7d11484766 is described below

commit 7d114847664f7ae12353bb62a3af0961ba14ae8a
Author: Jonathan Keane <[email protected]>
AuthorDate: Mon Dec 8 08:36:34 2025 -0600

    GH-48342: [R] Turn off gcs by default, also if it is on, bundle. (#48343)
    
    ### Rationale for this change
    Building GCS is fragile in places and we're not sure how many (if
    anyone) really needs GCS. So let's turn it off by default and get some
    signal that folks want it back (also hopefully by that time we're on a
    more modern ABSL)
    
    ### What changes are included in this PR?
    Turn off GCS by default in R builds, also bundle when it is enabled.
    
    ### Are these changes tested?
    
    ### Are there any user-facing changes?
    No more GCS by default
    * GitHub Issue: #48342
---
 r/inst/build_arrow_static.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/r/inst/build_arrow_static.sh b/r/inst/build_arrow_static.sh
index fc3a173294..241994223d 100755
--- a/r/inst/build_arrow_static.sh
+++ b/r/inst/build_arrow_static.sh
@@ -78,7 +78,7 @@ ${CMAKE} -DARROW_BOOST_USE_SHARED=OFF \
     -DBoost_SOURCE=${Boost_SOURCE:-} \
     -Dlz4_SOURCE=${lz4_SOURCE:-} \
     -DARROW_FILESYSTEM=ON \
-    -DARROW_GCS=${ARROW_GCS:-$ARROW_DEFAULT_PARAM} \
+    -DARROW_GCS=${ARROW_GCS:-OFF} \
     -DARROW_JEMALLOC=${ARROW_JEMALLOC:-$ARROW_DEFAULT_PARAM} \
     -DARROW_MIMALLOC=${ARROW_MIMALLOC:-ON} \
     -DARROW_JSON=${ARROW_JSON:-ON} \
@@ -102,6 +102,7 @@ ${CMAKE} -DARROW_BOOST_USE_SHARED=OFF \
     -DCMAKE_UNITY_BUILD=${CMAKE_UNITY_BUILD:-OFF} \
     -DOPENSSL_ROOT_DIR=${OPENSSL_ROOT_DIR} \
     -Dre2_SOURCE=${re2_SOURCE:-BUNDLED} \
+    -Dabsl_SOURCE=${absl_SOURCE:-BUNDLED} \
     -Dxsimd_SOURCE=${xsimd_SOURCE:-} \
     -Dzstd_SOURCE=${zstd_SOURCE:-} \
     ${EXTRA_CMAKE_FLAGS} \

Reply via email to