Skip to content

Commit 3621f92

Browse files
authored
Fix aarch64 compiler bazel file (#227)
1 parent c5ddd8c commit 3621f92

File tree

1 file changed

+13
-6
lines changed
  • third_party/toolchains/cpus/arm

1 file changed

+13
-6
lines changed

third_party/toolchains/cpus/arm/BUILD

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ filegroup(
3232
],
3333
)
3434

35+
filegroup(
36+
name = "aarch64_linux_all_files",
37+
srcs = [
38+
"@aarch64_compiler//:compiler_pieces",
39+
],
40+
)
41+
3542
cc_toolchain_config(
3643
name = "local_config",
3744
cpu = "local",
@@ -75,13 +82,13 @@ cc_toolchain_config(
7582

7683
cc_toolchain(
7784
name = "cc-compiler-aarch64",
78-
all_files = ":arm_linux_all_files",
79-
compiler_files = ":arm_linux_all_files",
85+
all_files = ":aarch64_linux_all_files",
86+
compiler_files = ":aarch64_linux_all_files",
8087
dwp_files = ":empty",
81-
linker_files = ":arm_linux_all_files",
82-
objcopy_files = "arm_linux_all_files",
83-
strip_files = "arm_linux_all_files",
88+
linker_files = ":aarch64_linux_all_files",
89+
objcopy_files = "aarch64_linux_all_files",
90+
strip_files = "aarch64_linux_all_files",
8491
supports_param_files = 1,
8592
toolchain_config = ":aarch64_config",
86-
toolchain_identifier = "arm-linux-gnueabihf",
93+
toolchain_identifier = "aarch64-linux-gnu",
8794
)

0 commit comments

Comments
 (0)