@@ -162,7 +162,6 @@ jobs:
162162 fail-fast : false
163163 matrix :
164164 platform :
165- - { runs_on: macos-15-intel, arch: "x86_64"}
166165 - { runs_on: macos-14, arch: "aarch_64" }
167166 env :
168167 MACOSX_DEPLOYMENT_TARGET : " 14.0"
@@ -211,46 +210,19 @@ jobs:
211210 # llvm@14 because llvm is newer than llvm@14.
212211 brew uninstall llvm || :
213212
214- # We can remove this when we drop support for
215- # macos-15-intel. because macos-14 or later with arm64 uses /opt/homebrew/
216- # not /usr/local/.
217- #
218- # Ensure updating python@XXX with the "--overwrite" option.
219- # If python@XXX is updated without "--overwrite", it causes
220- # a conflict error. Because Python 3 installed not by
221- # Homebrew exists in /usr/local on GitHub Actions. If
222- # Homebrew's python@XXX is updated without "--overwrite", it
223- # tries to replace /usr/local/bin/2to3 and so on and causes
224- # a conflict error.
225213 brew update
226- for python_package in $(brew list | grep python@ | sort -r); do
227- brew install --overwrite ${python_package}
228- done
229- brew install --overwrite python3
230214
231- if [ "$(uname -m)" = "arm64" ]; then
232- # pkg-config formula is deprecated but it's still installed
233- # in GitHub Actions runner now. We can remove this once
234- # pkg-config formula is removed from GitHub Actions runner.
235- brew uninstall pkg-config || :
236- brew uninstall pkg-config@0.29.2 || :
237- fi
215+ # pkg-config formula is deprecated but it's still installed
216+ # in GitHub Actions runner now. We can remove this once
217+ # pkg-config formula is removed from GitHub Actions runner.
218+ brew uninstall pkg-config || :
219+ brew uninstall pkg-config@0.29.2 || :
238220
239221 # We don't use Homebrew's aws-sdk-cpp and gRPC. See the
240222 # "brew uninstall" calls below for details. So we don't install
241223 # them instead of installing and uninstalling them.
242224 #
243- # This is also needed because Homebrew doesn't provide bottles
244- # for them on x86_64 macOS. Homebrew treats x86_64 macOS as a
245- # tier 3 configuration and rarely builds bottles for it:
246- #
247- # https://docs.brew.sh/Support-Tiers#tier-3
248- #
249- # "brew bundle" fails with "no bottle available!" without this
250- # because it doesn't build them from source.
251- #
252- # We don't use Homebrew's Node.js too. Homebrew doesn't provide
253- # a bottle for it on x86_64 macOS for the same reason.
225+ # We don't need Homebrew's Node.js for the JNI build either.
254226 HOMEBREW_BUNDLE_BREW_SKIP="aws-sdk-cpp grpc node" \
255227 brew bundle --file=arrow/cpp/Brewfile
256228 # We want to link aws-sdk-cpp statically but Homebrew's
@@ -388,7 +360,6 @@ jobs:
388360 tar -xf apache-arrow-java-*.tar.gz --strip-components=1
389361 tar -xvzf jni-linux-x86_64.tar.gz
390362 tar -xvzf jni-linux-aarch_64.tar.gz
391- tar -xvzf jni-macos-x86_64.tar.gz
392363 tar -xvzf jni-macos-aarch_64.tar.gz
393364 tar -xvzf jni-windows-x86_64.tar.gz
394365 - name : Test that shared libraries exist
@@ -405,11 +376,6 @@ jobs:
405376 test -f jni/arrow_orc_jni/aarch_64/libarrow_orc_jni.so
406377 test -f jni/gandiva_jni/aarch_64/libgandiva_jni.so
407378
408- test -f jni/arrow_cdata_jni/x86_64/libarrow_cdata_jni.dylib
409- test -f jni/arrow_dataset_jni/x86_64/libarrow_dataset_jni.dylib
410- test -f jni/arrow_orc_jni/x86_64/libarrow_orc_jni.dylib
411- test -f jni/gandiva_jni/x86_64/libgandiva_jni.dylib
412-
413379 test -f jni/arrow_cdata_jni/aarch_64/libarrow_cdata_jni.dylib
414380 test -f jni/arrow_dataset_jni/aarch_64/libarrow_dataset_jni.dylib
415381 test -f jni/arrow_orc_jni/aarch_64/libarrow_orc_jni.dylib
0 commit comments