Skip to content

Support more Debian-based distros - #16

Merged
chreekat merged 19 commits into
mainfrom
b/distros
Oct 29, 2026
Merged

chreekat merged 19 commits into
mainfrom
b/distros

Conversation

@chreekat

Copy link
Copy Markdown
Collaborator

Adds a bunch of patches to the packages. I'll open PRs upstream in a sec.

Signed-off-by: Bryan Richter <b@chreekat.net>
Signed-off-by: Bryan Richter <b@chreekat.net>
Signed-off-by: Bryan Richter <b@chreekat.net>
Ubuntu's default build flags turn on LTO; Debian's don't. On OBS aarch64 each p4c executable's LTO link took 15-20 minutes, which ccache can't skip, so a p4c build there took 8.7 hours.

Signed-off-by: Bryan Richter <b@chreekat.net>
Signed-off-by: Bryan Richter <b@chreekat.net>
Signed-off-by: Bryan Richter <b@chreekat.net>
Signed-off-by: Bryan Richter <b@chreekat.net>
Signed-off-by: Bryan Richter <b@chreekat.net>
Signed-off-by: Bryan Richter <b@chreekat.net>
Signed-off-by: Bryan Richter <b@chreekat.net>
Signed-off-by: Bryan Richter <b@chreekat.net>
Signed-off-by: Bryan Richter <b@chreekat.net>
Under OBS's useccache, both builds ran ccache on top of OBS's ccache
wrapper. OBS regenerates that wrapper script every build, so the outer
ccache, hashing the wrapper as the compiler by mtime, never hits; it only
stores a second copy of each object, doubling the cache archive.

Signed-off-by: Bryan Richter <b@chreekat.net>
Signed-off-by: Bryan Richter <b@chreekat.net>
Signed-off-by: Bryan Richter <b@chreekat.net>
PI has passed --experimental_allow_proto3_optional to protoc 3.12-3.14
since p4lang/PI#602 (v0.1.1), and newer protoc accepts the labels as is.

Signed-off-by: Bryan Richter <b@chreekat.net>
Signed-off-by: Bryan Richter <b@chreekat.net>
Signed-off-by: Bryan Richter <b@chreekat.net>

@jafingerhut jafingerhut left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if you need approval or not, but just in case.

@chreekat

Copy link
Copy Markdown
Collaborator Author

It doesn't hurt. :) I've technically already "deployed" these changes, but it's always nice to get feedback. I'll merge.

@chreekat

Copy link
Copy Markdown
Collaborator Author

Hm, though I'd sort of like to keep the individual commits. I may enable fast-forward merging...

@chreekat
chreekat merged commit d897988 into main Oct 29, 2026
2 checks passed
@chreekat
chreekat deleted the b/distros branch October 29, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants