Open adamrk opened 5 years ago
(Sorry for the delayed response, I guess I don't have my GitHub notifications set up correctly.)
Unfortunately I don't have much direction to give you. I'm not that familiar with LLVM's toolchain (or even most C build tools). Best I can do is point you to the Bazel build rule for it: https://github.com/dgp1130/llvm-bazel-foolang/blob/master/llvm.bzl#L50. It's possible that we might need to update the link options or add some extra files to the srcs
or hdrs
. The missing files you mentioned seem to be included in the globs, so I'm not sure why they would cause this particular error. Wish I had some better direction to give you here.
Yeah I thought there might be some files from the include directory missing, but they all seem fine. Thanks anyway!
I tried this out with LLVM 8.0.0, but it failed with the error below about a bunch of undefined references. Not sure why that is - I looked up the first example (
llvm::dwarf::OperationEncodingString
) which seems to be in the headerinclude/llvm/BinaryFormat/Dwarf.h
and the archivelib/libLLVMBinaryFormat.a
. Any tips for looking into this?