Skip to content

Commit

Permalink
fix aarch
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnynunez committed Feb 2, 2025
1 parent 8591d9a commit 8880198
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/scripts/ti_build/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,17 @@ def build_wheel(python: Command, pip: Command) -> None:
elif wheel_tag:
proj_tags.extend(["egg_info", f"--tag-build={wheel_tag}"])

if platform.system() == "Linux":
u = platform.uname()
if (u.system, u.machine) == ("Linux", "x86_64"):
if is_manylinux2014():
extra.extend(["-p", "manylinux2014_x86_64"])
else:
extra.extend(["-p", "manylinux_2_27_x86_64"])
extra.extend(["-p", "manylinux_2_28_x86_64"])
elif (u.system, u.machine) in (("Linux", "arm64"), ("Linux", "aarch64")):
extra.extend(["-p", "manylinux_2_28_aarch64"])
else:
extra.extend(["-p", "manylinux_2_28_x86_64"])


python("setup.py", "clean")
python("misc/make_changelog.py", "--ver", "origin/master", "--repo_dir", "./", "--save")
Expand Down

0 comments on commit 8880198

Please sign in to comment.