diff options
| author | Frank Denis <github@pureftpd.org> | 2020-09-26 17:10:33 +0200 |
|---|---|---|
| committer | Frank Denis <github@pureftpd.org> | 2020-09-26 17:10:33 +0200 |
| commit | 99c5d2d59053f647c041f71d75ee50f51a610977 (patch) | |
| tree | d408074a9093b825b3d9681381537262f2531876 /src/Compilation.zig | |
| parent | a502604702726f3983f8a8b80bb73d9d5381baab (diff) | |
| download | zig-99c5d2d59053f647c041f71d75ee50f51a610977.tar.gz zig-99c5d2d59053f647c041f71d75ee50f51a610977.zip | |
Print the llvm-config path on configuration error
This is helpful on systems with multiple LLVM installations.
For example, OpenBSD ships with LLVM in the base system, but without
support for extra targets.
A full LLVM version can be installed using the ports system, but even
when it is, `cmake` is not going to pick it up unless `/usr/local` is
explicitly added to the `cmake` search paths.
Having the full `llvm-config` path printed on error is helpful to
understand that the detected LLVM version was not the expected one.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
