Skip to content

Fix macOS ARM64 KleidiAI release build - #19

Merged
laurenspriem merged 2 commits into
ente:mainfrom
laurens-pilot:fix/macos-arm64-kleidiai-warning
Oct 28, 2026
Merged

laurenspriem merged 2 commits into
ente:mainfrom
laurens-pilot:fix/macos-arm64-kleidiai-warning

Conversation

@laurens-pilot

Copy link
Copy Markdown
Contributor

The ONNX Runtime 1.31.0 macOS ARM64 build fails under -Werror because Sve2p1HalfGemmKernelName is used only by optional logging and test hooks. Mark it [[maybe_unused]], preserving kernel behavior and strict compiler warnings.

Share patch preparation between release preflight and platform builds so the compatibility patch is skipped on older releases without this constant. The actual upstream source reproduces the compiler error before patching and compiles afterward with release, logging, and test-hook configurations; patch application and repeat preparation also pass for 1.28.1, 1.29.0, 1.30.0, and 1.31.0. The next full release build still needs to run after merge.

@laurenspriem
laurenspriem merged commit ff0587a into ente:main Oct 28, 2026
2 checks passed
@laurens-pilot
laurens-pilot deleted the fix/macos-arm64-kleidiai-warning branch October 28, 2026 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants