[flang] fix shared library builds after D136428

https://reviews.llvm.org/D136428 introduced the need for FIRBuilder
library to link against HLFIRDialect to satisfy shared builds.

The PrintFlangFunctionNames failure is unrelated, it is a build
race because many of the headers included in FrontendAction are
tablegen generated. So PrintFlangFunctionNames must wait until its
headers can be safely used. See
https://lab.llvm.org/buildbot/#/builders/191/builds/10340
This commit is contained in:
Jean Perier 2022-10-21 04:43:03 -07:00
parent 5b567637e2
commit fb8886d126
2 changed files with 3 additions and 0 deletions

View File

@ -6,5 +6,6 @@ add_llvm_library(flangPrintFunctionNames
DEPENDS
acc_gen
flangFrontend
omp_gen
)

View File

@ -24,10 +24,12 @@ add_flang_library(FIRBuilder
DEPENDS
FIRDialect
FIRSupport
HLFIRDialect
${dialect_libs}
LINK_LIBS
FIRDialect
FIRSupport
HLFIRDialect
${dialect_libs}
)