nginx / unit

NGINX Unit - universal web app server - a lightweight and versatile open source server that simplifies the application stack by natively executing application code across eight different programming language runtimes.
https://unit.nginx.org
Apache License 2.0
5.33k stars 323 forks source link

RISC V Support? #926

Closed Syndesi closed 1 year ago

Syndesi commented 1 year ago

Hi,

does NGINX Unit already support RISC V, or is such support planned?

If so, can the documentation be updated?

Kind regards, Syndesi

lcrilly commented 1 year ago

Hi Syndesi, I'm not aware of anyone using Unit on RISC-V and there are no current plans to support it.

What is your use case for RISC-V?

Did you already try to build from source? It might be enough to modify the --cc-opt configure arguments.

Syndesi commented 1 year ago

Hi Icrilly,

currently I am not using RISC V myself either, though the development of RISC V hardware and software seems to get more useful every month. For example, Debian just announced to officially support this architecture and more useful developer hardware like the HiFive Pro P550 should be released soon. This is quite fascinating for me, and I want to experiment with this ecosystem soon.

And as I just added ARM support to my own software project, which uses NGINX Unit internally, I am wondering how easy (or hard) it would be to compile it for RISC V.

I will try to compile it in the next weeks, and post results here :D

Should we close this issue in the mean time?

thresheek commented 1 year ago

It seems to be compiling just fine for RISCV for at least some Linux distros: https://packages.altlinux.org/en/sisyphus_riscv64/srpms/unit/

thresheek commented 1 year ago

With that, I don't think adding explicit support for RISCV packages or Docker image makes sense at this moment. It just isnt useful enough to warrant spending time on it.

lcrilly commented 1 year ago

@Syndesi thanks for sharing your use case and the Ember Nexus project!