Skip to content

s5cmd: add build-s5cmd.yml for riscv64 wheels - #1675

Merged
luhenry merged 1 commit into
mainfrom
s5cmd
Sep 10, 2026
Merged

s5cmd: add build-s5cmd.yml for riscv64 wheels#1675
luhenry merged 1 commit into
mainfrom
s5cmd

Conversation

@luhenry

@luhenry luhenry commented Sep 10, 2026

Copy link
Copy Markdown
Member

Repackages the s5cmd S3/local-filesystem CLI binary from peak/s5cmd into a py3-none-<platform> wheel. Upstream publishes no riscv64 wheel.

Mirrors the build_wheels job of upstream's cd.yml.

Differs from upstream

  • Cross-compiles s5cmd from source (CGO_ENABLED=0, same ldflags as peak/s5cmd's goreleaser) instead of downloading a release archive - peak/s5cmd's own goreleaser matrix stops at ppc64le.

Testing

  • same as upstream, plus a separate job driving the installed launcher (version, local ls) across the interpreter matrix.

License: OK

Patches

  • 0001-s5cmdUrls-add-riscv64-support-via-source-build.patch - Inappropriate. Adds a riscv64 branch to s5cmdUrls.cmake that installs from the self-built local archive instead of downloading one; peak/s5cmd ships no riscv64 release asset to download.

Built on cp312; passed.

luhenry added a commit that referenced this pull request Sep 10, 2026
s5cmd-python-distributions repackages peak/s5cmd's own release binaries
into a py3-none-<platform> wheel; its s5cmdUrls.cmake has no riscv64
entry because peak/s5cmd's goreleaser matrix (386/amd64/arm/arm64/ppc64le)
stops at ppc64le. Cross-compile s5cmd from source instead with the same
CGO_ENABLED=0 recipe goreleaser uses for the other platforms, repackage
it into an archive matching upstream's own layout/naming, and patch
s5cmdUrls.cmake to install from that local archive on riscv64 only.
@luhenry
luhenry merged commit 7132a87 into main Sep 10, 2026
10 checks passed
@luhenry
luhenry deleted the s5cmd branch September 10, 2026 10:43
@luhenry luhenry linked an issue Sep 10, 2026 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

s5cmd riscv64 support

1 participant