Skip to content

Commit

Permalink
Update needed shared library name in libarrowproxy.so
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed Nov 15, 2023
1 parent c9a77e8 commit 931f54e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dev/tasks/matlab/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:
env:
{{ macros.github_set_sccache_envvars()|indent(8) }}
run: arrow/ci/scripts/matlab_build.sh $(pwd)/arrow
- name: change shared library install name
run: |
pushd arrow/matlab/install/arrow_matlab/+libmexclass/+proxy/
SYMLINK_ARROW_LIB="$(find . -regex "./libarrow.so.[0-9][0-9][0-9][0-9]" | xargs basename)"
REGULAR_ARROW_LIB="$(find . -regex "./libarrow.so.[0-9][0-9][0-9][0-9].[0-9].[0-9]" | xargs basename)"
patchelf --replace-needed $SYMLINK_ARROW_LIB $REGULAR_ARROW_LIB
popd
- name: Compress into single artifact to keep directory structure
run: tar -cvzf arrow-matlab-ubuntu.tar.gz arrow/matlab/install/arrow_matlab
- name: Upload artifacts
Expand Down

0 comments on commit 931f54e

Please sign in to comment.