Disable the code responsible for preparing object libraries
for the driver and filling LLVM_DRIVER_* properties
if LLVM_TOOL_LLVM_DRIVER_BUILD is disabled. These properties are
consumed only by tools/llvm-driver, and so they are not used at all
if LLVM_TOOL_LLVM_DRIVER_BUILD is not enabled. At the same time,
the related code breaks standalone clang builds against LLVM built
with LLVM_LINK_LLVM_DYLIB.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
@abrachet, I've did a quick test locally using in-tree build with LLVM_TOOL_LLVM_DRIVER_BUILD enabled but could you double-check that everything works on top of this patch, please?
Comment Actions
Works with both LLVM_TOOL_LLVM_DRIVER_BUILD={On,Off}. Thanks a lot and sorry for the hassle.