From f6e617bab7843d86d94237f9791ee41d524333f9 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 28 May 2026 07:21:25 +0200 Subject: [PATCH] ci : set GGML_NATIVE=OFF for bindings-java (#3830) * ci : set GGML_NATIVE=OFF for bindings-java This commit attempts to address an issue with the bindings-java job which is currently failing. I've not been able to reproduce this locally my windows machine and I suspect that what might be happning is that windows job compiles on a runner where it has different CPU features, for example AVX512 and when this dll is used on a different runner that does not have that feature it will crash. Refs: https://github.com/ggml-org/whisper.cpp/actions/runs/26496174929/job/78059073255?pr=3829 * ci : also disable BMI2 --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ace04e12..aaaa8fe58 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -640,6 +640,8 @@ jobs: -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DBUILD_SHARED_LIBS=ON -DWHISPER_SDL2=${{ matrix.sdl2 }} + -DGGML_NATIVE=OFF + -DGGML_BMI2=OFF - name: Build run: |