diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-03-14 21:29:47 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-21 22:39:01 +0000 |
commit | 0ea1ee305bf75daaff60783baa22f086956b94aa (patch) | |
tree | 2e8d2823784e66b903c30d2bdd1b9d6a2d2676c8 /meta/recipes-devtools/gcc/libgcc-common.inc | |
parent | fcdb6774e9a4a1f111df3a8c65a5afd9e7e5a130 (diff) | |
download | poky-0ea1ee305bf75daaff60783baa22f086956b94aa.tar.gz |
bison: Reset load average settings if specified in environment
In some cases, we run into parallel build failures where BUILT_SOURCES
is skipped, as a result required header files are not generated and the
build fails with missing header errors like
../bison-3.5.2/lib/uniwidth/width.c:21:10: fatal error: uniwidth.h: No such file or directory
#include "uniwidth.h"
^~~~~~~~~~~~
compilation terminated.
BUILT_SOURCES should be built automatically with `make all` [1] therefore
ensure that make is invoked with `all` target
bison-native parallel build fails when -l<n> is passed globally from
build environment, errors like below due to race starts to show up
Therefore removes a previous load limit if set
[1] https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html#Built-Sources-Example
(From OE-Core rev: 1b8451aa4ba2b42b1eb1dc938fa3397d3434839a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/libgcc-common.inc')
0 files changed, 0 insertions, 0 deletions