[mlir][mlprogram] Add CAPI project for MLProgram

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D135291
This commit is contained in:
Rob Suderman 2022-10-05 10:55:25 -07:00
parent 4852f26acd
commit 684e8bfabb
1 changed files with 20 additions and 0 deletions

View File

@ -565,6 +565,26 @@ mlir_c_api_cc_library(
],
)
mlir_c_api_cc_library(
name = "CAPIMLProgram",
srcs = [
"lib/CAPI/Dialect/MLProgram.cpp",
],
hdrs = [
"include/mlir-c/Dialect/MLProgram.h",
],
header_deps = [
":CAPIIRHeaders",
],
includes = ["include"],
deps = [
":CAPIIR",
":MLProgramDialect",
":MLProgramOpsIncGen",
":MLProgramTypesIncGen",
],
)
mlir_c_api_cc_library(
name = "CAPIConversion",
srcs = ["lib/CAPI/Conversion/Passes.cpp"],