Skip to content

Compile bug: shaderc v2025.2 causes vulkan compilation failure (same as ggml-org/llama.cpp#15344) #3382

@Rhys-T

Description

@Rhys-T

As mentioned in ggml-org/llama.cpp#15344 (comment), whisper.cpp currently fails to build with Vulkan enabled when using the latest version of shaderc, just like llama.cpp did until recently. This happens on both Linux and macOS, on both x86_64 and aarch641.

The problem was recently fixed in llama.cpp's copy of ggml by disabling certain shader optimizations (ggml-org/llama.cpp#15352). Applying this change to whisper.cpp's copy of ggml seems to get it building and running again. Presumably the base ggml repo has the same issue, although I can't test that through Nixpkgs. I'd open PRs for this myself, but I'm not really clear on how the three copies of ggml relate to each other, and I don't want to cause unnecessary merge conflicts for you.

Footnotes

  1. Hydra: x86_64-linux, aarch64-linux, x86_64-darwin, aarch64-darwin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions