diff options
author | Stella Stamenova <stilis@microsoft.com> | 2020-10-13 09:53:07 -0700 |
---|---|---|
committer | Stella Stamenova <stilis@microsoft.com> | 2020-10-13 09:53:07 -0700 |
commit | 0c15a1b4bcefc1eb434e07aa31b7a08109ccd27e (patch) | |
tree | dce1ea2d71b0559726d35630a889704504b6cd0d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6121117484ddd7c5a03b40004a8bba58506ce9d0 (diff) | |
download | llvm-0c15a1b4bcefc1eb434e07aa31b7a08109ccd27e.zip llvm-0c15a1b4bcefc1eb434e07aa31b7a08109ccd27e.tar.gz llvm-0c15a1b4bcefc1eb434e07aa31b7a08109ccd27e.tar.bz2 |
[mlir] Fix sporadic build failures due to missing dependency
The build of MLIR occasionally fails (especially on Windows) because there is missing dependency between MLIRLLVMIR and MLIROpenMPOpsIncGen.
1) LLVMDialect.cpp includes LLVMDialect.h
2) LLVMDialect.h includes OpenMPDialect.h
3) OpenMPDialect.h includes OpenMPOpsDialect.h.inc, OpenMPOpsEnums.h.inc and OpenMPOps.h.inc
The OpenMP .inc files are generated by MLIROpenMPOpsIncGen, so MLIRLLVMIR which builds LLVMDialect.cpp should depend on MLIROpenMPOpsIncGen
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D89275
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions