Zulip Chat Archive

Stream: lean4

Topic: number of threads for lake build


Floris van Doorn (Feb 19 2025 at 16:26):

Is there a way to specify the number of cores lake build is allowed to use (similar to -j in make)?
Reason: On my office computer, when running lake build on Mathlib, all other programs start to lag/be unresponsive
(This is on Debian GNU/Linux 11 (bullseye), with GUI LXQt)

Henrik Böving (Feb 19 2025 at 16:28):

$ export LEAN_NUM_THREADS=number
$ lake build

Floris van Doorn (Feb 19 2025 at 16:29):

Thanks!


Last updated: May 02 2025 at 03:31 UTC