Skip to content

Commit 17dddeb

Browse files
author
Karim Alweheshy
committed
always ignore TOOLCHAINS in bazel_build
1 parent 3d4e24c commit 17dddeb

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

xcodeproj/internal/templates/bazel_build.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,6 @@ readonly base_pre_config_flags=(
9494
"--bes_upload_mode=NOWAIT_FOR_UPLOAD_COMPLETE"
9595
)
9696

97-
# Custom Swift toolchains
98-
99-
if [[ -n "${TOOLCHAINS-}" ]]; then
100-
toolchain="${TOOLCHAINS%% *}"
101-
if [[ "$toolchain" == "com.apple.dt.toolchain.XcodeDefault" ]]; then
102-
unset toolchain
103-
fi
104-
fi
105-
10697
# Build
10798

10899
echo "Starting Bazel build"
@@ -114,7 +105,6 @@ echo "Starting Bazel build"
114105
${build_pre_config_flags:+"${build_pre_config_flags[@]}"} \
115106
--config="$config" \
116107
--color=yes \
117-
${toolchain:+--action_env=TOOLCHAINS="$toolchain"} \
118108
"$output_groups_flag" \
119109
"%generator_label%" \
120110
${labels:+"--build_metadata=PATTERN=${labels[*]}"} \

0 commit comments

Comments
 (0)