From: Alexander Kanavin Date: Fri, 21 Jan 2022 13:47:07 +0000 (+0100) Subject: ruby: do not parallel install X-Git-Tag: uninative-3.5~174 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1dc5cdf683133d210658eba9a619b737ec95cfe3;p=openembedded-core.git ruby: do not parallel install ruby's makefiles are rebuilding several items on every invocation, even if nothing changed, all of which are factored into libruby.so and cause it to be relinked as well. This does not seem to affect plain make invocation, but does cause races in make install: https://bugzilla.yoctoproject.org/show_bug.cgi?id=14695 Rather than figure out how to use make properly and convince upstream of it, let's just do serial installs and file a bug: https://bugs.ruby-lang.org/issues/18506 Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/ruby/ruby_3.1.0.bb b/meta/recipes-devtools/ruby/ruby_3.1.0.bb index 7183c93d45..e250164d2c 100644 --- a/meta/recipes-devtools/ruby/ruby_3.1.0.bb +++ b/meta/recipes-devtools/ruby/ruby_3.1.0.bb @@ -48,9 +48,7 @@ EXTRA_OECONF:append:libc-musl:riscv32 = "\ --with-coroutine=copy \ " -do_install() { - oe_runmake 'DESTDIR=${D}' install -} +PARALLEL_MAKEINST = "" do_install:append:class-target () { # Find out rbconfig.rb from .installed.list