From 896af9e48da49b4c1f21e14d7e656c765e6bc581 Mon Sep 17 00:00:00 2001 From: Christian Sigg Date: Mon, 1 May 2023 12:04:32 +0200 Subject: [PATCH] [bazel] Fix layering check after 0610e2f `BytecodeWriter.h` is now included in `IR.h`, and the corresponding dependency should be moved to `header_deps`. This change fixes Google's internal build, which seems to have a stricter layering check than bazel's, but it's still the right thing to do. Differential Revision: https://reviews.llvm.org/D149576 --- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel index dfa8f43..7ed2f9a 100644 --- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel @@ -372,6 +372,7 @@ mlir_c_api_cc_library( "include/mlir/CAPI/Wrap.h", ], header_deps = [ + ":BytecodeWriter", ":IR", ":Pass", ":Support", @@ -380,7 +381,6 @@ mlir_c_api_cc_library( includes = ["include"], deps = [ ":AsmParser", - ":BytecodeWriter", ":ConversionPassIncGen", ":FuncDialect", ":InferTypeOpInterface", -- 2.7.4