Using LLVM components in LINK_LIBS means that the mechanisms for
replacing component dependencies with libLLVM.so break. Try to catch
this incorrect usage up front, instead of waiting until later when we
get difficult to understand runtime errors from incorrectly linked
libraries.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/cmake/modules/AddMLIR.cmake | ||
---|---|---|
113 | Is the kind of things like LINK_COMPONENTS documented somewhere? I always end-up having to reverse engineer all this from the implementation, but I'll forget about the detail by the next time I have to do something significant there |
mlir/cmake/modules/AddMLIR.cmake | ||
---|---|---|
113 | https://mlir.llvm.org/docs/Tutorials/CreatingADialect/#cmake-best-practices-1 The LLVM global documentation is woefully limited, but I haven't gotten motivated to wade into it. |
Is the kind of things like LINK_COMPONENTS documented somewhere? I always end-up having to reverse engineer all this from the implementation, but I'll forget about the detail by the next time I have to do something significant there