Skip to content

pacman/makepkg-mingw: consider mingw native bsdtar instead of cygwin one. #5945

@MehdiChinoune

Description

@MehdiChinoune

mingw-w64-libarchive contain a native binary for bsdtar, this will help speed the build process especially for decompressing source archives.
a small benchmark:

$ time /usr/bin/bsdtar.exe -xJf qgis-3.44.6.tar.bz2

real    2m49.270s
user    0m39.843s
sys     2m7.655s
$ time /clang64/bin/bsdtar.exe -xJf qgis-3.44.6.tar.bz2

real    0m42.200s
user    0m0.031s
sys     0m0.047s

On clangarm64 it is going to be huge difference.
Maybe Also use native zstd for compressing packages also.

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