Skip to content

Add support for .tar.zst to http_archive #10342

@gjasny

Description

@gjasny

In our project we're using repository rules to download and uncompress prebuilt C++ libraries. Due to the large archive size we were evaluating different compression algorithms. One interesting candidate (which is also supported by CMake) is Zstandard. Right now it is not available within Bazel.

The Apache Commons Compress now supports zstd through the zstd-jni library. Unfortunately it relies on a native library.

I prepared a proof-of-concept branch with some shortcuts in gjasny/zstd-decompression and would like to ask if you'd consider adding support for Zstandard compression given the icky JNI implementation.

(With aircompressor there is native implementation available bit it lacks Big Endian and Stream support)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3We're not considering working on this, but happy to review a PR. (No assignee)team-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions