Skip to content

Commit ff9e169

Browse files
committed
Fix shared library builds after #1061
The added pass works when mlir::LLVM::LLVMDialect, mlir::acc::OpenACCDialect, and mlir::omp::OpenMPDialect are present, which adds a dependency on those dialect libraries. https://github.com/flang-compiler/f18-llvm-project/blob/bb1ab876a5fec1eb3f2ab0603756f9124515a68a/flang/include/flang/Optimizer/Transforms/Passes.td#L189
1 parent 2af3c27 commit ff9e169

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flang/lib/Optimizer/Transforms/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,8 @@ add_flang_library(FIRTransforms
2626
FIRBuilder
2727
FIRDialect
2828
MLIRAffineToStandard
29+
MLIRLLVMIR
30+
MLIROpenACC
31+
MLIROpenMP
2932
FIRSupport
3033
)

0 commit comments

Comments
 (0)