diff --git a/CHANGELOG.md b/CHANGELOG.md index 51d69a0..3f70fff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Extensions pick changes up with `bin/sync`; the version records which scaffold an extension was synced from. +## [0.2.1] - 2026-10-29 + +### Fixed + +- Release builds export `GGML_NATIVE=OFF` on x86_64 legs, so a vendored + ggml (whisper.cpp) is built for ggml's portable AVX2 baseline instead + of the runner's CPU. The ubuntu-26.04 runners have AVX-512, and + ext-whisper 0.1.1's x86_64 binaries crashed with SIGILL on AVX2-only + CPUs. + ## [0.2.0] - 2026-10-29 ### Added @@ -45,5 +55,6 @@ First release: the `template/managed/` and `template/seed/` trees, POSIX `bin/render` and `bin/sync`, per-repo `.ext-template.conf`, and the `versions.conf` pin cascade. +[0.2.1]: https://github.com/DisplaceTech/ext-template/compare/v0.2.0...v0.2.1 [0.2.0]: https://github.com/DisplaceTech/ext-template/compare/v0.1.0...v0.2.0 [0.1.0]: https://github.com/DisplaceTech/ext-template/releases/tag/v0.1.0 diff --git a/template/managed/.github/workflows/release.yml b/template/managed/.github/workflows/release.yml index e507d1e..41cd9ff 100644 --- a/template/managed/.github/workflows/release.yml +++ b/template/managed/.github/workflows/release.yml @@ -174,6 +174,19 @@ jobs: # the matrix. key: release-php-${{ matrix.php }}-${{ matrix.arch }} + # Portable ggml on x86_64. whisper.cpp's CMake defaults to + # GGML_NATIVE=ON (-march=native), so a vendored ggml is tuned to + # whatever CPU the runner happens to have. The ubuntu-26.04 runners + # have AVX-512, and ext-whisper 0.1.1's x86_64 binaries SIGILL'd on + # AVX2-only CPUs (Zen 2/Zen+, pre-Ice Lake Intel). OFF selects ggml's + # portable defaults (AVX/AVX2/FMA/F16C, no AVX-512), matching the + # x86-64-v3 floor. llama-cpp-sys-2 already forces OFF; extensions + # without ggml ignore it. Not set on arm64: the macOS legs' native + # target is Apple M1, the floor of every supported Mac. + - name: Portable ggml codegen (x86_64) + if: matrix.arch == 'x86_64' + run: echo "GGML_NATIVE=OFF" >> "$GITHUB_ENV" + - name: Build release env: # Setting RUSTFLAGS clobbers .cargo/config.toml's rustflags, so