Hi,
I'm looking for a way to speed up the build process. I noticed that the make processes only use one core, is there an easy way to give the build process a "-j8" or something like that on the way?
thanks!
Hi,
I'm looking for a way to speed up the build process. I noticed that the make processes only use one core, is there an easy way to give the build process a "-j8" or something like that on the way?
thanks!
The build should automatically use all available cores.
You can manually configure the number of parallel processes by setting the environment variable CONCURRENCY_MAKE_LEVEL (eg to 8).
Also note that for a few packages parallel build is disabled as it doesn't work reliably (for example busybox).
LTO also increases build time (and for most packages linking with LTO only uses a single core), so you could try setting LTO_SUPPORT="no" in ~/.libreeelc/options - but note this isn't always fully tested and building without LTO can sometimes result in link errors. PRs to fix this (mostly missing -fPIC options in libs) are welcome, though
so long,
Hias
Thanks a lot, I must have always taken a look when there was one of the single-thread-packages active - now I see a multithreaded one being compiled.
I'll try your tip with LTO
best regards