Replies: 5 comments
-
While I understand the intention, I'm not so sure whether hardcoding a number of jobs is a good idea. Imagine someone would want to run it inside a VM that has only been granted one CPU, just for one example. Ideally, we find a way to figure out the number of CPUs / cores, but I'm afraid there's no good portable way for that. But at the least, a commandline option or environment variable should be there (and documented) that can override the default. |
Beta Was this translation helpful? Give feedback.
-
Jörg, I disagree, because
|
Beta Was this translation helpful? Give feedback.
-
I know what |
Beta Was this translation helpful? Give feedback.
-
Please check #1586 |
Beta Was this translation helpful? Give feedback.
-
#1586 has been merged. |
Beta Was this translation helpful? Give feedback.
-
The build process from
build.sh
uses only one processor core for make.With the parameter
-j4
or even more aggressive-j
a significant speed up can be achieved, even on my old development ThinkPad T400 with 2 cores, where I normally usemake -j4
.The modification should work on all Unixoids in use.
Standard
build.sh
:Modified
build_fast.sh
:Beta Was this translation helpful? Give feedback.
All reactions