apache / apache/arrow

[MATLAB][Packaging] `.lib` files should not be included in the MLTBX package file for the MATLAB interface

Open
#40,903 0 comments 0 reactions 0 assignees View on GitHub
Component: MATLAB Component: Packaging Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the bug, including details regarding any error messages, version, and platform.

This is a follow up to https://github.com/apache/arrow/pull/38660#issuecomment-2027721732.

We should prevent the `.lib` files under `./fsroot/+libmexclass/+proxy/` from being included in the MLTBX file for the MATLAB interface, since those shouldn't be required as runtime dependencies. We suspect that the fact that these are being included may be due to a bug in `mathworks/libmexclass` somewhere in the implementation of the `install_imported_target` function defined here: https://github.com/mathworks/libmexclass/blob/main/libmexclass/cpp/CMakeLists.txt#L18.

### Component(s)

MATLAB, Packaging

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.