nblind Posted December 9, 2018 Report Share Posted December 9, 2018 I recently noticed this post by Oleg He mentions that setting makeopts is not really necessary. Is that true even when using distcc? I currently have this in my make.conf MAKEOPTS="-j65 -l8" FEATURES="distcc distcc-pump" Is my makeopts line unnecessary? Link to comment Share on other sites More sharing options...
0 sputnik Posted December 10, 2018 Report Share Posted December 10, 2018 I want a 65 core cpu too! I've been using distcc on Funtoo for years and yes, both of those lines are required for distcc. Unless you want the jobs to default to the number of cores on the local cpu, and don't care about the load. Finally distcc & pump mode are not default features. Link to comment Share on other sites More sharing options...
0 Oleg Vinichenko Posted December 10, 2018 Report Share Posted December 10, 2018 to clarify little bit, portage has basic cpu detection of cpu's when you run emerge pkgname, based on ncpu+1, it does not pass any other arguments such as "l" or load-average. IN this case you may want to tweak you custom MAKETOPS. Link to comment Share on other sites More sharing options...
0 nblind Posted December 10, 2018 Author Report Share Posted December 10, 2018 Okay. Thanks for the clarification. Link to comment Share on other sites More sharing options...
0 nblind Posted December 10, 2018 Author Report Share Posted December 10, 2018 I started to think about another thing. When using distcc under gentoo, one has to explicitly set CFLAGS & CXXFLAGS, and not use -march=native. How is this handled on funtoo with subarch profiles? Should i set CFLAGS & CXXFLAGS in make.conf? I guess I do not have to. Because distcc is working just fine. Link to comment Share on other sites More sharing options...
0 sputnik Posted December 12, 2018 Report Share Posted December 12, 2018 See the readme here: https://github.com/TemptorSent/overlay-dev-gcc-kit/tree/master/sys-devel/gcc Link to comment Share on other sites More sharing options...
Question
nblind
I recently noticed this post by Oleg
He mentions that setting makeopts is not really necessary.
Is that true even when using distcc?
I currently have this in my make.conf
MAKEOPTS="-j65 -l8" FEATURES="distcc distcc-pump"
Is my makeopts line unnecessary?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts