| # Copyright 2026 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_runtime_cc_binary") | |
| load("//build_tools/bazel:native_binary.bzl", "native_test") | |
| package( | |
| default_visibility = ["//visibility:public"], | |
| features = ["layering_check"], | |
| licenses = ["notice"], # Apache 2.0 | |
| ) | |
| iree_runtime_cc_binary( | |
| name = "hello", | |
| srcs = ["hello.c"], | |
| deps = [ | |
| "//runtime/src/iree/async", | |
| "//runtime/src/iree/async/util:proactor_pool", | |
| "//runtime/src/iree/base", | |
| "//runtime/src/iree/base/threading", | |
| "//runtime/src/iree/base/tooling:flags", | |
| "//runtime/src/iree/hal", | |
| "//runtime/src/iree/hal/drivers", | |
| ], | |
| ) | |
| native_test( | |
| name = "hello_test", | |
| src = ":hello", | |
| ) |