Skip to content

Commit 10de30d

Browse files
authored
[flang] Fix build with -DBUILD_SHARED_LIBS=ON. (llvm#3938)
The 610ded4 added more code to flang/lib/Utils/OpenMP.cpp which is not present upstream. This code have increased its dependencies which caused build to fail with -DBUILD_SHARED_LIBS=ON. This PR adds the missing dependencies.
2 parents ff42f15 + f3a95b9 commit 10de30d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

flang/lib/Utils/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ add_flang_library(FortranUtils
1414

1515
LINK_LIBS
1616
FIRDialect
17+
FIRBuilder
18+
HLFIRDialect
1719

1820
MLIR_LIBS
21+
MLIRSupport
1922
MLIROpenMPDialect
23+
MLIRTransformUtils
24+
MLIRArithDialect
2025
)

0 commit comments

Comments
 (0)