Skip to content

Commit 79f3653

Browse files
Meinersburtru
authored andcommitted
[flang][cmake] Fix bbc dependencies (llvm#152306)
Re-apply "[flang][cmake] Fix bcc dependencies (llvm#125822)" It was overwritten due to an automatic merge gone wrong for llvm#124416. `git cherry-pick f9af5c1` applied in 97cf061 ignored the renaming of FortranCommon into FortranSupport after llvm#125822. Original commit message: The Fortran libraries are not part of MLIR, so they should use target_link_libraries() rather than mlir_target_link_libraries(). This fixes an issue introduced in llvm#20966. (cherry picked from commit 2bb23d4)
1 parent 6203dde commit 79f3653

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

flang/tools/bbc/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ target_link_libraries(bbc PRIVATE
3030
flangFrontend
3131
flangPasses
3232
FlangOpenMPTransforms
33+
FortranSupport
34+
FortranParser
35+
FortranEvaluate
36+
FortranSemantics
37+
FortranLower
3338
)
3439

3540
mlir_target_link_libraries(bbc PRIVATE
3641
${dialect_libs}
3742
${extension_libs}
3843
MLIRAffineToStandard
3944
MLIRSCFToControlFlow
40-
FortranSupport
41-
FortranParser
42-
FortranEvaluate
43-
FortranSemantics
44-
FortranLower
4545
)

0 commit comments

Comments
 (0)