Skip to content

Commit

Permalink
fix: support risvc64 arch (#4)
Browse files Browse the repository at this point in the history
Fixes #3

Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming authored Sep 4, 2024
1 parent 77dfb37 commit 4062639
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dep_logic/tags/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ class Arch(Enum):
X86 = "x86"
X86_64 = "x86_64"
S390X = "s390x"
RISCV64 = "riscv64"

def __str__(self) -> str:
return self.value
Expand All @@ -308,6 +309,7 @@ def get_minimum_manylinux_minor(self) -> int | None:
Arch.Powerpc64,
Arch.Powerpc64Le,
Arch.S390X,
Arch.RISCV64,
]:
return 17
elif self in [Arch.X86, Arch.X86_64]:
Expand Down

0 comments on commit 4062639

Please sign in to comment.