Skip to content

Commit

Permalink
[flang] Try reordering LINK_COMPONENTS/MLIR_LIBS
Browse files Browse the repository at this point in the history
Maybe that helps with the pull request job failure?
  • Loading branch information
mgorny committed Dec 25, 2024
1 parent 07edba3 commit e2d1d3c
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 27 deletions.
12 changes: 6 additions & 6 deletions flang/lib/Optimizer/CodeGen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ add_flang_library(FIRCodeGen
FIRDialectSupport
FIRSupport

LINK_COMPONENTS
AsmParser
AsmPrinter
Remarks
TargetParser

MLIR_LIBS
MLIRComplexToLLVM
MLIRComplexToStandard
Expand All @@ -36,10 +42,4 @@ add_flang_library(FIRCodeGen
MLIRLLVMToLLVMIRTranslation
MLIRTargetLLVMIRExport
MLIRVectorToLLVM

LINK_COMPONENTS
AsmParser
AsmPrinter
Remarks
TargetParser
)
10 changes: 5 additions & 5 deletions flang/lib/Optimizer/Dialect/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ add_flang_library(FIRDialect
CUFAttrs
FIRDialectSupport

LINK_COMPONENTS
AsmParser
AsmPrinter
Remarks

MLIR_LIBS
MLIRArithDialect
MLIRBuiltinToLLVMIRTranslation
MLIROpenMPToLLVM
MLIRLLVMToLLVMIRTranslation
MLIRTargetLLVMIRExport

LINK_COMPONENTS
AsmParser
AsmPrinter
Remarks
)
6 changes: 3 additions & 3 deletions flang/lib/Optimizer/Dialect/CUF/Attributes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ add_flang_library(CUFAttrs
CUFAttrsIncGen
CUFOpsIncGen

MLIR_LIBS
MLIRTargetLLVMIRExport

LINK_COMPONENTS
AsmParser
AsmPrinter
Remarks

MLIR_LIBS
MLIRTargetLLVMIRExport
)
10 changes: 5 additions & 5 deletions flang/lib/Optimizer/Dialect/CUF/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ add_flang_library(CUFDialect
FIRDialect
FIRDialectSupport

MLIR_LIBS
MLIRIR
MLIRGPUDialect
MLIRTargetLLVMIRExport

LINK_COMPONENTS
AsmParser
AsmPrinter
Remarks

MLIR_LIBS
MLIRIR
MLIRGPUDialect
MLIRTargetLLVMIRExport
)
8 changes: 4 additions & 4 deletions flang/lib/Optimizer/HLFIR/IR/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ add_flang_library(HLFIRDialect
CUFAttrs
FIRDialect

MLIR_LIBS
MLIRIR
${dialect_libs}

LINK_COMPONENTS
AsmParser
AsmPrinter
Remarks

MLIR_LIBS
MLIRIR
${dialect_libs}
)
8 changes: 4 additions & 4 deletions flang/lib/Optimizer/HLFIR/Transforms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ add_flang_library(HLFIRTransforms
FlangOpenMPTransforms
HLFIRDialect

MLIR_LIBS
MLIRIR
${dialect_libs}

LINK_COMPONENTS
AsmParser
AsmPrinter
Remarks

MLIR_LIBS
MLIRIR
${dialect_libs}
)

0 comments on commit e2d1d3c

Please sign in to comment.