Skip to content

Commit 46b8a01

Browse files
committed
gh-231: add riscv64 to python scripts
1 parent 65f918e commit 46b8a01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
SOURCES = ROOT / "src"
3434
PACKAGE = ROOT / "python"
3535

36-
ARCH = {'AMD64': 'x64', 'x86_64': 'x64', 'arm64': 'arm64'}[platform.machine()]
36+
ARCH = {'AMD64': 'x64', 'x86_64': 'x64', 'arm64': 'arm64', 'riscv64': 'riscv64'}[platform.machine()]
3737
SYSTEM = {'Darwin': 'macos', 'Linux': 'linux', 'Windows': 'windows'}[platform.system()]
3838
EXECUTABLE_EXT = {'macos': '', 'windows': '.exe', 'linux': ''}[SYSTEM]
3939
TARGET_SUFFIX = {'macos': '.dylib', 'linux': '.so', 'windows': '.dll'}[SYSTEM]

0 commit comments

Comments
 (0)