From: Daniel Bevenius Date: Tue, 30 Jun 2026 15:47:22 +0000 (+0200) Subject: ci : set GGML_NATIVE=OFF for sanitize builds (#3920) X-Git-Tag: upstream/1.9.2~114 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=0874de3e8e8e48361dba85c7fe6d176f008bf158;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ci : set GGML_NATIVE=OFF for sanitize builds (#3920) This commit sets GGML_NATIVE=OFF for all sanitize builds to avoid the case where the compilation happens using a runner that support instructions that may not be available on all runners leading to illegal instruction and failed CI runs. Refs: https://github.com/ggml-org/whisper.cpp/actions/runs/28444909499/job/84291639530?pr=3919 --- diff --git a/.github/workflows/build-sanitize.yml b/.github/workflows/build-sanitize.yml index e517f7ba..465faeae 100644 --- a/.github/workflows/build-sanitize.yml +++ b/.github/workflows/build-sanitize.yml @@ -58,6 +58,7 @@ jobs: run: | cmake . -DCMAKE_BUILD_TYPE=Debug \ -DWHISPER_SANITIZE_${{ matrix.sanitizer }}=ON \ + -DGGML_NATIVE=OFF \ -DGGML_OPENMP=OFF make @@ -65,7 +66,8 @@ jobs: if: ${{ matrix.sanitizer == 'ADDRESS' }} run: | cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DWHISPER_SANITIZE_${{ matrix.sanitizer }}=ON + -DWHISPER_SANITIZE_${{ matrix.sanitizer }}=ON \ + -DGGML_NATIVE=OFF make - name: Build (no OpenMP) @@ -73,6 +75,7 @@ jobs: run: | cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DWHISPER_SANITIZE_${{ matrix.sanitizer }}=ON \ + -DGGML_NATIVE=OFF \ -DGGML_OPENMP=OFF make