This is an archive of the discontinued LLVM Phabricator instance.

[flang][nfc] Update the CMake dependencies for `flangFrontend`
ClosedPublic

Authored by awarzynski on Mar 8 2022, 7:35 AM.

Details

Summary

The "FrontendActions.cpp" file (which is one of the source files for the
flangFrontend library) includes "Passes.h.inc" (indirectly, via
"CLOptions.inc"). This file is generated alongside other TableGen
outputs from the FIROptTransformsPassIncGen CMake target. This patch
adds FIROptTransformsPassIncGen to the list of build dependencies for
flangFrontend.

The lack of this dependency might cause non-determinstic build failures,
e.g. https://lab.llvm.org/buildbot/#/builders/160/builds/6210.

Diff Detail

Event Timeline

awarzynski created this revision.Mar 8 2022, 7:35 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 8 2022, 7:35 AM
Herald added a subscriber: mgorny. · View Herald Transcript
awarzynski requested review of this revision.Mar 8 2022, 7:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2022, 7:35 AM
This revision is now accepted and ready to land.Mar 8 2022, 7:38 AM