We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcbd729 commit 6dd5023Copy full SHA for 6dd5023
doc/make/index.md
@@ -27,9 +27,9 @@ Setting up a basic parallelized release build:
27
git clone https://github.com/leanprover/lean4
28
cd lean4
29
cmake --preset release
30
-make -C build/release -j$(nproc) # see below for macOS
+make -C build/release -j$(nproc || sysctl -n hw.logicalcpu)
31
```
32
-You can replace `$(nproc)`, which is not available on macOS and some alternative shells, with the desired parallelism amount.
+You can replace `$(nproc || sysctl -n hw.logicalcpu)` with the desired parallelism amount.
33
34
The above commands will compile the Lean library and binaries into the
35
`stage1` subfolder; see below for details.
0 commit comments