Skip to content

Commit a59a612

Browse files
mark-i-mspastorino
andcommitted
More info about using local LLVM (#547)
* more info about llvm-config * typo Co-Authored-By: Santiago Pastorino <[email protected]> Co-authored-by: Santiago Pastorino <[email protected]>
1 parent e668a1f commit a59a612

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/building/suggested.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,15 @@ This is specified in the `target` section of `config.toml`:
7474
llvm-config = "/path/to/llvm/llvm-7.0.1/bin/llvm-config"
7575
```
7676

77-
On my system, this path is `/usr/bin/llvm-config-7`, but this probably varies
78-
by installation.
77+
We have observed the following paths before, which may be different from your system:
78+
79+
- `/usr/bin/llvm-config-8`
80+
- `/usr/lib/llvm-8/bin/llvm-config`
81+
82+
Note that you need to have the LLVM `FileCheck` tool installed, which is used
83+
for codegen tests. This tool is normally built with LLVM, but if you use your
84+
own preinstalled LLVM, you will need to provide `FileCheck` in some other way.
85+
On Debian-based systems, you can install the `llvm-N-tools` package (where `N`
86+
is the LLVM version number, e.g. `llvm-8-tools`). Alternately, you can specify
87+
the path to `FileCheck` with the `llvm-filecheck` config item in `config.toml`
88+
or you can disable codegen test with the `codegen-tests` item in `config.toml`.

0 commit comments

Comments
 (0)