Jean Perier fb8886d126 [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
2022-10-21 04:43:03 -07:00

12 lines
266 B
CMake

# TODO: Note that this is currently only available on Linux.
# On Windows, we would also have to specify e.g. `PLUGIN_TOOL`.
add_llvm_library(flangPrintFunctionNames
MODULE
PrintFlangFunctionNames.cpp
DEPENDS
acc_gen
flangFrontend
omp_gen
)