Hi,
With the PR#12528 merged[1] the oi-userland now support parallel builds
of single omponents. If you are updating a build recipe (the Makefile)
for some big beasts (for example compilers, firefox, etc.) and you want
to use parallel build for it to shrink down the component build time,
please add this before the shared-macros.mk include:
USE_PARALLEL_BUILD = yes
Please note:
1) parallel builds are currently supported for following build styles
only:
- cmake
- configure (this is the default build style)
- justmake
- makemaker
- setup.py
2) many components does not support parallel builds properly so we
cannot turn this on by default for all components; pleae test this
carefully,
3) for small components (with `gmake build` taking up to few minutes
only) it makes no sense to turn this on; it likely won't save much time,
with a risk of strange builds failures (see #2 above),
4) please never set PARALLEL_JOBS in component's Makefile; this is
intended to be a global setting done by a build server (like jenkins).
Questions?
Thanks.
[1] https://github.com/OpenIndiana/oi-userland/pull/12528
--
+-------------------------------------------+
| Marcel Telka e-mail: [email protected] |
| homepage: http://telka.sk/ |
+-------------------------------------------+
_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev