Skip to content

Use the system's libblake3 if available #2064

@paravoid

Description

@paravoid

As libblake3 is becoming more popular and used across projects, it was recently packaged separately in Debian. I would like the crun package to build against this system-provided version instead of the vendored copy, for all the usual reasons.

I did so in the last upload (1.27-1) by patching the sources with this:
https://sources.debian.org/src/crun/1.27-1/debian/patches/use-system-blake3.patch
This followed the yajl code, which means that it requires an --enable-emdedded-blake3 if there is no system copy. I am not sure whether that is what you as upstream desire. If it is, let me know and I can push a PR -- or feel free to take it as-is and/or modify it to your liking.

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