Skip to content

Commit 137da82

Browse files
[mlir][CAPI] Remove the exclusion of the MLIR C-API from libMLIR.so.
* I believe this was done early on due to it being experimental/etc. * Needed for dynamic linking in npcomp. Differential Revision: https://reviews.llvm.org/D89081
1 parent 5390c5a commit 137da82

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

mlir/lib/CAPI/IR/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ add_mlir_library(MLIRCAPIIR
77
StandardTypes.cpp
88
Support.cpp
99

10-
EXCLUDE_FROM_LIBMLIR
11-
1210
ADDITIONAL_HEADER_DIRS
1311
${MLIR_MAIN_INCLUDE_DIR}/mlir-c
1412

mlir/lib/CAPI/Registration/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
33
add_mlir_library(MLIRCAPIRegistration
44
Registration.cpp
55

6-
EXCLUDE_FROM_LIBMLIR
7-
86
ADDITIONAL_HEADER_DIRS
97
${MLIR_MAIN_INCLUDE_DIR}/mlir-c
108

0 commit comments

Comments
 (0)