ClangBuiltLinux / continuous-integration

Continuous integration of latest Linux kernel with daily build of Clang & LLVM tools
https://travis-ci.com/ClangBuiltLinux/continuous-integration
Apache License 2.0
44 stars 18 forks source link

ci: Get rid of versioning binary scheme #250

Closed nathanchance closed 4 years ago

nathanchance commented 4 years ago

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