File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -469,6 +469,18 @@ You can also use `--keep-stage 1` when running tests. Something like this:
469
469
- Initial test run: ` ./x.py test -i --stage 1 src/test/ui `
470
470
- Subsequent test run: ` ./x.py test -i --stage 1 src/test/ui --keep-stage 1 `
471
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
+
472
484
### Other ` x.py ` commands
473
485
474
486
Here are a few other useful ` x.py ` commands. We'll cover some of them in detail
You can’t perform that action at this time.
0 commit comments