[AArch64,ELF] Restrict MOVZ/MOVK to non-PIC large code model (#70178)
[llvm-project.git] / flang / tools / bbc / CMakeLists.txt
blobcbae4ecd56c96ca5ff5a155f41e1ee50bdc29400
1 set(LLVM_LINK_COMPONENTS
2 Passes
3 TargetParser
6 add_flang_tool(bbc bbc.cpp
7 DEPENDS
8 FIROptCodeGenPassIncGen
11 llvm_update_compile_flags(bbc)
12 get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
13 get_property(extension_libs GLOBAL PROPERTY MLIR_EXTENSION_LIBS)
15 target_link_libraries(bbc PRIVATE
16 FIRDialect
17 FIRDialectSupport
18 FIRSupport
19 FIRTransforms
20 FIRBuilder
21 HLFIRDialect
22 HLFIRTransforms
23 ${dialect_libs}
24 ${extension_libs}
25 MLIRAffineToStandard
26 MLIRSCFToControlFlow
27 FortranCommon
28 FortranParser
29 FortranEvaluate
30 FortranSemantics
31 FortranLower