Skip to content

Commit

Permalink
GH-36837: [CI][RPM] Use multi-cores to install gems (#36838)
Browse files Browse the repository at this point in the history
### 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 <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
kou committed Jul 30, 2023
1 parent 6b1c723 commit 2a9c8b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/release/verify-yum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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::"
Expand Down

0 comments on commit 2a9c8b1

Please sign in to comment.