Always use all threads while compiling with make

In past versions of manjaro, while compiling packages from AUR with pamac, all cpu threads were utilized in compilation. However in my latest install, only single thread is used (even for the same packages), and it increases compilation time of larger programs very much. I know I can set it to desired number of cores with -j flag, but is there a permanent solution where I don’t need to enter -j [n] every time?

See makepkg - ArchWiki

It seems you’ve missed merging recent pacnew files. Our default makepkg.conf is already configured to use all threads and queue the the next job.

1 Like

Thanks for the quick response. I replaced the entire file to not take any risk and its working as intended

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.