Zulip Chat Archive
Stream: lean4
Topic: Locally making lean
Wrenna Robson (Jan 09 2026 at 16:09):
When I am working on a PR to core, and I want to start on it, is there a quicker way to get a working copy of a build then building it locally? I often find this can take more than an hour and it's quite tiresome to do every time. I don't think there's any caching system, is there: or am I missing something?
Kim Morrison (Jan 09 2026 at 21:16):
script/build_artifact.py
Wrenna Robson (Jan 09 2026 at 21:18):
Oh! Thank you.
Wrenna Robson (Jan 12 2026 at 10:40):
@Kim Morrison I don't actually see that script in the repo
Wrenna Robson (Jan 12 2026 at 10:41):
At least not in my local copy... but I do on github. Weird.
Wrenna Robson (Jan 12 2026 at 10:41):
Oh I got it.
Wrenna Robson (Jan 12 2026 at 10:59):
Hmm. Having run this script, when opening src/Init/Nat/Bitwise/Lemmas.lean I get "unexpected token 'where'; expected command" as an error on line 503 and 506
Wrenna Robson (Jan 12 2026 at 10:59):
That is having opened vs code with "code lean.code-workspace"
Wrenna Robson (Jan 12 2026 at 11:18):
Having made an edit to a file in Init, how do I best quickly recompile so that I can use my changes in a file later in the hierarchy?
Kim Morrison (Jan 27 2026 at 03:53):
Just the usual make -j -C build/release .
Wrenna Robson (Jan 27 2026 at 06:34):
Righto
Last updated: Feb 28 2026 at 14:05 UTC