Skip to content

Commit a8c67a8

Browse files
author
Sergio Sánchez Ramírez
committed
fix toolchain names
1 parent c52b90d commit a8c67a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/BuildToolchains.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -453,20 +453,20 @@ function toolchain_file(bt::Bazel, p::AbstractPlatform, host_platform::AbstractP
453453
supports_start_end_lib = False
454454
455455
cc_toolchain(
456-
name = "ygg_$(is_host ? "host" : "target")_toolchain",
456+
name = "ygg_$(is_host ? "host" : "target")_cc_toolchain",
457457
all_files = ":empty",
458458
compiler_files = ":empty",
459459
dwp_files = ":empty",
460460
linker_files = ":empty",
461461
objcopy_files = ":empty",
462462
strip_files = ":empty",
463463
supports_param_files = 1,
464-
toolchain_config = ":ygg_$(is_host ? "host" : "target")_toolchain_config",
464+
toolchain_config = ":ygg_$(is_host ? "host" : "target")_cc_toolchain_config",
465465
toolchain_identifier = toolchain_identifier,
466466
)
467467
468468
ygg_cc_toolchain_config(
469-
name = "ygg_target_toolchain_config",
469+
name = "ygg_$(is_host ? "host" : "target")_cc_toolchain_config",
470470
toolchain_identifier = toolchain_identifier,
471471
target_system_name = "$(os(p))"
472472
# TODO gcc doesn't support it, only put it on clang (maybe even only for clang on aarch64-darwin?)

0 commit comments

Comments
 (0)