Skip to content

build: make older intel macs work again#884

Merged
pkova merged 2 commits intodevelopfrom
pkova/haswell
Sep 26, 2025
Merged

build: make older intel macs work again#884
pkova merged 2 commits intodevelopfrom
pkova/haswell

Conversation

@pkova
Copy link
Copy Markdown
Collaborator

@pkova pkova commented Sep 25, 2025

Since the zig build system we've been building gmp for the x86_64 macos build with ADX instructions that were introduced in the Intel Broadwell microarchitecture. This caused illegal instruction exceptions on some older Intel macs such as my mid 2015 macbook that's running a Haswell with no ADX support. This commit "downgrades" the x86_64 macos build to be compatible with Haswell, this should cover almost all users for now.

Since the zig build system we've been building gmp for the x86_64 macos build with ADX
instructions that were introduced in the Intel Broadwell microarchitecture. This
caused illegal instruction exceptions on some older Intel macs such as my mid
2015 macbook that's running a Haswell with no ADX support. This commit
"downgrades" the x86_64 macos build to be compatible with Haswell, this should cover almost
all users for now.
@pkova pkova requested a review from a team as a code owner September 25, 2025 12:59
@pkova pkova merged commit f9a98bd into develop Sep 26, 2025
2 checks passed
@pkova pkova deleted the pkova/haswell branch September 26, 2025 15:17
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