[oe-commits] [meta-openembedded] 01/05: redis: Fix ocasional parallel build failure

git at git.openembedded.org git at git.openembedded.org
Sun Apr 7 00:16:47 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 4cbe04380683de52d00b128cedb60e8f9156493c
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sat Apr 6 17:04:50 2019 -0700

    redis: Fix ocasional parallel build failure
    
    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 at 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 af99537..2e54f66 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list