blob: 00dd8abf4369a1cfd99aa360b29f6784323395bb [file] [log] [blame]
# Copyright 2025 The IREE Authors
#
# Licensed under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
load("//build_tools/bazel:build_defs.oss.bzl", "iree_compiler_cc_library", "iree_compiler_register_plugin")
package(
default_visibility = ["//visibility:public"],
features = ["layering_check"],
licenses = ["notice"], # Apache 2.0
)
iree_compiler_register_plugin(
plugin_id = "hal_target_local",
target = ":Local",
)
iree_compiler_cc_library(
name = "Local",
srcs = [
"LocalTarget.cpp",
],
deps = [
"//compiler/src/iree/compiler/Dialect/HAL/Target",
"//compiler/src/iree/compiler/Dialect/HAL/Target/Devices",
"//compiler/src/iree/compiler/PluginAPI",
"@llvm-project//llvm:Support",
"@llvm-project//mlir:Support",
],
)