Skip to content
forked from iree-org/iree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4b87212

Browse files
committedMar 12, 2025
build: fix bazel tests
1 parent b3ed130 commit 4b87212

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed
 

‎build_tools/bazel/iree.bazelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ build --force_pic
4141
###############################################################################
4242
# Build settings flag aliases. See https://bazel.build/rules/config
4343
###############################################################################
44-
build --flag_alias=iree_drivers=//runtime/src/iree/hal/drivers:enabled_drivers
44+
build --flag_alias=iree_drivers=@iree//runtime/src/iree/hal/drivers:enabled_drivers
4545
build --flag_alias=iree_link_compiler_shared=//compiler/src/iree/compiler/API:link_shared
4646
# Equivalent to CMake flag IREE_ENABLE_RUNTIME_TRACING + IREE_TRACING_PROVIDER.
4747
# Builds the runtime with tracing support enabled.

‎compiler/bindings/c/BUILD.bazel

+3-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ cc_test(
4545
"iree/compiler/loader/loader_test.c",
4646
],
4747
args = [
48-
"lib/libIREECompiler.so",
48+
"$(WORKSPACE_ROOT)/lib/libIREECompiler.so",
4949
],
5050
data = [
5151
"//lib:libIREECompiler.so",
@@ -55,4 +55,6 @@ cc_test(
5555
":headers",
5656
":loader",
5757
],
58+
toolchains = ["//:workspace_root"],
5859
)
60+

‎compiler/bindings/python/BUILD.bazel

-5
Original file line numberDiff line numberDiff line change
@@ -310,11 +310,6 @@ py_library(
310310
),
311311
)
312312

313-
py_library(
314-
name = "CompilerDialectPyFiles",
315-
srcs = ["iree/compiler/dialects/transform/iree_structured"],
316-
)
317-
318313
# These flags are needed for pybind11 to work.
319314
PYBIND11_COPTS = [
320315
"-fexceptions",

‎compiler/src/iree/compiler/Codegen/LLVMCPU/test/BUILD.bazel

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ iree_lit_test_suite(
3434
"hal_interface_bindings.mlir",
3535
"hal_interface_constants.mlir",
3636
"hal_interface_workgroup_info.mlir",
37+
"hal_target_device_attributes.mlir",
3738
"illegal_configuration.mlir",
3839
"peel.mlir",
3940
"pipeline_arm_sme_streaming_mode_tests.mlir",

0 commit comments

Comments
 (0)
Please sign in to comment.