]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ci : set GGML_NATIVE=OFF for build-vad workflow (#3966)
authorDaniel Bevenius <redacted>
Mon, 3 Aug 2026 11:34:00 +0000 (13:34 +0200)
committerGitHub <redacted>
Mon, 3 Aug 2026 11:34:00 +0000 (13:34 +0200)
This commit adds the cmake option GGML_NATIVE=OFF to the build-vad
workflow to avoid the situation where the ccache is populated with
object files containing instructions may not be supported by all
runners.

The motivation for this is that the test-vad is currently failing
(depending on the runner assigned) with the linked error below.

Refs: https://github.com/ggml-org/whisper.cpp/actions/runs/30625192129/job/91600926109?pr=3963

.github/workflows/build-vad.yml

index dd0efa33efe3b76971e119a9d87cf652930d0512..d34a96ec16ec06548a0176b941188293f72e444f 100644 (file)
@@ -41,7 +41,7 @@ jobs:
       - name: Build
         shell: bash
         run: |
-          cmake -B build -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
+          cmake -B build -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DGGML_NATIVE=OFF
           cmake --build build --config Release
 
       - name: Test