Skip to content

Commit 23926b0

Browse files
authored
Remove local flag. (#63)
* Local always results in true. * Unclear why the flag is useful in this case. * Currently impedes builds using bazel RBEs.
1 parent c65db0a commit 23926b0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

python_configure.bzl

+2-4
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,15 @@ def _read_dir(repository_ctx, src_dir):
8989
result = find_result.stdout
9090
return result
9191

92-
def _genrule(src_dir, genrule_name, command, outs, local):
92+
def _genrule(src_dir, genrule_name, command, outs):
9393
"""Returns a string with a genrule.
9494
9595
Genrule executes the given command and produces the given outputs.
9696
"""
9797
return (
9898
"genrule(\n" +
9999
' name = "' +
100-
genrule_name + '",\n' + (
101-
" local = 1,\n" if local else "") +
100+
genrule_name + '",\n' +
102101
" outs = [\n" +
103102
outs +
104103
"\n ],\n" +
@@ -152,7 +151,6 @@ def _symlink_genrule_for_dir(
152151
genrule_name,
153152
" && ".join(command),
154153
"\n".join(outs),
155-
local = True,
156154
)
157155
return genrule
158156

0 commit comments

Comments
 (0)