Repository navigation
Commit 301dc90
authored
The `JNI macos-15 aarch_64` job in the RC workflow fails on `main` with
`Unexpected shared dependency found in
arrow_dataset_jni/aarch_64/libarrow_dataset_jni.dylib: liblz4`.
Homebrew's `lz4` now installs a CMake package configuration whose
`LZ4::lz4` target is the shared library. Arrow C++'s `Findlz4Alt.cmake`
uses that target as is, ignoring `ARROW_LZ4_USE_SHARED=OFF`, so on the
newer `macos-15-arm64` runner image (20261028.0489) the JNI libraries
are linked with `/opt/homebrew/lib/liblz4.1.10.0.dylib`.
This builds lz4 from source with `-Dlz4_SOURCE=BUNDLED` in
`jni_macos_build.sh`, like abseil, simdjson and uriparser. The bundled
lz4 goes into `libarrow_bundled_dependencies.a`, and the bundled ORC
build uses it too.
Not tested locally because it needs the full Arrow C++ build. The `JNI
macos-15 aarch_64` check on this PR is the verification. Jobs on the
older runner image (20260907.0337) pass even without this change, so the
check is only meaningful if it runs on the newer image.
Closes #1415.
1 parent 2f35627 commit 301dc90
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
0 commit comments