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
F162669736: D52858.diff
Wed, Jul 15, 1:56 PM
F162631432: D52858.diff
Wed, Jul 15, 6:47 AM
F162631431: D52858.diff
Wed, Jul 15, 6:47 AM
Unknown Object (File)
Tue, Jul 14, 10:38 AM
Unknown Object (File)
Thu, Jul 9, 8:56 PM
Unknown Object (File)
Fri, Jul 3, 11:31 PM
Unknown Object (File)
Tue, Jun 30, 9:56 PM
Unknown Object (File)
Sun, Jun 21, 1:43 PM
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.