zig/cmake
sin-ack b35490c217 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.
2022-07-31 12:56:00 -07:00
..
c_flag_overrides.cmake msvc: reduce inlining aggressivity to workaround a codegen bug in cl.exe cf. #3024 2019-10-16 19:04:50 -04:00
cxx_flag_overrides.cmake msvc: reduce inlining aggressivity to workaround a codegen bug in cl.exe cf. #3024 2019-10-16 19:04:50 -04:00
Findclang.cmake CMake: Search for Clang in CMAKE_LIBRARY_PATH, CMAKE_PREFIX_PATH, and CMAKE_FRAMEWORK_PATH 2022-07-25 10:38:52 -07:00
Findlld.cmake CMake: Search more permissively for LLD 2022-07-23 08:55:56 -07:00
Findllvm.cmake cmake: Print all LLVM config errors instead of just the last one 2022-07-31 12:56:00 -07:00
install.cmake rename libuserland to libstage2 2020-02-16 19:16:08 -05:00