Merge pull request #9 from zhengzhouheng/main

support build for tensorflow A311D
This commit is contained in:
Kainan Cha 2021-02-07 10:45:44 +08:00 committed by GitHub
commit dc9931e126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ build:A311D --define linux=true
build:A311D --spawn_strategy=standalone
build:A311D --crosstool_top=@TOOLCHAINS//gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu:toolchain
build:A311D --host_crosstool_top=@bazel_tools//tools/cpp:toolchain
build:A311D --cpu=armv8-a
build:A311D --cpu=aarch64
build:A311D --compiler=gcc
build:A311D --copt -Wno-ignored-attributes
build:A311D --copt -Wno-unused-function

View File

@ -30,7 +30,7 @@ load(":cc_toolchain_config.bzl", "cc_toolchain_config")
# `toolchain_name` must be identical with toolchain directory name and http_archive name in `toolchains.bzl`
register_toolchain(
toolchain_name = "gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu",
target_cpu = "armv8-a",
target_cpu = "aarch64",
compiler = "gcc",
cc_toolchain_config = cc_toolchain_config,
)