[llvm] [Bazel] Fixes c94db1a (PR #194359)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 05:34:32 PDT 2026


https://github.com/forking-google-bazel-bot[bot] created https://github.com/llvm/llvm-project/pull/194359

This fixes c94db1af36c2f66d71cd0c492068937eee641e56.



>From 788c384eaac7098abb24dbd33aabd4f896cd3f2d Mon Sep 17 00:00:00 2001
From: Google Bazel Bot <google-bazel-bot at google.com>
Date: Mon, 27 Apr 2026 12:34:21 +0000
Subject: [PATCH] Fix Bazel build for c94db1a

---
 .../llvm-project-overlay/mlir/BUILD.bazel     | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index fefb11ef4c0e5..933f291fec8a6 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -9228,6 +9228,7 @@ cc_library(
         ":LLVMDialect",
         ":OpenMPCommon",
         ":OpenMPDialect",
+        ":OpenMPUtils",
         ":SideEffectInterfaces",
         ":Support",
         ":ToLLVMIRTranslation",
@@ -10676,6 +10677,22 @@ gentbl_cc_library(
     deps = [":PassBaseTdFiles"],
 )
 
+cc_library(
+    name = "OpenMPUtils",
+    srcs = glob(["lib/Dialect/OpenMP/Utils/*.cpp"]),
+    hdrs = glob(["include/mlir/Dialect/OpenMP/Utils/*.h"]),
+    includes = ["include"],
+    deps = [
+        ":AtomicInterfaces",
+        ":CallOpInterfaces",
+        ":IR",
+        ":LLVMDialect",
+        ":OpenMPDialect",
+        ":Support",
+        "//llvm:Support",
+    ],
+)
+
 cc_library(
     name = "OpenMPTransforms",
     srcs = glob(
@@ -10687,12 +10704,15 @@ cc_library(
     includes = ["include"],
     deps = [
         ":Analysis",
+        ":AtomicInterfaces",
         ":FuncDialect",
         ":FunctionInterfaces",
         ":IR",
         ":LLVMDialect",
+        ":OpenACCMPOpsInterfacesIncGen",
         ":OpenMPDialect",
         ":OpenMPPassIncGen",
+        ":OpenMPUtils",
         ":Pass",
         ":Support",
         ":Transforms",



More information about the llvm-commits mailing list