Skip to content

Commit ce26e5f

Browse files
authored
Cleanup toolchain wrapper files [IO-410] (#158)
#157 has some leftover cleanup tasks for the toolchain wrapper files. The changes affect only the Bazel 7 `bzl_mod` build and a test PR is linked.
1 parent dfb4b62 commit ce26e5f

File tree

24 files changed

+48
-48
lines changed

24 files changed

+48
-48
lines changed

cc/toolchains/gcc_arm_embedded/wrappers/wrapper

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
set -e
3030

31-
# Use --actionv_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
31+
# Use --action_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
3232
if [[ -n "$SWIFTNAV_VERBOSE_TOOLCHAIN" ]]; then
3333
set -x
3434
fi
@@ -37,7 +37,7 @@ tool_name=$(basename "${BASH_SOURCE[0]}")
3737
# In case the tool label is changed, a change in here is very likely needed
3838
# This establishes backwards compatibility with the old WORKSPACE file
3939
toolchain_bindir=external/x86_64_linux_gcc_arm_embedded_toolchain/bin
40-
toolchain_bindir_as_bzlmod=external/rules_swiftnav\~\~swift_cc_toolchain_extension\~x86_64_linux_gcc_arm_embedded_toolchain/bin
40+
toolchain_bindir_as_bzlmod="external/rules_swiftnav~~swift_cc_toolchain_extension~x86_64_linux_gcc_arm_embedded_toolchain/bin"
4141

4242
if [[ -f "${toolchain_bindir}"/"${tool_name}" ]]; then
4343
# We're running under _execroot_, call the real tool.

cc/toolchains/gcc_arm_gnu_8_3/wrappers/wrapper

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
set -e
3030

31-
# Use --actionv_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
31+
# Use --action_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
3232
if [[ -n "$SWIFTNAV_VERBOSE_TOOLCHAIN" ]]; then
3333
set -x
3434
fi
@@ -37,7 +37,7 @@ tool_name=$(basename "${BASH_SOURCE[0]}")
3737
# In case the tool label is changed, a change in here is very likely needed
3838
# This establishes backwards compatibility with the old WORKSPACE file
3939
toolchain_bindir=external/gcc_arm_gnu_8_3_toolchain/bin
40-
toolchain_bindir_as_bzlmod=external/rules_swiftnav\~\~swift_cc_toolchain_extension\~gcc_arm_gnu_8_3_toolchain/bin
40+
toolchain_bindir_as_bzlmod="external/rules_swiftnav~~swift_cc_toolchain_extension~gcc_arm_gnu_8_3_toolchain/bin"
4141

4242
if [[ -f "${toolchain_bindir}"/"${tool_name}" ]]; then
4343
# We're running under _execroot_, call the real tool.

cc/toolchains/llvm/aarch64-darwin/wrappers/wrapper

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
set -e
3030

31-
# Use --actionv_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
31+
# Use --action_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
3232
if [[ -n "$SWIFTNAV_VERBOSE_TOOLCHAIN" ]]; then
3333
set -x
3434
fi
@@ -37,7 +37,7 @@ tool_name=$(basename "${BASH_SOURCE[0]}")
3737
# In case the tool label is changed, a change in here is very likely needed
3838
# This establishes backwards compatibility with the old WORKSPACE file
3939
toolchain_bindir=external/aarch64-darwin-llvm/bin
40-
toolchain_bindir_as_bzlmod=external/rules_swiftnav\~\~swift_cc_toolchain_extension\~aarch64-darwin-llvm/bin
40+
toolchain_bindir_as_bzlmod="external/rules_swiftnav~~swift_cc_toolchain_extension~aarch64-darwin-llvm/bin"
4141

4242
if [[ -f "${toolchain_bindir}"/"${tool_name}" ]]; then
4343
# We're running under _execroot_, call the real tool.

cc/toolchains/llvm/aarch64-linux/wrappers/wrapper

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
1111
# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
1212

13-
# Locates the actual tool paths relative to the location this script is
13+
# Locates the actual tool paths relative to the location this script is
1414
# executed from.
1515
#
1616
# This is necessary because we download the toolchain using
@@ -28,7 +28,7 @@
2828

2929
set -e
3030

31-
# Use --actionv_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
31+
# Use --action_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
3232
if [[ -n "$SWIFTNAV_VERBOSE_TOOLCHAIN" ]]; then
3333
set -x
3434
fi

cc/toolchains/llvm/x86_64-aarch64-linux/wrappers/wrapper

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
1111
# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
1212

13-
# Locates the actual tool paths relative to the location this script is
13+
# Locates the actual tool paths relative to the location this script is
1414
# executed from.
1515
#
1616
# This is necessary because we download the toolchain using
@@ -28,7 +28,7 @@
2828

2929
set -e
3030

31-
# Use --actionv_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
31+
# Use --action_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
3232
if [[ -n "$SWIFTNAV_VERBOSE_TOOLCHAIN" ]]; then
3333
set -x
3434
fi

cc/toolchains/llvm/x86_64-darwin/wrappers/wrapper

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
1111
# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
1212

13-
# Locates the actual tool paths relative to the location this script is
13+
# Locates the actual tool paths relative to the location this script is
1414
# executed from.
1515
#
1616
# This is necessary because we download the toolchain using
@@ -28,7 +28,7 @@
2828

2929
set -e
3030

31-
# Use --actionv_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
31+
# Use --action_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
3232
if [[ -n "$SWIFTNAV_VERBOSE_TOOLCHAIN" ]]; then
3333
set -x
3434
fi

cc/toolchains/llvm/x86_64-linux/wrappers/wrapper

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
set -e
3030

31-
# Use --actionv_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
31+
# Use --action_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
3232
if [[ -n "$SWIFTNAV_VERBOSE_TOOLCHAIN" ]]; then
3333
set -x
3434
fi
@@ -37,7 +37,7 @@ tool_name=$(basename "${BASH_SOURCE[0]}")
3737
# In case the tool label is changed, a change in here is very likely needed
3838
# This establishes backwards compatibility with the old WORKSPACE file
3939
toolchain_bindir=external/x86_64-linux-llvm/bin
40-
toolchain_bindir_as_bzlmod=external/rules_swiftnav\~\~swift_cc_toolchain_extension\~x86_64-linux-llvm/bin
40+
toolchain_bindir_as_bzlmod="external/rules_swiftnav~~swift_cc_toolchain_extension~x86_64-linux-llvm/bin"
4141

4242
if [[ -f "${toolchain_bindir}"/"${tool_name}" ]]; then
4343
# We're running under _execroot_, call the real tool.

cc/toolchains/llvm_x86_64_windows/wrappers/wrappers

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
set -e
3030

31-
# Use --actionv_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
31+
# Use --action_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
3232
if [[ -n "$SWIFTNAV_VERBOSE_TOOLCHAIN" ]]; then
3333
set -x
3434
fi
@@ -37,7 +37,7 @@ tool_name=$(basename "${BASH_SOURCE[0]}")
3737
# In case the tool label is changed, a change in here is very likely needed
3838
# This establishes backwards compatibility with the old WORKSPACE file
3939
toolchain_bindir=external/llvm_mingw_toolchain/bin
40-
toolchain_bindir_as_bzlmod=external/rules_swiftnav\~\~swift_cc_toolchain_extension\~llvm_mingw_toolchain/bin
40+
toolchain_bindir_as_bzlmod="external/rules_swiftnav~~swift_cc_toolchain_extension~llvm_mingw_toolchain/bin"
4141

4242
if [[ -f "${toolchain_bindir}"/"${tool_name}" ]]; then
4343
# We're running under _execroot_, call the real tool.

cc/toolchains/llvm_x86_64_windows/wrappers/x86_64-w64-mingw32uwp-ar

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
set -e
3030

31-
# Use --actionv_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
31+
# Use --action_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
3232
if [[ -n "$SWIFTNAV_VERBOSE_TOOLCHAIN" ]]; then
3333
set -x
3434
fi
@@ -37,7 +37,7 @@ tool_name=$(basename "${BASH_SOURCE[0]}")
3737
# In case the tool label is changed, a change in here is very likely needed
3838
# This establishes backwards compatibility with the old WORKSPACE file
3939
toolchain_bindir=external/llvm_mingw_toolchain/bin
40-
toolchain_bindir_as_bzlmod=external/rules_swiftnav\~\~swift_cc_toolchain_extension\~llvm_mingw_toolchain/bin
40+
toolchain_bindir_as_bzlmod="external/rules_swiftnav~~swift_cc_toolchain_extension~llvm_mingw_toolchain/bin"
4141

4242
if [[ -f "${toolchain_bindir}"/"${tool_name}" ]]; then
4343
# We're running under _execroot_, call the real tool.

cc/toolchains/llvm_x86_64_windows/wrappers/x86_64-w64-mingw32uwp-as

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
set -e
3030

31-
# Use --actionv_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
31+
# Use --action_env=SWIFTNAV_VERBOSE_TOOLCHAIN to enable
3232
if [[ -n "$SWIFTNAV_VERBOSE_TOOLCHAIN" ]]; then
3333
set -x
3434
fi
@@ -37,7 +37,7 @@ tool_name=$(basename "${BASH_SOURCE[0]}")
3737
# In case the tool label is changed, a change in here is very likely needed
3838
# This establishes backwards compatibility with the old WORKSPACE file
3939
toolchain_bindir=external/llvm_mingw_toolchain/bin
40-
toolchain_bindir_as_bzlmod=external/rules_swiftnav\~\~swift_cc_toolchain_extension\~llvm_mingw_toolchain/bin
40+
toolchain_bindir_as_bzlmod="external/rules_swiftnav~~swift_cc_toolchain_extension~llvm_mingw_toolchain/bin"
4141

4242
if [[ -f "${toolchain_bindir}"/"${tool_name}" ]]; then
4343
# We're running under _execroot_, call the real tool.

0 commit comments

Comments
 (0)