|
73 | 73 | env: |
74 | 74 | {{ macros.github_set_sccache_envvars()|indent(8) }} |
75 | 75 | run: arrow/ci/scripts/matlab_build.sh $(pwd)/arrow |
76 | | - - name: Change shared library dependency name |
77 | | - # MATLAB's programmatic packaging interface does not properly |
78 | | - # include symbolic link files in the package MLTBX - this is a |
79 | | - # bug. As a temporary workaround, change the expected name of the |
80 | | - # Arrow C++ library which libarrowproxy.dylib depends on. |
81 | | - # For example, change libarrow.1500.dylib to libarrow.1500.0.0.dylib. |
82 | | - run: | |
83 | | - pushd arrow/matlab/install/arrow_matlab/+libmexclass/+proxy |
84 | | - SYMLINK_ARROW_LIB="$(find . -name 'libarrow.*.dylib' -type l | xargs basename)" |
85 | | - REGULAR_ARROW_LIB="$(echo libarrow.*.*.dylib)" |
86 | | - echo "SYMLINK_ARROW_LIB = ${SYMLINK_ARROW_LIB}" |
87 | | - echo "REGULAR_ARROW_LIB = ${REGULAR_ARROW_LIB}" |
88 | | - install_name_tool -change @rpath/$SYMLINK_ARROW_LIB @rpath/$REGULAR_ARROW_LIB libarrowproxy.dylib |
89 | | - popd |
| 76 | + - name: Update dylib names |
| 77 | + run: arrow/dev/tasks/matlab/rename_macos_dynamic_libraries.sh arrow/matlab/install/arrow_matlab/+libmexclass/+proxy x64 |
90 | 78 | - name: Compress into single artifact |
91 | 79 | run: tar -cvzf matlab-arrow-macos.tar.gz arrow/matlab/install/arrow_matlab |
92 | 80 | - name: Upload artifacts |
|
111 | 99 | {{ macros.github_set_sccache_envvars()|indent(8) }} |
112 | 100 | run: arrow/ci/scripts/matlab_build.sh $(pwd)/arrow |
113 | 101 | - name: Update dylib names |
114 | | - run: arrow/dev/tasks/matlab/rename_macos_arm64_dylibs.sh arrow/matlab/install/arrow_matlab/+libmexclass/+proxy |
| 102 | + run: arrow/dev/tasks/matlab/rename_macos_dynamic_libraries.sh arrow/matlab/install/arrow_matlab/+libmexclass/+proxy arm64 |
115 | 103 | - name: Compress into single artifact |
116 | 104 | run: tar -cvzf matlab-arrow-macos-arm64.tar.gz arrow/matlab/install/arrow_matlab |
117 | 105 | - name: Upload artifacts |
|
0 commit comments