Skip to content

Commit 38c5912

Browse files
committed
remove config id from build data to avoid action conflict errors
1 parent 13c0be9 commit 38c5912

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

python/private/build_data_writer.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/sh
22

33
echo "TARGET $TARGET" >> $OUTPUT
4-
echo "CONFIG_ID $CONFIG_ID" >> $OUTPUT
54
echo "CONFIG_MODE $CONFIG_MODE" >> $OUTPUT
65
echo "STAMPED $STAMPED" >> $OUTPUT
76
if [ -n "$VERSION_FILE" ]; then

python/private/py_executable.bzl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1380,9 +1380,6 @@ def _write_build_data(ctx):
13801380
ctx.actions.run(
13811381
executable = ctx.executable._build_data_writer,
13821382
env = {
1383-
# Include config id so binaries can e.g. cache content based on how
1384-
# they were built.
1385-
"CONFIG_ID": ctx.configuration.short_id,
13861383
# Include config mode so that binaries can detect if they're
13871384
# being used as a build tool or not, allowing for runtime optimizations.
13881385
"CONFIG_MODE": "EXEC" if _is_tool_config(ctx) else "TARGET",

0 commit comments

Comments
 (0)