From fea81ae783d756aea45f05c093dca737fbde7141 Mon Sep 17 00:00:00 2001 From: Mark Mansi Date: Mon, 30 Dec 2019 14:32:49 -0600 Subject: [PATCH 1/2] more info about llvm-config --- src/building/suggested.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/building/suggested.md b/src/building/suggested.md index 07f834eac..438c265d9 100644 --- a/src/building/suggested.md +++ b/src/building/suggested.md @@ -74,5 +74,15 @@ This is specified in the `target` section of `config.toml`: llvm-config = "/path/to/llvm/llvm-7.0.1/bin/llvm-config" ``` -On my system, this path is `/usr/bin/llvm-config-7`, but this probably varies -by installation. +We have observed the following paths before, which may be different from your system: + +- `/usr/bin/llvm-config-8` +- `/usr/lib/llvm-8/bin/llvm-config` + +Note that you need to have the LLVM `FileCheck` tool installed, which is used +for codegen tests. This tool is normally built with LLVM, but if you use your +own preinstalled LLVM, you will need to provide `FileCheck` in some other way. +On Debian-based systems, you can install the `llvm-N-tools` package (where `N` +is the LLMV version number, e.g. `llvm-8-tools`). Alternately, you can specify +the path to `FileCheck` with the `llvm-filecheck` config item in `config.toml` +or you can disable codegen test with the `codegen-tests` item in `config.toml`. From 42e51fa35cac2ee348596668d4fd515e267da752 Mon Sep 17 00:00:00 2001 From: Who? Me?! Date: Mon, 30 Dec 2019 19:51:12 -0600 Subject: [PATCH 2/2] typo Co-Authored-By: Santiago Pastorino --- src/building/suggested.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/building/suggested.md b/src/building/suggested.md index 438c265d9..087e9dee8 100644 --- a/src/building/suggested.md +++ b/src/building/suggested.md @@ -83,6 +83,6 @@ Note that you need to have the LLVM `FileCheck` tool installed, which is used for codegen tests. This tool is normally built with LLVM, but if you use your own preinstalled LLVM, you will need to provide `FileCheck` in some other way. On Debian-based systems, you can install the `llvm-N-tools` package (where `N` -is the LLMV version number, e.g. `llvm-8-tools`). Alternately, you can specify +is the LLVM version number, e.g. `llvm-8-tools`). Alternately, you can specify the path to `FileCheck` with the `llvm-filecheck` config item in `config.toml` or you can disable codegen test with the `codegen-tests` item in `config.toml`.