yut148 / toolwhip

Automatically exported from code.google.com/p/toolwhip
2 stars 0 forks source link

XCode doesn't really deal with localhost right #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Xcode doesn't include localhost in the cpu pool, so it sends everything out not 
really using the local 
host.  The workaround is to put localhost into a pool of cpus, but that doesn't 
completely work, then 
you end up:

  setenv DISTCC_HOSTS "--randomize localhost:0,lzo,cpp/0"

That "/0" is probably what screws them up, we probably need to double check our 
distcc handles 
both of those and tweak accordingly also.

Original issue reported on code.google.com by thomasvl@chromium.org on 5 Apr 2010 at 4:25

GoogleCodeExporter commented 8 years ago
dcc_parse_multiplier will log an error for the /0 and ignore it.

Original comment by thomasvl@chromium.org on 5 Apr 2010 at 4:53

GoogleCodeExporter commented 8 years ago
Actually, that doesn't matter, dcc_parse_localhost won't parse the :0 or the 
,options either.  So it won't honor any 
value xcode tries to relay.

Original comment by thomasvl@chromium.org on 5 Apr 2010 at 4:57

GoogleCodeExporter commented 8 years ago
Radar's opened for this and the other problems with distcc hosts, not gonna 
work around them since the sum 
results of them really means we need them fixed within xcode.

Original comment by thomasvl@chromium.org on 6 Apr 2010 at 1:22