Skip to content

Add support on riscv64 #12316

@17999824wyj

Description

@17999824wyj

Is your feature request related to a problem?

Yes. The current grpc-java library supports the Linux-RISC-V64 architecture. This is a significant obstacle for Java developers who wish to build and deploy gRPC services and clients on RISC-V hardware. Without such support, users on RISC-V systems would not be able to use the large number of components related to this library, especially in the field of big data.

Describe the solution you'd like

I want to add official support for the Linux-RISC-V64 architecture in grpc-java instead of using local patches for adaptation every time.

Describe alternatives you've considered

Use local patches to enable grpc-java to adapt to the RISC-V64 architecture.

Additional context

I have already ported and tested the necessary components (grpc-java) on real RISC-V hardware (e.g., SG2042, banana pi) and emulators (QEMU). The changes are minimal, primarily involving the addition of architecture detection and build flags for the new riscv64 target. However, the changes are also needed in protoc-jar.

And let me give my blogs and repos to solve these questions.

links

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions