[Mlir-commits] [mlir] [MLIR] Fix LLVMIRTransforms build failure (PR #125485)
Christian Ulmann
llvmlistbot at llvm.org
Mon Feb 10 06:14:04 PST 2025
Dinistro wrote:
I now looked at this again. The actual issue is the dependency on `OMPIRBuilder.h`, which transitively pulls in a generated header file. CMake does not really allow to express dependencies on header files, which is problematic in this case. Ideally, we would just replace the usages from this file with forward declarations, but that doesn't work due to the usage inside a unique pointer.
I'm honestly not sure how this can be achieved nicely, but your approach seems more like a workaround than a proper solution.
Pinging @kiranchandramohan and @jeanPerier from the flang side, as they rely on the OpenMP IR builder, maybe they have an idea.
https://github.com/llvm/llvm-project/pull/125485
More information about the Mlir-commits
mailing list