-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Every once in a while, a packager will run into having to repeatedly attempt to build something while they patch it up.
In this scenario, the ccache and sccache compiler cache tools can be very helpful.
Our just build recipe is setup so it is as simple as executing:
BOULDER_ARGS="--compiler-cache" just build
# or, if you want everything to inherit it in your current shell session
export BOULDER_ARGS="--compiler-cache"
just build
when you want to build with the compiler cache tools turned on.
... yes, learning this the hard way with qt6-webengine was ... "fun".
Thanks to @ReillyBrogan for reminding me that we support this. Long after I needed it of course. As foretold by the prophecy.
Says Reilly:
Note that sccache breaks if you run multiple builds that use cargo at the same time
Metadata
Metadata
Assignees
Labels
No labels