Skip to content

[Ruby] Add rubygems support for linux-gnu and linux-musl platforms#39549

Closed
zarinn3pal wants to merge 21 commits intogrpc:masterfrom
zarinn3pal:add_gnu_musl_rubygems
Closed

[Ruby] Add rubygems support for linux-gnu and linux-musl platforms#39549
zarinn3pal wants to merge 21 commits intogrpc:masterfrom
zarinn3pal:add_gnu_musl_rubygems

Conversation

@zarinn3pal
Copy link
Contributor

Added platform support for linux-gnu and linux-musl architectures. Use rake compiler base docker images for both of these platforms and use it to bundle grpc gem to the respective platforms.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented May 12, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@zarinn3pal
Copy link
Contributor Author

The gem appears inside pkg/ directory after rake task is run. Example: The following rake task will result in the creation of gemfile as shown in the image below :
rake 'gem:native[x86_64-linux-musl]'
image

@chadlwilson
Copy link
Contributor

Looks like an attempt to implement #39443

@zarinn3pal zarinn3pal force-pushed the add_gnu_musl_rubygems branch 2 times, most recently from 7379e1b to 3ee8dee Compare May 19, 2025 21:56
@zarinn3pal zarinn3pal force-pushed the add_gnu_musl_rubygems branch from 3ee8dee to c4b768c Compare May 19, 2025 22:48
@chadlwilson

This comment was marked as resolved.

Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
@chadlwilson
Copy link
Contributor

Cool @zarinn3pal - thanks for your efforts and persistence!

@zarinn3pal
Copy link
Contributor Author

Added a TODO to add Distribtest for x86 musl To-do

TODO: Build a docker image enabling multi architecture support for x86-musl

Had a deeper look into the error with test failure for ruby_linux-musl_x86_alpine_version_ruby_3_4 ; The docker container running distribtest is looking for x86_64-linux-musl (64 bit version) intead of x86 .Initially building and pushing the image, multi-architecture container by QEMU was not enabled while building for x86 architecture. Rebuilding pulls the already built tag from docker registry.
image (1)

@zarinn3pal zarinn3pal force-pushed the add_gnu_musl_rubygems branch from 875d3a9 to 755ad00 Compare July 9, 2025 22:20
zarinn3pal added a commit to zarinn3pal/grpc that referenced this pull request Jul 11, 2025
…rpc#39549)

Added platform support for linux-gnu and linux-musl architectures.  Use rake compiler base docker images for both of these platforms and use it to bundle grpc gem to the respective platforms.

Closes grpc#39549

PiperOrigin-RevId: 781343819
eugeneo pushed a commit to eugeneo/grpc that referenced this pull request Jul 11, 2025
…rpc#39549)

Added platform support for linux-gnu and linux-musl architectures.  Use rake compiler base docker images for both of these platforms and use it to bundle grpc gem to the respective platforms.

Closes grpc#39549

PiperOrigin-RevId: 781343819
apolcyn pushed a commit that referenced this pull request Jul 11, 2025
…40174)

Added platform support for linux-gnu and linux-musl architectures. Use
rake compiler base docker images for both of these platforms and use it
to bundle grpc gem to the respective platforms.

Closes #[39549](#39549)
asheshvidyut pushed a commit to asheshvidyut/grpc that referenced this pull request Jul 12, 2025
…rpc#39549)

Added platform support for linux-gnu and linux-musl architectures.  Use rake compiler base docker images for both of these platforms and use it to bundle grpc gem to the respective platforms.

Closes grpc#39549

PiperOrigin-RevId: 781343819
paulosjca pushed a commit to paulosjca/grpc that referenced this pull request Aug 23, 2025
…rpc#39549)

Added platform support for linux-gnu and linux-musl architectures.  Use rake compiler base docker images for both of these platforms and use it to bundle grpc gem to the respective platforms.

Closes grpc#39549

PiperOrigin-RevId: 781343819
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants