diff options
| author | sin-ack <sin-ack@users.noreply.github.com> | 2022-07-30 10:57:44 +0000 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-07-31 12:56:00 -0700 |
| commit | b35490c21732d74232680d2de2deb89f97356c0d (patch) | |
| tree | 0fcf32b4a694d4514a5b29eb582ef0653ccf59d1 /src/codegen/llvm.zig | |
| parent | c0a1b4fa46dfd00d0cc4d1b6954bc07ae762e31e (diff) | |
| download | zig-b35490c21732d74232680d2de2deb89f97356c0d.tar.gz zig-b35490c21732d74232680d2de2deb89f97356c0d.zip | |
cmake: Print all LLVM config errors instead of just the last one
If you have multiple llvm-config executables in your path, and all of
them cause failures, then only the last failure will be printed. This
can cause confusion when the multiple llvm-config executables are from
different major LLVM versions, i.e. LLVM 13 and 14, which might mask an
error that happened on the LLVM 14 llvm-config with an unrelated error.
This commit makes it so that all errors are collected into a list and
printed all at once; this way, you can see how each llvm-config
executable failed to configure properly. Note that the failures still
won't be printed if a successful configuration is found.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions
