Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 25, 2026. It is now read-only.

allow cross-compiling support for RISC-V 64 - #21348

#21348
Merged
harshavardhana merged 2 commits into
minio:masterminio/minio:masterfrom
ffgan:masterCopy head branch name to clipboard
Jun 8, 2025
Merged

allow cross-compiling support for RISC-V 64#21348
harshavardhana merged 2 commits into
minio:masterminio/minio:masterfrom
ffgan:masterCopy head branch name to clipboard

Conversation

@ffgan

@ffgan ffgan commented Jun 2, 2025

Copy link
Copy Markdown
Contributor

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers
under the terms of the Apache 2 license.
By creating this pull request I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 license.

Description

RISC-V architecture is quite active recently. Hope to add RISC-V as a supported architecture for cross-compilation.

Motivation and Context

I am a RISC-V enthusiast. Under the guidance of my mentor KinCH (nijincheng@iscas.ac.cn), I hope to provide RISC-V support for minIO. For any questions about minIO's RISC-V support, please feel free to contact my mentor or me.

I used qemu to pull up a virtual machine under RISCV, and built and tested minIO on it. make, make test and mint:edge all passed. I mentioned the relevant matters in this issue link before.
For make test-race, it cannot be run because Go does not support RISCV for go test -race.

After preliminary use, no bugs that affect the use have been found.So I think RV can be listed as an architecture supported by cross-compilation.

How to test this PR?

Here are the test results I ran using the github self-hosted runner. I used fedora42 as the host machine, and started a RISCV linux.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Optimization (provides speedup with no functional changes)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Fixes a regression (If yes, please add commit-id or PR # here)
  • Unit tests added/updated
  • Internal documentation updated
  • Create a documentation update request here

@harshavardhana harshavardhana changed the title Add support for RISC-V 64 allow cross-compiling support for RISC-V 64 Jun 8, 2025
@harshavardhana
harshavardhana merged commit e2245a0 into minio:master Jun 8, 2025
harshavardhana pushed a commit that referenced this pull request Jun 25, 2025
this is minor PR that supports building on RISC-V 64,
this PR is for compilation only. There is no guarantee
that code is tested and will work in production.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.