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
F154364679: D52858.id163443.diff
Tue, Apr 28, 3:18 AM
Unknown Object (File)
Mon, Apr 27, 6:08 PM
Unknown Object (File)
Mon, Apr 27, 2:45 PM
Unknown Object (File)
Mon, Apr 27, 12:21 PM
Unknown Object (File)
Mon, Apr 27, 8:52 AM
Unknown Object (File)
Mon, Apr 6, 12:02 PM
Unknown Object (File)
Sun, Apr 5, 3:28 AM
Unknown Object (File)
Sun, Apr 5, 1:24 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.