This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 2a9c8b1bda GH-36837: [CI][RPM] Use multi-cores to install gems (#36838)
2a9c8b1bda is described below
commit 2a9c8b1bda41cb87fb211ad209347ca2259253aa
Author: Sutou Kouhei <[email protected]>
AuthorDate: Mon Jul 31 06:11:06 2023 +0900
GH-36837: [CI][RPM] Use multi-cores to install gems (#36838)
### Rationale for this change
We may reduce test time by using multi-cores to install gems.
### What changes are included in this PR?
`gem install` with `MAKEFLAGS=-j$(nproc)` uses multi-cores when building
extension libraries.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* Closes: #36837
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
dev/release/verify-yum.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev/release/verify-yum.sh b/dev/release/verify-yum.sh
index 03aa8e9dcc..55fc0c1735 100755
--- a/dev/release/verify-yum.sh
+++ b/dev/release/verify-yum.sh
@@ -234,7 +234,7 @@ if [ "${have_glib}" = "yes" ]; then
if [ "${have_ruby}" = "yes" ]; then
${install_command} "${ruby_devel_packages[@]}"
- gem install gobject-introspection
+ MAKEFLAGS="-j$(nproc)" gem install gobject-introspection
ruby -r gi -e "p GI.load('Arrow')"
fi
echo "::endgroup::"