After merging #161179 I'm observing this:
23:03:50 /workspace/src/flang/include/flang/Optimizer/Dialect/MIF/MIFDialect.h:26:10: fatal error: 'flang/Optimizer/Dialect/MIF/MIFDialect.h.inc' file not found
23:03:50 26 | #include "flang/Optimizer/Dialect/MIF/MIFDialect.h.inc"
23:03:50 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23:03:50 1 error generated.
Apparently, CMake doesn't generate MIFDialect.h.inc out of MIFDialect.td on time when it's needed.
This is a typical build parallelism issue that haunts flang from time to time. Likely some cmake is missing a dependency.