Debian symlinks their versioned binaries (clang-11, ld.lld-11, etc) in
/usr/bin from /usr/lib/llvm-#/bin. As a result, we do not need to
account for the suffixes, we can just add that folder to PATH if it
exists.
This simplies our CI matrix and handling within the script.
Debian symlinks their versioned binaries (clang-11, ld.lld-11, etc) in /usr/bin from /usr/lib/llvm-#/bin. As a result, we do not need to account for the suffixes, we can just add that folder to PATH if it exists.
This simplies our CI matrix and handling within the script.
The CI failure in presubmit below is related to https://github.com/ClangBuiltLinux/linux/issues/962, I just wanted to show that the versioning detection still works properly afte this patch.
Closes: https://github.com/ClangBuiltLinux/continuous-integration/issues/247 Presubmit: https://travis-ci.com/github/nathanchance/continuous-integration/builds/157635172