docs: Add --parallel flag to cmake build commands in BUILD.md (#7302)

This commit is contained in:
Rithvik Reddygari
2026-05-21 02:33:19 -04:00
committed by GitHub
parent 28cc20c816
commit afcf6fbcdc

View File

@@ -427,16 +427,19 @@ install ccache --version 4.11.3 --allow-downgrade`.
Single-config generators:
```
cmake --build .
cmake --build . --parallel N
```
Multi-config generators:
```
cmake --build . --config Release
cmake --build . --config Debug
cmake --build . --config Release --parallel N
cmake --build . --config Debug --parallel N
```
Replace the `--parallel` parameter N with the desired number of parallel jobs. A common starting point is half of the number of available CPU
cores.
5. Test xrpld.
Single-config generators: