[PATCH] D151499: [MLIR] Reformat the Bazel build

Eugene Burmako via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 14:18:29 PDT 2023


burmako created this revision.
Herald added subscribers: bviyer, Moerafaat, zero9178, bzcheeseman, sdasgup3, wenzhicui, wrengr, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini.
Herald added a project: All.
burmako requested review of this revision.
Herald added subscribers: llvm-commits, stephenneuendorffer, nicolasvasilache.
Herald added a project: LLVM.

This patch normalizes formatting of the the root BUILD.bazel file by: 1) adjusting indentation a little bit, 2) alphabetically ordering dependencies. These small deviations were introduced by some yesterday's patches:

- https://reviews.llvm.org/D151104
- https://reviews.llvm.org/D151346
- https://reviews.llvm.org/rG16fe2b37365c00b0c6d0ed22c2e6521f2d5de01a
- https://reviews.llvm.org/rG4d1cd1d8caab13d6b76ce6fc4ff76a01a7931c34


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151499

Files:
  utils/bazel/llvm-project-overlay/mlir/BUILD.bazel


Index: utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -33,8 +33,8 @@
     name = "mlir_config_h_gen",
     out = "include/mlir/Config/mlir-config.h",
     substitutions = {
-        "#cmakedefine01 MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS": "#define MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS 0"
-        },
+        "#cmakedefine01 MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS": "#define MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS 0",
+    },
     template = "include/mlir/Config/mlir-config.h.cmake",
 )
 
@@ -6042,7 +6042,6 @@
     ),
     includes = ["include"],
     deps = [
-        ":config",
         ":ControlFlowInterfaces",
         ":IR",
         ":LoopLikeInterface",
@@ -6051,6 +6050,7 @@
         ":SideEffectInterfaces",
         ":Support",
         ":TransformsPassIncGen",
+        ":config",
         "//llvm:Support",
     ],
 )
@@ -9995,11 +9995,11 @@
         ":IR",
         ":PDLDialect",
         ":PDLInterpDialect",
+        ":Rewrite",
         ":SideEffectInterfaces",
         ":Support",
         ":TransformDialect",
         ":TransformPDLExtensionOpsIncGen",
-        ":Rewrite",
         "//llvm:Support",
     ],
 )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151499.525800.patch
Type: text/x-patch
Size: 1329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230525/a3ed5cba/attachment.bin>


More information about the llvm-commits mailing list