Skip to content

Commit

Permalink
[NFC] Remove unused CAPI dependencies added by #18840 (#19949)
Browse files Browse the repository at this point in the history
This patch remove spurious CAPI dependencies on non-CAPI libraries.

CAPI libraries should never be added to non-CAPI libs, as they end-up
causing `multiple definition` linking errors.

Signed-off-by: fabian <[email protected]>
  • Loading branch information
fabianmcg authored Feb 11, 2025
1 parent 93eb7c8 commit 0a5ea45
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ iree_compiler_cc_library(
"@llvm-project//mlir:AffineDialect",
"@llvm-project//mlir:ArithDialect",
"@llvm-project//mlir:ArithUtils",
"@llvm-project//mlir:CAPIIR",
"@llvm-project//mlir:ControlFlowInterfaces",
"@llvm-project//mlir:DialectUtils",
"@llvm-project//mlir:IR",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ iree_cc_library(
MLIRAffineDialect
MLIRArithDialect
MLIRArithUtils
MLIRCAPIIR
MLIRControlFlowInterfaces
MLIRIR
MLIRLinalgDialect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
#include "llvm/ADT/TypeSwitch.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "mlir-c/IR.h"
#include "mlir/CAPI/IR.h"
#include "mlir/CAPI/Support.h"
#include "mlir/Dialect/AMDGPU/IR/AMDGPUDialect.h"
#include "mlir/Dialect/Affine/IR/AffineOps.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
Expand Down

0 comments on commit 0a5ea45

Please sign in to comment.