From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/grpc/
Date: Wed, 11 Sep 2024 22:13:02 +0000 (UTC) [thread overview]
Message-ID: <1726092745.470e544d6e3d1fa514eb23aac769ad9953379eff.sam@gentoo> (raw)
commit: 470e544d6e3d1fa514eb23aac769ad9953379eff
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 11 22:11:06 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 11 22:12:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=470e544d
dev-ruby/grpc: respect MAKEOPTS
extconf.rb uses nproc otherwise.
Bug: https://bugs.gentoo.org/921103
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-ruby/grpc/grpc-1.54.0.ebuild | 8 +++++++-
dev-ruby/grpc/grpc-1.59.2.ebuild | 8 +++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/dev-ruby/grpc/grpc-1.54.0.ebuild b/dev-ruby/grpc/grpc-1.54.0.ebuild
index 934ddf075b4a..931429078487 100644
--- a/dev-ruby/grpc/grpc-1.54.0.ebuild
+++ b/dev-ruby/grpc/grpc-1.54.0.ebuild
@@ -8,7 +8,7 @@ RUBY_FAKEGEM_EXTENSIONS=(src/ruby/ext/grpc/extconf.rb)
RUBY_FAKEGEM_EXTRAINSTALL="etc src"
RUBY_FAKEGEM_RECIPE_TEST="none"
-inherit ruby-fakegem
+inherit multiprocessing ruby-fakegem
DESCRIPTION="Send RPCs from Ruby using GRPC"
HOMEPAGE="https://github.com/grpc/grpc"
@@ -23,6 +23,12 @@ ruby_add_rdepend "
>=dev-ruby/google-protobuf-3.24.4
"
+each_ruby_configure() {
+ export GRPC_RUBY_BUILD_PROCS="$(makeopts_jobs)"
+
+ each_fakegem_configure
+}
+
each_ruby_install() {
# Remove all the "src" bits that are not needed
rm -rf src/core src/ruby/spec src/ruby/ext/grpc/{libs,objs} || die
diff --git a/dev-ruby/grpc/grpc-1.59.2.ebuild b/dev-ruby/grpc/grpc-1.59.2.ebuild
index 934ddf075b4a..931429078487 100644
--- a/dev-ruby/grpc/grpc-1.59.2.ebuild
+++ b/dev-ruby/grpc/grpc-1.59.2.ebuild
@@ -8,7 +8,7 @@ RUBY_FAKEGEM_EXTENSIONS=(src/ruby/ext/grpc/extconf.rb)
RUBY_FAKEGEM_EXTRAINSTALL="etc src"
RUBY_FAKEGEM_RECIPE_TEST="none"
-inherit ruby-fakegem
+inherit multiprocessing ruby-fakegem
DESCRIPTION="Send RPCs from Ruby using GRPC"
HOMEPAGE="https://github.com/grpc/grpc"
@@ -23,6 +23,12 @@ ruby_add_rdepend "
>=dev-ruby/google-protobuf-3.24.4
"
+each_ruby_configure() {
+ export GRPC_RUBY_BUILD_PROCS="$(makeopts_jobs)"
+
+ each_fakegem_configure
+}
+
each_ruby_install() {
# Remove all the "src" bits that are not needed
rm -rf src/core src/ruby/spec src/ruby/ext/grpc/{libs,objs} || die
next reply other threads:[~2024-09-11 22:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-11 22:13 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-07 2:58 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/grpc/ Sam James
2024-10-06 9:37 Sam James
2024-10-05 6:12 Sam James
2024-01-31 12:54 Joonas Niilola
2023-12-29 7:18 Hans de Graaff
2023-08-27 18:56 Arthur Zamarin
2023-08-27 16:59 Hans de Graaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1726092745.470e544d6e3d1fa514eb23aac769ad9953379eff.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox