We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7f2494 commit 6b6e6ccCopy full SHA for 6b6e6cc
src/how-to-build-and-run.md
@@ -469,6 +469,18 @@ You can also use `--keep-stage 1` when running tests. Something like this:
469
- Initial test run: `./x.py test -i --stage 1 src/test/ui`
470
- Subsequent test run: `./x.py test -i --stage 1 src/test/ui --keep-stage 1`
471
472
+### Building with system LLVM
473
+
474
+By default, LLVM is built from source, and that can take significant amount of time.
475
+An alternative is to use LLVM already installed on your computer.
476
477
+This is specified in the `target` section of `config.toml`:
478
479
+```toml
480
+[target.x86_64-unknown-linux-gnu]
481
+llvm-config = "/path/to/llvm/llvm-7.0.1/bin/llvm-config"
482
+```
483
484
### Other `x.py` commands
485
486
Here are a few other useful `x.py` commands. We'll cover some of them in detail
0 commit comments