Skip to content

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

Open
zcbenz wants to merge 1 commit intoml-explore:mainfrom
zcbenz:alternative-preamble
Open

Do not use prebuilt cpu compile preamble when headers are installed#3463
zcbenz wants to merge 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
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

1 participant