]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ci : set GGML_NATIVE=OFF for bindings-java (#3830)
authorDaniel Bevenius <redacted>
Thu, 28 May 2026 05:21:25 +0000 (07:21 +0200)
committerGitHub <redacted>
Thu, 28 May 2026 05:21:25 +0000 (07:21 +0200)
* 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

index 7ace04e1207fe8e8664f15bc4fbb82bc91d59e79..aaaa8fe58267f1a66c6c9cceccb5d0c6ace52d9c 100644 (file)
@@ -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: |