From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ACF10158083 for ; Wed, 11 Sep 2024 22:13:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 99EEBE29E8; Wed, 11 Sep 2024 22:13:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E828E29E8 for ; Wed, 11 Sep 2024 22:13:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ABA91342F9C for ; Wed, 11 Sep 2024 22:13:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 152AD1D57 for ; Wed, 11 Sep 2024 22:13:02 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1726092745.470e544d6e3d1fa514eb23aac769ad9953379eff.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/grpc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/grpc/grpc-1.54.0.ebuild dev-ruby/grpc/grpc-1.59.2.ebuild X-VCS-Directories: dev-ruby/grpc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 470e544d6e3d1fa514eb23aac769ad9953379eff X-VCS-Branch: master Date: Wed, 11 Sep 2024 22:13:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d77eed61-fdfe-46e5-ba1c-a0bbe9c082b4 X-Archives-Hash: f6cfbed6aadae2daa178023902e7b9ad commit: 470e544d6e3d1fa514eb23aac769ad9953379eff Author: Sam James gentoo org> AuthorDate: Wed Sep 11 22:11:06 2024 +0000 Commit: Sam James gentoo 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 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