Currently, we rely on the host having Clang installed at /usr/bin/clang and LLD at /usr/bin/ld, as defined in x86_64_cc_toolchain.bzl. This works, but we should be using the host as little as possible. Furthermore, both tools are often installed in different places, such as /usr/local/bin/clang or /usr/bin/lld. We should either build both tools using the host tooling, or pull in built versions of both.
These may be good starting points:
Currently, we rely on the host having Clang installed at
/usr/bin/clangand LLD at/usr/bin/ld, as defined in x86_64_cc_toolchain.bzl. This works, but we should be using the host as little as possible. Furthermore, both tools are often installed in different places, such as/usr/local/bin/clangor/usr/bin/lld. We should either build both tools using the host tooling, or pull in built versions of both.These may be good starting points: