[Mlir-commits] [mlir] 137da82 - [mlir][CAPI] Remove the exclusion of the MLIR C-API from libMLIR.so.

Stella Laurenzo llvmlistbot at llvm.org
Thu Oct 8 18:28:40 PDT 2020


Author: Stella Laurenzo
Date: 2020-10-08T18:22:19-07:00
New Revision: 137da82b868266b0ef855ccfeb3795dbf2e2b50f

URL: https://github.com/llvm/llvm-project/commit/137da82b868266b0ef855ccfeb3795dbf2e2b50f
DIFF: https://github.com/llvm/llvm-project/commit/137da82b868266b0ef855ccfeb3795dbf2e2b50f.diff

LOG: [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

Added: 
    

Modified: 
    mlir/lib/CAPI/IR/CMakeLists.txt
    mlir/lib/CAPI/Registration/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/lib/CAPI/IR/CMakeLists.txt b/mlir/lib/CAPI/IR/CMakeLists.txt
index cf285fd06e60..629601ea97c0 100644
--- a/mlir/lib/CAPI/IR/CMakeLists.txt
+++ b/mlir/lib/CAPI/IR/CMakeLists.txt
@@ -7,8 +7,6 @@ add_mlir_library(MLIRCAPIIR
   StandardTypes.cpp
   Support.cpp
 
-  EXCLUDE_FROM_LIBMLIR
-
   ADDITIONAL_HEADER_DIRS
   ${MLIR_MAIN_INCLUDE_DIR}/mlir-c
 

diff  --git a/mlir/lib/CAPI/Registration/CMakeLists.txt b/mlir/lib/CAPI/Registration/CMakeLists.txt
index ed615cb38a23..e506d1f421b7 100644
--- a/mlir/lib/CAPI/Registration/CMakeLists.txt
+++ b/mlir/lib/CAPI/Registration/CMakeLists.txt
@@ -3,8 +3,6 @@ get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
 add_mlir_library(MLIRCAPIRegistration
   Registration.cpp
 
-  EXCLUDE_FROM_LIBMLIR
-
   ADDITIONAL_HEADER_DIRS
   ${MLIR_MAIN_INCLUDE_DIR}/mlir-c
 


        


More information about the Mlir-commits mailing list