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
F147234796: D52858.id163443.diff
Mon, Mar 9, 8:13 AM
Unknown Object (File)
Sat, Feb 28, 10:32 PM
Unknown Object (File)
Sat, Feb 28, 5:11 AM
Unknown Object (File)
Sun, Feb 22, 3:39 PM
Unknown Object (File)
Sun, Feb 22, 3:39 PM
Unknown Object (File)
Sun, Feb 22, 3:19 PM
Unknown Object (File)
Sat, Feb 21, 5:14 AM
Unknown Object (File)
Jan 26 2026, 2:14 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.