Skip to content

Do not use prebuilt cpu compile preamble when headers are installed#3463

Merged
zcbenz merged 1 commit intoml-explore:mainfrom
zcbenz:alternative-preamble
May 9, 2026
Merged

Do not use prebuilt cpu compile preamble when headers are installed#3463
zcbenz merged 1 commit intoml-explore:mainfrom
zcbenz:alternative-preamble

Conversation

@zcbenz
Copy link
Copy Markdown
Collaborator

@zcbenz zcbenz commented Apr 28, 2026

Check whether the headers are shipped with the binary, if so use the preamble from the headers, otherwise use the prebuilt one embeded in binary.

We can't just always use the prebuilt one because it may not work with all the compilers, closes #3430, closes #3080.

@zcbenz zcbenz force-pushed the alternative-preamble branch from fb4cb73 to bcf9ee8 Compare April 28, 2026 08:06
Copy link
Copy Markdown
Member

@angeloskath angeloskath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

@zcbenz zcbenz merged commit 662115c into ml-explore:main May 9, 2026
16 checks passed
@zcbenz zcbenz deleted the alternative-preamble branch May 9, 2026 00:02
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.

[BUG] mlx-cpu backend has a hard dependncy on a deprecated version of gcc [BUG] arm64 CPU backend fails JIT compile when using Float16

2 participants