Skip to content

Commit

Permalink
Merge branch 'armhf' into 'master'
Browse files Browse the repository at this point in the history
fix: change the armlinux abi from armeabi-v7a to armhf

See merge request deep-computing/mace!1260
  • Loading branch information
lee-bin committed Apr 3, 2020
2 parents 7465592 + 3b914cb commit 9a06864
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 9a06864

Please sign in to comment.