From 137da82b868266b0ef855ccfeb3795dbf2e2b50f Mon Sep 17 00:00:00 2001 From: Stella Laurenzo Date: Thu, 8 Oct 2020 16:41:11 -0700 Subject: [PATCH] [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 --- mlir/lib/CAPI/IR/CMakeLists.txt | 2 -- mlir/lib/CAPI/Registration/CMakeLists.txt | 2 -- 2 files changed, 4 deletions(-) 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