paru icon indicating copy to clipboard operation
paru copied to clipboard

Add riscv64 builds

Open olof-nord opened this issue 3 years ago • 7 comments

Have you checked the readme and man page for this feature?

I do not see this feature mentioned in the readme.

Have you checked previous issues for this feature?

I do not see any issues for this either.

I was wondering if building binaries for the riscv64 architecture is on the roadmap, and if not, if it could be taken into consideration.

I see that builds for different architectures are provided per QEMU/Docker Buildx GitHub Actions, and therefore adding riscv64 support should be quite smooth. Also rust supports riscv64 since a few years, and as such I believe this change could basically look similar to the MR https://github.com/Morganamilo/paru/pull/723 which adds armv7h builds.

RISC-V is an open standard instruction set architecture, which is under rapid development. Distributions including AOSP, Arch Linux, Debian, Fedora, Gentoo Linux, OpenEuler, etc are also actively doing porting work for this architecture.

olof-nord avatar Jul 18 '22 11:07 olof-nord

If this is something which is seen as worth having, I am happily volounteering to suggest a PR which adds this to the CI.

olof-nord avatar Jul 18 '22 12:07 olof-nord

Do you have a riscv machine that runs Linux? I wouldn't think there's many of you out there.

Morganamilo avatar Jul 19 '22 16:07 Morganamilo

It's working if you simply add riscv64 to PKGBUILD

image

image

hykilpikonna avatar Feb 08 '23 22:02 hykilpikonna

Took half an hour to build though 😢

hykilpikonna avatar Feb 08 '23 22:02 hykilpikonna

I talked to a friend about getting some devboards. So maybe builds will become available? But they'll have to be manually built.

Morganamilo avatar Feb 08 '23 22:02 Morganamilo

I talked to a friend about getting some devboards. So maybe builds will become available? But they'll have to be manually built.

Or you can use QEMU to create a RISC-V vm on x86.

I've added a prebuilt for paru in my HyDEV RISC-V repo https://arch.hydev.org/

Or direct download link: https://arch.hydev.org/meow/paru-1.11.1-1-riscv64.pkg.tar.zst

hykilpikonna avatar Feb 09 '23 13:02 hykilpikonna