Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cc/toolchains/llvm/cc_toolchain_config.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def cc_toolchain_config(
cxx_builtin_include_directories,
tool_paths,
target_system_name,
extra_copts = [],
builtin_sysroot = None,
is_darwin = False):
if not is_target_triplet(host_system_name):
Expand Down Expand Up @@ -55,7 +56,7 @@ def cc_toolchain_config(
"-Wall",
"-Wthread-safety",
"-Wself-assign",
]
] + extra_copts

# -fstandalone-debug disables options that optimize
# the size of the debug info.
Expand Down
1 change: 1 addition & 0 deletions cc/toolchains/llvm/x86_64-aarch64-linux/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ cc_toolchain_config(
},
toolchain_identifier = "clang-x86_64-linux",
toolchain_path_prefix = "external/x86_64-linux-llvm",
extra_copts = ["-mcpu=neoverse-n1"],
)

cc_toolchain(
Expand Down