From bc54c639f9a3c360d48e1f52fd3fb11430229476 Mon Sep 17 00:00:00 2001 From: KakaruHayate Date: Sun, 16 Aug 2026 16:48:02 +0800 Subject: [PATCH] ci: add linux-x64-cpu (GGML_NATIVE=true) package CPU-only artifact built with -march=native so ggml picks the best SIMD for the target. Ship as -cpu / -cpu-q8 (7 platform variants total; release check updated 6->7). Existing GPU/CUDA jobs unchanged. --- .github/workflows/ci.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b048a5c..88a72fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -118,6 +118,16 @@ jobs: pkg_ext: "" lib_glob: "libggml*.so*" + - os: ubuntu-latest + name: linux-x64-cpu + backend: cpu + # CPU-only package built with -march=native for the target simd + # (ggml then uses AVX2/AVX-512 etc. via GGML_NATIVE). + cmake_extra: "-DGGML_NATIVE=ON" + build_jobs: 4 + pkg_ext: "" + lib_glob: "libggml*.so*" + - os: ubuntu-22.04 name: linux-x64-cuda backend: cuda @@ -412,8 +422,8 @@ jobs: full_count=$(ls *.oudep | grep -vc -- '-q8\.oudep$') || true q8_count=$(ls *.oudep | grep -c -- '-q8\.oudep$') || true echo "full variants: $full_count q8 variants: $q8_count" - test "$full_count" -eq 6 - test "$q8_count" -eq 6 + test "$full_count" -eq 7 + test "$q8_count" -eq 7 ls -lh *.oudep - name: Publish release