Zulip Chat Archive
Stream: lean4
Topic: lake build -j?
Julian Berman (Oct 20 2024 at 13:45):
lake build --help
doesn't tell me how I configure its level of parallelism. Does it not have a way exposed? Grepping the source code does seem to show it has a notion of how many jobs to run, is this not exposed to the command line?
Mac Malone (Oct 20 2024 at 14:29):
Henrik Böving (Oct 20 2024 at 14:30):
Currently lake just uses as many threads as the runtime has because it makes use of the Task
primitive. You can use the env variable LEAN_NUM_THREADS
to set that
Julian Berman (Oct 20 2024 at 14:42):
Aha! Thanks both of you.
Last updated: May 02 2025 at 03:31 UTC