[PATCH] D106411: [Bazel] Remove explicit relative_to_caller_repository

Geoffrey Martin-Noble via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 20 16:42:55 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGcb53febe3d2f: [Bazel] Remove explicit relative_to_caller_repository (authored by GMNGeoffrey).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106411/new/

https://reviews.llvm.org/D106411

Files:
  utils/bazel/llvm-project-overlay/llvm/tblgen.bzl
  utils/bazel/llvm-project-overlay/mlir/tblgen.bzl


Index: utils/bazel/llvm-project-overlay/mlir/tblgen.bzl
===================================================================
--- utils/bazel/llvm-project-overlay/mlir/tblgen.bzl
+++ utils/bazel/llvm-project-overlay/mlir/tblgen.bzl
@@ -333,10 +333,7 @@
       **kwargs: Extra keyword arguments to pass to all generated rules.
     """
 
-    llvm_project_execroot_path = Label(
-        "//mlir:tblgen.bzl",
-        relative_to_caller_repository = False,
-    ).workspace_root
+    llvm_project_execroot_path = Label("//mlir:tblgen.bzl").workspace_root
 
     # TODO(gcmn): Update callers to td_library and explicit includes and drop
     # this hardcoded include.
Index: utils/bazel/llvm-project-overlay/llvm/tblgen.bzl
===================================================================
--- utils/bazel/llvm-project-overlay/llvm/tblgen.bzl
+++ utils/bazel/llvm-project-overlay/llvm/tblgen.bzl
@@ -35,7 +35,7 @@
       tblgen_args: Extra arguments string to pass to the tblgen binary.
       **kwargs: Keyword arguments to pass to subsidiary cc_library() rule.
     """
-    llvm_project_execroot_path = Label("//llvm:tblgen.bzl", relative_to_caller_repository = False).workspace_root
+    llvm_project_execroot_path = Label("//llvm:tblgen.bzl").workspace_root
 
     if td_file not in td_srcs:
         td_srcs += [td_file]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106411.360320.patch
Type: text/x-patch
Size: 1325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210720/38aec93b/attachment.bin>


More information about the llvm-commits mailing list