summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-01-21 14:47:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-26 06:27:00 +0000
commit29a14ae59b03e8aae0e23254f881f97a4539edf0 (patch)
treed751b365cb9c9c278a8e72abd564dbcd3828bd9c /meta
parentbd947d3343dcd96e79fc8157f32a2a087cd710a7 (diff)
downloadpoky-29a14ae59b03e8aae0e23254f881f97a4539edf0.tar.gz
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 (From OE-Core rev: 1dc5cdf683133d210658eba9a619b737ec95cfe3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/ruby/ruby_3.1.0.bb4
1 files changed, 1 insertions, 3 deletions
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 = "\
48 --with-coroutine=copy \ 48 --with-coroutine=copy \
49" 49"
50 50
51do_install() { 51PARALLEL_MAKEINST = ""
52 oe_runmake 'DESTDIR=${D}' install
53}
54 52
55do_install:append:class-target () { 53do_install:append:class-target () {
56 # Find out rbconfig.rb from .installed.list 54 # Find out rbconfig.rb from .installed.list