[GH-ISSUE #1777] change in CMAKE flags in 0.1.18 causes illegal instruction on Intel mac #1017

Closed
opened 2026-04-12 10:44:24 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @jhheider on GitHub (Jan 3, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/1777

Reverting to the old flags as in this seems to fix it for me (as far as our automated testing goes).

No fix: https://github.com/pkgxdev/pantry/actions/runs/7400916216/job/20135652033
Fix: https://github.com/pkgxdev/pantry/actions/runs/7402435273/job/20140385965

Originally created by @jhheider on GitHub (Jan 3, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/1777 Reverting to the old flags as in [this](https://github.com/pkgxdev/pantry/pull/4710/files) seems to fix it for me (as far as our automated testing goes). No fix: https://github.com/pkgxdev/pantry/actions/runs/7400916216/job/20135652033 Fix: https://github.com/pkgxdev/pantry/actions/runs/7402435273/job/20140385965
GiteaMirror added the bug label 2026-04-12 10:44:24 -05:00
Author
Owner

@jmorganca commented on GitHub (Jan 4, 2024):

This should be fixed now @jhheider, please let me know if you're still seeing any issues. Thanks so much!

<!-- gh-comment-id:1877695608 --> @jmorganca commented on GitHub (Jan 4, 2024): This should be fixed now @jhheider, please let me know if you're still seeing any issues. Thanks so much!
Author
Owner

@jhheider commented on GitHub (Jan 4, 2024):

Can confirm, 0.1.18 builds without alteration now:

https://github.com/pkgxdev/pantry/actions/runs/7414434019/job/20175499348

<!-- gh-comment-id:1877720997 --> @jhheider commented on GitHub (Jan 4, 2024): Can confirm, 0.1.18 builds without alteration now: https://github.com/pkgxdev/pantry/actions/runs/7414434019/job/20175499348
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#1017