Skip to content

[flang] Flang fails to build when building on different amount of cores than LLVM Buildbot #164630

@pawosm-arm

Description

@pawosm-arm

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.

Metadata

Metadata

Assignees

Labels

build-problemflangFlang issues not falling into any other category

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions