mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 22:23:14 +00:00
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@gmail.com>
This commit is contained in:
parent
99a49e059f
commit
5ec597d839
@ -31,6 +31,10 @@ GROUPADD_PARAM_${PN} = "--system redis"
|
|||||||
|
|
||||||
REDIS_ON_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}"
|
REDIS_ON_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}"
|
||||||
|
|
||||||
|
do_compile_prepend() {
|
||||||
|
(cd deps && oe_runmake hiredis lua jemalloc linenoise)
|
||||||
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
export PREFIX=${D}/${prefix}
|
export PREFIX=${D}/${prefix}
|
||||||
oe_runmake install
|
oe_runmake install
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user