]> code.ossystems Code Review - openembedded-core.git/commit
bison: Reset load average settings if specified in environment
authorKhem Raj <raj.khem@gmail.com>
Sun, 15 Mar 2020 04:29:47 +0000 (21:29 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 21 Mar 2020 22:38:19 +0000 (22:38 +0000)
commit1b8451aa4ba2b42b1eb1dc938fa3397d3434839a
tree36d6b95540bc429e72ac5e3d373935cca6c31ea5
parentb073317d5ea71217443624e5dc3b55831bb56018
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/bison/bison_3.5.3.bb