@@ -31,8 +31,8 @@ set -ex
31
31
#
32
32
# $ tree /tmp/example
33
33
# /tmp/example
34
- # ├── regular_file.txt
35
- # └── symbolic_link -> regular_file.txt
34
+ # |-- regular_file.txt
35
+ # |-- symbolic_link -> regular_file.txt
36
36
#
37
37
# In MATLAB, if the symbolic link and its target file are in the same folder, then the symbolic link
38
38
# is not included as one of the files to be packaged:
@@ -50,11 +50,11 @@ set -ex
50
50
#
51
51
# $ tree arrow/matlab/install/arrow_matlab/+libmexclass/+proxy/
52
52
# .
53
- # ├── libarrow.1700.0.0.dylib
54
- # ├── libarrow.1700.dylib -> libarrow.1700.0.0.dylib
55
- # └── libarrow.dylib -> libarrow.1700.dylib
53
+ # |-- libarrow.1700.0.0.dylib
54
+ # |-- libarrow.1700.dylib -> libarrow.1700.0.0.dylib
55
+ # |-- libarrow.dylib -> libarrow.1700.dylib
56
56
#
57
- # When arrow/matlab/install/arrow_matlab is packaged into an MLTBX file, only the "reguar file"
57
+ # When arrow/matlab/install/arrow_matlab is packaged into an MLTBX file, only the "regular file"
58
58
# libarrow.1700.0.0.dylib is included. This is problematic because building the MATLAB creates
59
59
# a shared library named libarrowproxy.dylib, which links against libarrow.1700.dylib
60
60
# - not libarrow.1700.0.0.dylib:
@@ -69,8 +69,16 @@ set -ex
69
69
#
70
70
# Issue Number 2:
71
71
#
72
+ # We currently create one MLTBX file to package the MATLAB Arrow interface for win64, glnxa64,
73
+ # maci64, and maca64. We do this because the MATLAB File Exchange <-> GitHub Releases integration
74
+ # does not support platform-specific MLTBX files as of this moment. This mostly works, except rename
75
+ # either the maci64 shared libraries or the maca64 shared libraries to avoid duplicate filenames
76
+ # in the MLTBX file because maci64 and maca64 shared libraries have the same extension: dylib.
77
+ # For example, the shared library libarrow.1700.0.0.dylib is produced when building Arrow on
78
+ # macOS AND Intel-based macOS.
72
79
#
73
-
80
+ # To workaround this issue, we have decided to append the suffix arm64 to the shared libraries built
81
+ # on ARM-based macOS.
74
82
75
83
if [ " $# " -ne 1 ]; then
76
84
echo " Usage: $0 <dylib-dir>"
0 commit comments