<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Christian,*:<div>Man you are so patient with me and I bow to you.<br><div><div>On 2011-05-06, at 4:37 PM, Christian Lohmaier wrote:</div><div><snip></div><blockquote type="cite"><div>If that is all, you installed ccache, but no build will use it.<br><br>To use it you must either set symlinks of the compiler's name to<br>ccache and put those links in a<br>path that is searched before the real compiler (that is how I have it<br>setup), or you need to set CC="ccache gcc-4.0" and CXX="ccache<br>g++-4.0" It's described in the manpage.<br></div></blockquote><div><br></div><div>At this stage I do not want to setup symbolic links. </div><div>My own fun projects are not large enough to benefit.</div><div><br></div>What I did was an ./autogen.sh --with-max-jobs=8 --with-num-cpus=8 --disable-mozilla</div><div>the log shows this.....</div><div>........</div><div>........</div><div><div>checking whether we are allowed and able to use --ccache-skip... probing...</div><div>checking for ccache... /usr/local/bin/ccache</div><div>checking whether version of ccache is suitable... no</div><div>configure: ccache version 3.1.4 not accepted. See description for --enable-ccache-skip</div><div>.........</div><div>........</div><div><b>So it seems at though autogen doesn't like this version.</b></div><div><b>Is that what you expected?</b></div><div><br></div></div><div>The autogen produced a MacOSXX86Env.Set.sh file in libo</div><div>I edited that to set CC="ccache gcc-4.0" and CXX="ccache g++-4.0"</div><div>Then in Terminal I did </div><div>source MacOSXX86Env.Set.sh</div><div>env</div><div><br></div><div>This showed up: CXX=ccache /usr/bin/g++-4.0</div><div>This did not:<span class="Apple-tab-span" style="white-space:pre">        </span> CC=ccache /usr/bin/g++-4.0</div><div><br></div><div><b>Did you expect this?</b></div><div><br><blockquote type="cite"><div>Also for LO, you should increase the size of the cache from the<br>default of 500MB to 1GB or more<font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote><div><br></div>ccache -s shows max cache size 1.0 Gbytes </div><div>man page says it's default </div><div><snip><br><font class="Apple-style-span" color="#144FAE"><br></font></div><div><blockquote type="cite"><div>If after this configure run, MacOSX*Env.Set.sh contains export<br>USE_CCACHE=TRUE, then it is a bug. If instead it is part of the "unset<br><lots of variables>" line, then the configure check is all OK, and the<br>build should not fail like it did anymore.<br></div></blockquote></div>USE_CCACHE is in the unset list</div><div><br></div><div>So far so good. Next I did </div><div>make</div><div><br></div><div>This was really fun to watch in Activity Monitor as it sure made use of the 8 cores and 16 threads.</div><div>[As a former motorbike owner I think we "blued the pipes"]</div><div><br></div><div>This seems MAY have worked based on the tail of the log</div><div><b>What do you think?</b></div><div><br></div><div><div>=============</div><div>Building module instsetoo_native</div><div>=============</div><div>Entering /Users/pteeson/git/libo/instsetoo_native/inc_openoffice/windows/msi_languages</div><div>Entering /Users/pteeson/git/libo/instsetoo_native/inc_openoffice/unix</div><div><br></div><div><br></div><div>mkout -- version: 1.8</div><div>mkout -- version: 1.8</div><div>Entering /Users/pteeson/git/libo/instsetoo_native/util</div><div><br></div><div>find: /Users/pteeson/git/libo/translations/source/: No such file or directory</div><div>dmake: makefile.mk: line 231: Warning: -- Prior to dmake 4.5 only one</div><div>%-target per target-definition worked reliably. Check your makefiles.</div><div><br></div><div>dmake: makefile.mk: line 286: Warning: -- Prior to dmake 4.5 only one</div><div>%-target per target-definition worked reliably. Check your makefiles.</div><div><br></div><div>No EPM: do no packaging at this stage</div><div><br></div><div>Multiprocessing build is finished</div><div>Maximal number of processes run: 8</div><div>Gandalf:libo pteeson$ </div></div><div><div>Gandalf:~ pteeson$ ccache -s</div><div>cache directory <span class="Apple-tab-span" style="white-space:pre">        </span> /Users/pteeson/.ccache</div><div>cache hit (direct) <span class="Apple-tab-span" style="white-space:pre">        </span> 5</div><div>cache hit (preprocessed) 2</div><div>cache miss <span class="Apple-tab-span" style="white-space:pre">        </span>6468</div><div>called for link <span class="Apple-tab-span" style="white-space:pre">        </span>198</div><div>compile failed 6</div><div>unsupported compiler option 536</div><div>files in cache <span class="Apple-tab-span" style="white-space:pre">        </span>17806</div><div>cache size <span class="Apple-tab-span" style="white-space:pre">        </span>770.6 Mbytes</div><div>max cache size <span class="Apple-tab-span" style="white-space:pre">        </span>1.0 Gbytes</div><div>Gandalf:~ pteeson$ </div></div><div><br></div><div><br></div><div>Thanks to all for the great and patient help so far.</div><div>Where do we go from here?</div><div><br></div><div>respect....</div><div><br></div><div>Peter</div><div><br></div><div><br></div><div><br></div></body></html>