From 3b914cb9b80fad3cfc86ff533d482140d2d991e6 Mon Sep 17 00:00:00 2001 From: luxuhui Date: Fri, 3 Apr 2020 17:52:37 +0800 Subject: [PATCH] fix: change the armlinux abi from armeabi-v7a to armhf N/A Signed-off-by: Luxuhui --- tools/common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/common.py b/tools/common.py index fec070e73..fd17f80fb 100644 --- a/tools/common.py +++ b/tools/common.py @@ -354,12 +354,12 @@ def get_build_model_dirs(library_name, def abi_to_internal(abi): - if abi in [ABIType.armeabi_v7a, ABIType.arm64_v8a]: + if abi in [ABIType.armeabi_v7a, ABIType.arm64_v8a, ABIType.armhf]: return abi if abi == ABIType.arm64: return ABIType.aarch64 - if abi == ABIType.armhf: - return ABIType.armeabi_v7a + else: + mace_check(False, "abi not supported") def infer_toolchain(abi):