[PATCH] D109873: Add use_default_shell_env = True to ctx.actions.run
Alexander Grund via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 20 00:09:56 PDT 2021
Flamefire updated this revision to Diff 373495.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109873/new/
https://reviews.llvm.org/D109873
Files:
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
@@ -169,6 +169,9 @@
inputs = trans_srcs,
executable = ctx.executable.tblgen,
arguments = [args],
+ # Make sure action_env settings are honored
+ # so the env is the same as when the tool was built
+ use_default_shell_env = True,
mnemonic = "TdGenerate",
)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109873.373495.patch
Type: text/x-patch
Size: 550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210920/78ceb2fc/attachment.bin>
More information about the llvm-commits
mailing list