With ccache and cycache the recompliation time of extension modules is negligible. Should work automatically for Sage >= 6.2.rc0
On Monday, May 12, 2014 11:36:20 AM UTC+2, P Purkayastha wrote: > > Yes, this is set. I tried it again just now. I changed to develop using > > git checkout develop > > and re-ran the upgrade process. It shouldn't have upgraded anything, but > it still decided to compile a bunch of packages anyway. Thankfully, it > found most in ccache, except for R. But for sage, the following message was > spit out during compilation: > > ... > Found compiled sage/rings/polynomial/polynomial_ring_homomorphism.pyx incache > Found compiled sage/rings/polynomial/polynomial_zmod_flint.pyx in cache > Found compiled sage/rings/polynomial/polynomial_zz_pex.pyx in cache > Finished Cythonizing, time: 24.08 seconds. > running install > running build > running build_py > copying sage/plot/contour_plot.py -> build/lib.linux-x86_64-2.7/sage/plot > running build_ext > building 'sage.algebras.quatalg.quaternion_algebra_element' extension > building 'sage.algebras.letterplace.free_algebra_letterplace' extension > ... > building 'sage.ext.interpreters.wrapper_py' extension > building 'sage.ext.interpreters.wrapper_el' extension > Executing 321 commands (using 2 threads) > > So, it decided to still recompile 321 files. This is far from optimal. > > On Sunday, May 11, 2014 9:14:02 PM UTC+8, Ralf Stephan wrote: >> >> >> >> On Sunday, May 11, 2014 12:41:24 PM UTC+2, P Purkayastha wrote: >>> >>> I have both ccache and cycache enabled. >>> >> Is this set? >> $ set|grep CCA >> SAGE_INSTALL_CCACHE=yes >> >> I occasionally look at what changes in the output of "local/bin/ccache -s" >> before and after compilation. >> >> Regards, >> > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.