Zulip Chat Archive

Stream: mathlib4

Topic: Cache build between branch switches


James Gallicchio (Aug 14 2023 at 18:26):

What's the state of the art for switching between branches without having to rebuild mathlib each time? Do I temporarily add build to the git tree and stash it between switches?

Mauricio Collares (Aug 14 2023 at 18:28):

lake exe cache pack before switching branches and lake exe cache unpack (or get) afterwards is an option

James Gallicchio (Aug 14 2023 at 18:31):

ahhh thank you!!

Kevin Buzzard (Aug 14 2023 at 18:47):

And you never have to build mathlib because of lake exe cache get

James Gallicchio (Aug 14 2023 at 19:22):

unfortunately i am doing some std bump shenanigans, so i need to rebuild most of mathlib, but I'm trying to do as few full compilations as possible :joy:


Last updated: Dec 20 2023 at 11:08 UTC