Skip to content

Commit

Permalink
kludge to address #7232, probably superseeded by planned revision to …
Browse files Browse the repository at this point in the history
…setup/pypi

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Jul 8, 2024
1 parent af1f0e3 commit 374609b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/api/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def run(self):
# linux builds should be built in the centos 5 vm for maximum compatibility
# see https://github.com/pypa/manylinux
# see also https://github.com/angr/angr-dev/blob/master/admin/bdist.py
plat_name = 'manylinux2014_' + platform.machine()
plat_name = 'manylinux_2_28_' + platform.machine()
elif 'mingw' in name:
if platform.architecture()[0] == '64bit':
plat_name = 'win_amd64'
Expand All @@ -296,7 +296,7 @@ def run(self):
)
elif distos == 'glibc':
if arch == 'x64':
plat_name = 'manylinux2014_x86_64'
plat_name = 'manylinux_2_28_x86_64'
elif arch == 'arm64' or arch == 'aarch64':
# context on why are we match on arm64
# but use aarch64 on the plat_name is
Expand All @@ -305,9 +305,9 @@ def run(self):
# so using the currently supported arm64
# build and simply rename it to aarch64
# see full context on #7148
plat_name = 'manylinux2014_aarch64'
plat_name = 'manylinux_2_28_aarch64'
else:
plat_name = 'manylinux2014_i686'
plat_name = 'manylinux_2_28_i686'
elif distos == 'linux' and os_id == 'alpine':
if arch == 'x64':
plat_name = 'musllinux_1_1_x86_64'
Expand Down

0 comments on commit 374609b

Please sign in to comment.