提交 5a494fed 编写于 作者: L luxuhui

change the cpu type of arm_linux_gnueabihf

N/A
Signed-off-by: NLuxuhui <luxuhui@xiaomi.com>
上级 2a563185
......@@ -127,7 +127,7 @@ class Transformer(base_converter.ConverterInterface):
self.construct_ops_and_consumers(key)
changed = transformer()
if not changed:
break
break
self.delete_after_check_nodes()
return self._model, self._quantize_activation_info
......
......@@ -11,7 +11,7 @@
filegroup(
name = "toolchain_fg",
srcs = [
":cc-compiler-armeabi-v7a",
":cc-compiler-armhf",
":linaro_linux_all_files",
"@gcc_linaro_7_3_1_arm_linux_gnueabihf//:compiler_components",
],
......@@ -29,7 +29,7 @@ cc_toolchain_suite(
name = "toolchain",
# target_cpu | compiler
toolchains = {
"armeabi-v7a|gcc": "cc-compiler-armeabi-v7a",
"armhf|gcc": "cc-compiler-armhf",
},
)
......@@ -66,10 +66,10 @@ filegroup(
)
cc_toolchain(
name = "cc-compiler-armeabi-v7a",
name = "cc-compiler-armhf",
all_files = ":linaro_linux_all_files",
compiler_files = ":linaro_linux_compiler_files",
cpu = "armeabi-v7a",
cpu = "armhf",
dwp_files = ":empty",
dynamic_runtime_libs = [":empty"],
linker_files = ":linaro_linux_linker_files",
......
major_version: "local"
minor_version: ""
default_target_cpu: "armeabi-v7a"
default_target_cpu: "armhf"
default_toolchain {
cpu: "armeabi-v7a"
cpu: "armhf"
toolchain_identifier: "arm-linux-gnueabihf"
}
......@@ -12,7 +12,7 @@ toolchain {
abi_libc_version: ""
builtin_sysroot: ""
compiler: "gcc"
host_system_name: "armeabi-v7a"
host_system_name: "armhf"
needsPic: true
supports_gold_linker: true
supports_incremental_linker: false
......@@ -22,7 +22,7 @@ toolchain {
supports_start_end_lib: false
supports_thin_archives: true
target_libc: ""
target_cpu: "armeabi-v7a"
target_cpu: "armhf"
target_system_name: ""
toolchain_identifier: "arm-linux-gnueabihf"
......
......@@ -27,7 +27,7 @@ build:arm_linux_gnueabihf --spawn_strategy=standalone
build:arm_linux_gnueabihf --distinct_host_configuration=true
build:arm_linux_gnueabihf --crosstool_top=//tools/arm_compiler:toolchain
build:arm_linux_gnueabihf --host_crosstool_top=@bazel_tools//tools/cpp:toolchain
build:arm_linux_gnueabihf --cpu=armeabi-v7a
build:arm_linux_gnueabihf --cpu=armhf
build:arm_linux_gnueabihf --copt -mfloat-abi=hard
build:arm_linux_gnueabihf --copt -mfpu=neon
build:arm_linux_gnueabihf --copt -Wno-ignored-attributes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册