Repository navigation
Add native macOS Apple Silicon builds for MATLAB and Octave - #26
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the macOS Apple Silicon support changes.
No open issues 🎉
What changed in this PR
Adds native macOS Apple Silicon support for MATLAB and Octave, addressing #13 while retaining existing Linux and Windows builds. The release version advances to 0.6.3-alpha.
Changes:
- Configure macOS MATLAB MEX naming and library linking, and load the Octave
.dylibbeside its wrapper. - Extend CI with macOS 15 ARM64 builds, tests, and separate MATLAB and Octave artifacts.
- Document native build steps and installation requirements.
| File | Description |
|---|---|
| README.md | Lists macOS Apple Silicon binaries and minimum OS requirement. |
| OctaveMex/octavelibczi.c | Selects libmexlibczi.dylib on macOS. |
| MEXlibCZI/CMakeLists.txt | Sets macOS MEX extensions and excludes Linux GCC runtime flags. |
| doc/building.markdown | Documents native MATLAB and Octave builds and compatibility requirements. |
| CMakeLists.txt | Bumps the version and supports manual MATLAB .dylib paths. |
| .github/workflows/build.yml | Adds macOS ARM64 builds, testing, and artifact packaging. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add native macOS Apple Silicon builds for MATLAB and Octave on the macos-15 ARM64 runner, targeting macOS 15 or later. Bump the version to 0.6.3-alpha.
Validation: GitHub Actions passed on macOS 15 ARM64, Ubuntu 22.04/24.04/26.04 x64, and Windows x64. All ten artifacts uploaded. file/otool confirmed ARM64 binaries and expected host/system dependencies. git diff --check passed. Release publication was disabled.
Fixes #13.