blob: 1875e08cc471f5bc56d7140b01df77229ab54ed7 [file] [log] [blame]
set(IREE_COMPILER_TABLEGEN_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}")
list(APPEND IREE_COMPILER_TABLEGEN_INCLUDE_DIRS "${IREE_SOURCE_DIR}/third_party/stablehlo")
### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_ABOVE_THIS_LINE ###
################################################################################
# Autogenerated by build_tools/bazel_to_cmake/bazel_to_cmake.py from #
# compiler/plugins/input/StableHLO/BUILD.bazel #
# #
# Use iree_cmake_extra_content from iree/build_defs.oss.bzl to add arbitrary #
# CMake-only content. #
# #
# To disable autogeneration for this file entirely, delete this header. #
################################################################################
iree_add_all_subdirs()
iree_compiler_register_plugin(
PLUGIN_ID
input_stablehlo
TARGET
::registration
)
iree_cc_library(
NAME
registration
SRCS
"PluginRegistration.cpp"
DEPS
ChloOps
MLIRIR
MLIRPass
MLIRShapeDialect
MLIRTransforms
StablehloOps
VhloOps
iree::compiler::PluginAPI
iree::compiler::plugins::input::StableHLO::Conversion
PUBLIC
)
### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###