Commit Graph

5 Commits

Author SHA1 Message Date
Arturo Buzarra 73f1edd7e4 sumo migration: update qt5 recipe to 5.10
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Gabriel Valcazar 4a477410fe recipes-qt: merge NXP's .bbappend files with ours
This merges our Qt5 recipes with the ones in meta-fsl-bsp-release.

https://jira.digi.com/browse/DEL-6104

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-14 13:11:25 +02:00
Jose Diaz de Grenu c8d629e795 qtwebengine: fix compilation when using 1 core
From python 2.x to python 3.x, the '/' operator changed from integer
division to float division.

Hence, when using one core, 'makejobs' was being evaluated to 0.5.
That caused the evaluation below (makejobs == 0) to return False (0),
therefore PARALLEL_MAKE was evaluated to '-j 0' and the compilation
failed because the 'j' parameter must be strictly postive.

Replace the operator by the integer div operator in python 3.x '//'.

https://jira.digi.com/browse/DEL-5769

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-02-26 21:15:21 +01:00
Javier Viguera 0e1bf79e56 qt5: qtwebengine: reduce parallel make jobs
The aim is to reduce even more the memory used by the host at build time
to avoid the OOM killer killing the linker.

Otherwise it can fail in machines with few memory even though the linker
is configured with '--no-keep-memory'.

Notice that we also reduce the parallel jobs expanded by 'ninja' build
system configuring and exporting NINJAFLAGS variable. Otherwise this
build system does not honor PARALLEL_MAKE variable.

Fix:
  arm-dey-linux-gnueabi-g++: internal compiler error: Killed (program cc1plus)
  ninja: build stopped: subcommand failed.

https://jira.digi.com/browse/DEL-1973

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-10 10:30:31 +01:00
Javier Viguera eaa2fdb9d4 qt5: qtwebengine: decrease memory used by the linker
This is a build-time option, nothing to do with runtime. Decrease the
memory used by the linker to avoid being killed due to out-of-memory.

https://jira.digi.com/browse/DEL-1972

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-30 19:27:04 +01:00