Skip to content

Commit

Permalink
Fix rhasspy#18 - riscv64 platform build support
Browse files Browse the repository at this point in the history
  • Loading branch information
eshattow authored Nov 30, 2024
1 parent 558acbb commit 3357a4e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,12 @@
"-DWEBRTC_ARCH_32_BITS",
"-DPFFFT_SIMD_DISABLE",
]
elif machine in ("riscv64"):
# 64-bit RISC-V
machine_cflags += [
"-DWEBRTC_ARCH_RISCV",
"-DWEBRTC_ARCH_64_BITS",
]
else:
raise ValueError(f"Unsupported machine: {machine}")

Expand Down

0 comments on commit 3357a4e

Please sign in to comment.