Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add riscv64 builds #808

Open
olof-nord opened this issue Jul 18, 2022 · 6 comments
Open

Add riscv64 builds #808

olof-nord opened this issue Jul 18, 2022 · 6 comments

Comments

@olof-nord
Copy link

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 #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
Copy link
Author

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

@Morganamilo
Copy link
Owner

Morganamilo commented Jul 19, 2022

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

@hykilpikonna
Copy link

It's working if you simply add riscv64 to PKGBUILD

image

image

@hykilpikonna
Copy link

hykilpikonna commented Feb 8, 2023

Took half an hour to build though 😢

@Morganamilo
Copy link
Owner

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

@hykilpikonna
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants