Skip to content
forked from iree-org/iree

Commit e4bc5ba

Browse files
committed
build: fix bazel tests
1 parent b3ed130 commit e4bc5ba

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-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",

0 commit comments

Comments
 (0)