Changes to build aarch64 under manylinux.
This commit is contained in:
parent
8bfa7d0083
commit
9d01899322
@ -44,15 +44,16 @@ cc_toolchain_config(
|
||||
bit_flag = "-m64",
|
||||
cpp_flag = "-lstdc++",
|
||||
extra_compiler_flags = [
|
||||
"-I/usr/aarch64-linux-gnu/include/c++/8/aarch64-linux-gnu/",
|
||||
"-I/usr/aarch64-linux-gnu/include/c++/8"
|
||||
"-I/opt/manylinux/2014/aarch64/usr/include/c++/10/aarch64-redhat-linux",
|
||||
"-I/opt/manylinux/2014/aarch64/usr/include/c++/10"
|
||||
],
|
||||
extra_include = "/usr/include",
|
||||
sysroot = "/opt/manylinux/2014/aarch64",
|
||||
linker_path = "/usr/bin/ld",
|
||||
target_cpu = "aarch64",
|
||||
target_full_name = "aarch64-linux-gnu",
|
||||
toolchain_dir = "/usr/aarch64-linux-gnu/include",
|
||||
toolchain_name = "linux_aarch_64",
|
||||
# Don't really need this, setting it because it's required.
|
||||
toolchain_dir = "/opt/manylinux/2014/aarch64/usr/include",
|
||||
)
|
||||
|
||||
cc_toolchain_config(
|
||||
|
@ -108,7 +108,7 @@ def _impl(ctx):
|
||||
enabled = (ctx.attr.sysroot != ""),
|
||||
flag_sets = [
|
||||
flag_set(
|
||||
actions = all_link_actions,
|
||||
actions = all_link_actions + all_compile_actions,
|
||||
flag_groups = [
|
||||
flag_group(
|
||||
flags = [
|
||||
|
Loading…
Reference in New Issue
Block a user