Commit ca5dbc8
committed
ci(release): build on macos-26 + Xcode 26.x for MLX M5 NAX SDK
The MLX Neural-Accelerator (NAX) GEMM path that delivers the M5 Pro/Max
prefill speedup is gated by `is_nax_available()`, which expands to
`__builtin_available(macOS 26.2, *)`. Compiling that guard requires an
SDK that knows macOS 26.2 (Xcode 26.x). macos-14/15 default to Xcode
16.x and don't reliably carry Xcode 26 (disk-constrained), so they fail
with "macOS 26.2 is not a valid availability version".
Switch to the macos-26 runner (GA, arm64-native, Xcode 26.x default) and
pin latest-stable Xcode so libmlx/metallib build with the NAX kernels.
The kernels bake into the metallib host-independently, so the resulting
aarch64 binary activates the M5 path at runtime on M5 hardware.1 parent 0bfca1e commit ca5dbc8
1 file changed
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
35 | 44 | | |
36 | 45 | | |
37 | 46 | | |
| |||
50 | 59 | | |
51 | 60 | | |
52 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
53 | 73 | | |
54 | 74 | | |
55 | 75 | | |
| |||
0 commit comments