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

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


The following commit(s) were added to refs/heads/main by this push:
     new 4b4d9285 MINOR: Don't uninstall Flatbuffers in CI (#711)
4b4d9285 is described below

commit 4b4d92851c8ecba1876a8f452279122e88e5ff8e
Author: David Li <[email protected]>
AuthorDate: Mon Apr 14 21:47:30 2025 +0900

    MINOR: Don't uninstall Flatbuffers in CI (#711)
    
    ## What's Changed
    
    There is no more need after
    
https://github.com/apache/arrow/commit/32641ecfd97e302ea8119b1147d77aced96d097b
    
    Also, disable building tests to avoid issues with Boost/Homebrew. They 
aren't executed anyways.
---
 .github/workflows/rc.yml          | 5 -----
 ci/scripts/jni_macos_build.sh     | 2 +-
 ci/scripts/jni_manylinux_build.sh | 2 +-
 3 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/rc.yml b/.github/workflows/rc.yml
index e039306e..5b78cc93 100644
--- a/.github/workflows/rc.yml
+++ b/.github/workflows/rc.yml
@@ -261,11 +261,6 @@ jobs:
           # bundled Protobuf.
           brew uninstall protobuf
 
-          # We need Flatbuffers 24, not the latest version
-          # Homebrew does not offer older versions, so remove the Homebrew
-          # package and rely on Arrow using a bundled version instead
-          brew uninstall flatbuffers
-
           brew bundle --file=Brewfile
       - name: Prepare ccache
         run: |
diff --git a/ci/scripts/jni_macos_build.sh b/ci/scripts/jni_macos_build.sh
index 65b255e2..f7543b6f 100755
--- a/ci/scripts/jni_macos_build.sh
+++ b/ci/scripts/jni_macos_build.sh
@@ -61,7 +61,7 @@ github_actions_group_begin "Building Arrow C++ libraries"
 install_dir="${build_dir}/cpp-install"
 : "${ARROW_ACERO:=ON}"
 export ARROW_ACERO
-: "${ARROW_BUILD_TESTS:=ON}"
+: "${ARROW_BUILD_TESTS:=OFF}"
 export ARROW_BUILD_TESTS
 : "${ARROW_DATASET:=ON}"
 export ARROW_DATASET
diff --git a/ci/scripts/jni_manylinux_build.sh 
b/ci/scripts/jni_manylinux_build.sh
index 148d2e02..a34ec0f4 100755
--- a/ci/scripts/jni_manylinux_build.sh
+++ b/ci/scripts/jni_manylinux_build.sh
@@ -57,7 +57,7 @@ devtoolset_version="$(rpm -qa "devtoolset-*-gcc" 
--queryformat '%{VERSION}' | gr
 
devtoolset_include_cpp="/opt/rh/devtoolset-${devtoolset_version}/root/usr/include/c++/${devtoolset_version}"
 : "${ARROW_ACERO:=ON}"
 export ARROW_ACERO
-: "${ARROW_BUILD_TESTS:=ON}"
+: "${ARROW_BUILD_TESTS:=OFF}"
 export ARROW_BUILD_TESTS
 : "${ARROW_DATASET:=ON}"
 export ARROW_DATASET

Reply via email to