Page MenuHomeFreeBSD

depend-cleanup.sh: Remove everything before the last build epoch.
ClosedPublic

Authored by imp on Tue, Nov 11, 6:51 PM.
Tags
None
Referenced Files
F137903430: D53693.diff
Thu, Nov 27, 1:35 AM
Unknown Object (File)
Wed, Nov 26, 1:48 AM
Unknown Object (File)
Tue, Nov 25, 11:39 PM
Unknown Object (File)
Mon, Nov 24, 8:12 AM
Unknown Object (File)
Sun, Nov 23, 11:30 PM
Unknown Object (File)
Thu, Nov 20, 12:31 PM
Unknown Object (File)
Thu, Nov 20, 1:00 AM
Unknown Object (File)
Thu, Nov 20, 1:00 AM
Subscribers

Details

Summary

We were deleting the .a files for llvm when it was build in bootstrap,
but this caused us to rebuild all the bootstrap things since the
bootstrap compiler changed, making the build time 25 minutes instead of
77 seconds on one of my systems. Items before the last rebuild from
scratch epoch are no longer relevant because you have to rebuild
entirely, so the incremental conditions that lead up to them being
needed are no longer true.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 68551
Build 65434: arc lint + arc unit

Event Timeline

imp requested review of this revision.Tue, Nov 11, 6:51 PM
jrtc27 added inline comments.
tools/build/depend-cleanup.sh
472

Technically this can go too because the build epoch didn't land until the 14th (probably the stamp should have been updated to correspond to the commit date); see git diff 0090096e52738383d6bf48ed5d27dffc850c8a01 <remote>/main tools/build/depend-cleanup.sh.

This revision is now accepted and ready to land.Tue, Nov 11, 6:59 PM
emaste added a subscriber: emaste.
emaste added inline comments.
tools/build/depend-cleanup.sh
268–274

This perhaps should be a new example in the comment at the top of this file

tools/build/depend-cleanup.sh
268–274

Ok. I'll do it