Commit 01832ef
ci: disable GGML_NATIVE for cross-compiled darwin x86_64 (#10)
Building on macos-latest (arm64) with CMAKE_OSX_ARCHITECTURES=x86_64
causes ggml's native arch detection to pass -march=native with the
host CPU (apple-m3), which Apple clang rejects for an x86_64 target.
Set GGML_NATIVE=OFF so ggml emits a generic x86_64 build — also more
appropriate for a release artifact than host-tuned codegen.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ce326c4 commit 01832ef
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments