]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml-cpu: Conditionally enable power11 backend based on compiler support (llama/24687)
authorshalinib-ibm <redacted>
Wed, 17 Jun 2026 18:45:19 +0000 (00:15 +0530)
committerGeorgi Gerganov <redacted>
Fri, 19 Jun 2026 09:53:43 +0000 (12:53 +0300)
commit6aff09ac48ae48873543982a1ab3ab9c072ad7d0
tree6319b8f2621f85d3e6a6bdb2eeb3c3a8bd81f439
parentd9115692308a0e006df94ff578c6f2b9c6fcd9ef
ggml-cpu: Conditionally enable power11 backend based on compiler support (llama/24687)

* ggml: Conditionally enable power11 backend based on compiler support

Guard POWER11 backend creation behind a compiler flag check for -mcpu=power11. This avoids build failures on current GCC/Clang toolchains while preserving forward compatibility once POWER11 support becomes available.

* Update CMakeLists.txt

ggml-cpu: Use -mcpu=power10 for P10 and P11
ggml/src/CMakeLists.txt
ggml/src/ggml-cpu/CMakeLists.txt