Page 1 of 1
-j flag
Posted: Sun Aug 02, 2020 3:49 am
by N7DR
When building a project I see that it is initiated with the command:
/bin/sh -c '/usr/bin/make -j4 -e -f Makefile'
How can I change the "-j" value to something other than 4? I can't see where it is set
Re: -j flag
Posted: Sun Aug 02, 2020 6:06 am
by eranif
the '-4' means that 4 processes will be used during the build stage.
this number is taken from your machine (i.e. you have 4 cores or 2 cores with hyper threading enabled)
If you plan on increasing it, it won't help since your computer does not support more than that.
if you want to manually change it, it will be under:
settings -> build settings -> compilers
Locate the compiler you are using
and change it in the 'Tools' tab
Re: -j flag
Posted: Sun Aug 02, 2020 6:16 am
by N7DR
> the '-4' means that 4 processes will be used during the build stage.
> this number is taken from your machine (i.e. you have 4 cores or 2 cores with hyper threading enabled)
Yes, I know what the number means, and the reason I want to change it is that the number 4 is wrong. Thanks for letting me know how.