Page MenuHomeFreeBSD

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

Authored by emaste on Thu, Oct 2, 3:32 PM.
Tags
None
Referenced Files
F132120828: D52858.id163349.diff
Mon, Oct 13, 10:22 PM
F132120824: D52858.id.diff
Mon, Oct 13, 10:22 PM
F132120823: D52858.id163443.diff
Mon, Oct 13, 10:22 PM
Unknown Object (File)
Mon, Oct 13, 8:43 AM
Unknown Object (File)
Fri, Oct 3, 11:57 PM
Unknown Object (File)
Fri, Oct 3, 10:30 PM
Unknown Object (File)
Fri, Oct 3, 7:32 AM
Unknown Object (File)
Fri, Oct 3, 12:40 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.Thu, Oct 2, 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.Fri, Oct 3, 3:13 PM
This revision was automatically updated to reflect the committed changes.