All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] redis: Fix ocasional parallel build failure
@ 2019-04-07  0:06 Khem Raj
  0 siblings, 0 replies; only message in thread
From: Khem Raj @ 2019-04-07  0:06 UTC (permalink / raw)
  To: openembedded-devel

Sometimes with high parallel build we see compile errors e.g.

clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Makefile:52: lua] Error 1

Therefore try to build dependencies before main build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-extended/redis/redis_4.0.12.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-extended/redis/redis_4.0.12.bb b/meta-oe/recipes-extended/redis/redis_4.0.12.bb
index af99537f52..2e54f665d2 100644
--- a/meta-oe/recipes-extended/redis/redis_4.0.12.bb
+++ b/meta-oe/recipes-extended/redis/redis_4.0.12.bb
@@ -31,6 +31,10 @@ GROUPADD_PARAM_${PN} = "--system redis"
 
 REDIS_ON_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}"
 
+do_compiler_prepend() {
+    (cd deps && oe_runmake hiredis lua jemalloc linenoise)
+}
+
 do_install() {
     export PREFIX=${D}/${prefix}
     oe_runmake install
-- 
2.21.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-07  0:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-07  0:06 [meta-oe][PATCH] redis: Fix ocasional parallel build failure Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.