So, the gbuild stuff uses -j$(MAXPROCESS) and we have configure options
tuned for build/dmake where
--with-num-cpus is the number of -PX given to "build" and sets
BUILD_NCPUS
--with-max-jobs is the number of -PX given to "dmake" and sets
BUILD_MAX_JOBS
nothing sets MAXPROCESS
so, we could e.g. change MAXPROCESS to be BUILD_MAX_JOBS and -jX to the
same X as dmake -X was. Or we could invert our current allocation of
cpus and set the ncpus as the value for dmake && gmake, which is sort of
the standard practice, i.e. make --with-num-cpus control dmake/gmake and
set max-jobs as the no of parallel builds.
Thoughts ?
C.
Context
- [Libreoffice] --with-num-cpus/--with-max-jobs and gbuild · Caolán McNamara
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.