Building LLVM plugins with Bazel (opens in new tab)
This is a mirror of the Substack article Building LLVM plugins with Bazel The most recent version is there. One of the premises of Bazel is to provide reproducible, hermetic builds, thus you shouldn’t depend on whatever is installed on the host OS and all the dependencies typically managed by Bazel directly. However, if you want to build plugins for LLVM (or any other project really), then you should link against the specific versions installed on the user’s system. As I’m working on such a p...
Read the original article