Page MenuHomeFreeBSD

Cirrus-CI: Switch back to tzst packages, but use level 1
ClosedPublic

Authored by emaste on Oct 2 2025, 3:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 1 2025, 8:20 PM
Unknown Object (File)
Oct 28 2025, 2:36 PM
Unknown Object (File)
Oct 27 2025, 2:02 PM
Unknown Object (File)
Oct 26 2025, 7:35 PM
Unknown Object (File)
Oct 26 2025, 4:40 AM
Unknown Object (File)
Oct 26 2025, 4:40 AM
Unknown Object (File)
Oct 26 2025, 4:40 AM
Unknown Object (File)
Oct 26 2025, 4:36 AM
Subscribers

Details

Summary
We previously used `PKG_FORMAT: tar` to avoid spending a lot of time in
zstd compression.  Instead just set PKG_LEVEL to compression level 1,
which produces packages that are much smaller than uncompressed tarballs
with only a small increase in build time.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste requested review of this revision.Oct 2 2025, 3:32 PM
emaste created this revision.

@cperciva: @ivy wondered if we could make the default to be lower compression (level 1 or whatever the best tradeoff between speed and size is) and have the official release builds set it to some high level. I think that's reasonable in principle, but I want the release artifacts to be reproducible without requiring users to set a variety of build knobs. What do you think about having one top-level knob to set for official release builds that controls the various defaults for things like this?

This revision was not accepted when it landed; it landed in state Needs Review.Oct 3 2025, 3:13 PM
This revision was automatically updated to reflect the committed changes.