[PATCH] D121218: [flang][nfc] Update the CMake dependencies for `flangFrontend`
Andrzej Warzynski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 8 07:35:59 PST 2022
awarzynski created this revision.
awarzynski added a reviewer: DavidSpickett.
Herald added a subscriber: mgorny.
Herald added projects: Flang, All.
awarzynski requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D121218
Files:
flang/lib/Frontend/CMakeLists.txt
Index: flang/lib/Frontend/CMakeLists.txt
===================================================================
--- flang/lib/Frontend/CMakeLists.txt
+++ flang/lib/Frontend/CMakeLists.txt
@@ -15,6 +15,7 @@
FIRBuilder
FIRDialect
FIRSupport
+ FIROptTransformsPassIncGen
MLIRIR
${dialect_libs}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121218.413803.patch
Type: text/x-patch
Size: 306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220308/b7e4a64a/attachment.bin>
More information about the llvm-commits
mailing list