Skip to content

Commit

Permalink
add support for aarch64 distributions (capstone-engine#1720)
Browse files Browse the repository at this point in the history
  • Loading branch information
urbas authored Mar 7, 2021
1 parent 8984920 commit 310e373
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bindings/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,11 @@ def run(self):
name = get_platform()
if 'linux' in name:
# linux_* platform tags are disallowed because the python ecosystem is fubar
# linux builds should be built in the centos 5 vm for maximum compatibility
# linux builds should be built in the centos 6 vm for maximum compatibility
# see https://github.com/pypa/manylinux
# see also https://github.com/angr/angr-dev/blob/master/bdist.sh
sys.argv.insert(idx + 1, 'manylinux1_' + platform.machine())
# see also https://github.com/angr/angr-dev/blob/master/bdist.sh and
# https://www.python.org/dev/peps/pep-0599/
sys.argv.insert(idx + 1, 'manylinux2014_' + platform.machine())
else:
# https://www.python.org/dev/peps/pep-0425/
sys.argv.insert(idx + 1, name.replace('.', '_').replace('-', '_'))
Expand Down

0 comments on commit 310e373

Please sign in to comment.