sgilmore10 opened a new pull request, #41592:
URL: https://github.com/apache/arrow/pull/41592

   ### Rationale for this change
   
   Currently, the MATLAB interface is built and tested on `macos-12` - not 
`macos-14` - because the version of `mathworks/libmexclass` depends on used to 
not support `macos-14`. However, now that 
https://github.com/apache/arrow/issues/41400 is closed, the version of 
`mathworks/libmexclass` the MATLAB interface depends on works on `macos-14`, so 
we will be able to build and test the MATLAB interface on `macos-14`.
   
   **Note**: When adding support for ARM-based macOS builds, we discovered an 
issue with the way in which we package the MLTBX files for the MATLAB Interface 
to Arrow.
    
   Currently, we bundle all shared libraries for all platforms (.dll, .dylib, 
and .so) into one large "monolithic" MLTBX file.
    
   Unfortunately, putting all platform-specific files into one MLTBX file poses 
an issue when we support multiple ISAs (e.g. x86 and ARM) because builds for 
the same operating system with different ISAs will have the same shared library 
file names. In other words, we will have a library named libarrowproxy.dylib 
for both ARM and x86 macOS builds.
    
   Therefore, we are going to hold off on adding ARM-based macOS builds to the 
crossbow packaging workflow for now until we have a chance to properly explore 
alternative packaging approaches. For example, we may want to consider having 
platform-specific MLTBX files. However, we still think it is worthwhile to add 
CI support for `macos-14` in the meantime.
   
   ### What changes are included in this PR?
   
   1. Added workflow to build and test the MATLAB interface on `macos-14` as 
well as `macos-12`.
   
   ### Are these changes tested?
   
   N/A. 
   
   
   ### Are there any user-facing changes?
   
   No.
   
   ### Future Directions
   
   1. Add crossbow packaging workflow on `macos-14` once we determine how to 
package the interface for both ARM-based and Intel-based mac ISAs.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to