$ sage -upgrade develop # this upgraded to sage-6.3.beta0
$ sage --dev checkout --ticket 16325 # somehow this was not based off develop
$ git rebase develop # this rebased the branch ticket/16325 on develop
$ # made changes to only one file: sage/plot/contour_plot.py
$ sage -btp --long src/sage/plot
I have both ccache and cycache enabled.
git checkout develop
...
Found compiled sage/rings/polynomial/polynomial_ring_homomorphism.pyx in cache
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)
All of this was on 6.3.beta0
--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/WpDnmLZJKDE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To post to this group, send email to sage-...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
~/Installations/sage-git» git l -n 3
* 2ecec6b - (HEAD, refs/heads/ticket/16325) bordercolor must not be a list. Fix this error. 24 hours ago <Punarbasu Purkayastha>
* 2b1a65b - Enable fillcolor and bordercolor for implicit_plot 24 hours ago <Punarbasu Purkayastha>
* fa885d9 - (refs/remotes/origin/develop, refs/heads/develop) Updated Sage version to 6.3.beta0 2 days ago <Volker Braun>%
~/Installations/sage-git» set|grep CCA
Binary file (standard input) matches
~/Installations/sage-git» env|grep CCA
SAGE_INSTALL_CCACHE=yes
~/Installations/sage-git» local/bin/ccache -s
cache directory /home/punarbasu/.ccache
cache hit (direct) 4002297
cache hit (preprocessed) 166297
cache miss 206048
called for link 2019701
called for preprocessing 21331
multiple source files 226
compiler produced stdout 40
compile failed 6261
preprocessor error 3187
bad compiler arguments 3602
unsupported source language 12963
autoconf compile/link 46173
unsupported compiler option 12682
no input file 19175
files in cache 24529
cache size 3.5 Gbytes
max cache size 4.0 Gbytes
~/Installations/sage-git» git co ticket/16325
Switched to branch 'ticket/16325'
~/Installations/sage-git» time sage -ba >& ~/sage.log
y
sage -ba >&~/sage.log 101.00s user 25.62s system 50% cpu 4:13.18 total
~/Installations/sage-git» local/bin/ccache -s
cache directory /home/punarbasu/.ccache
cache hit (direct) 4002676
cache hit (preprocessed) 166331
cache miss 206066
called for link 2020083
called for preprocessing 21331
multiple source files 226
compiler produced stdout 40
compile failed 6261
preprocessor error 3187
bad compiler arguments 3602
unsupported source language 12963
autoconf compile/link 46173
unsupported compiler option 12682
no input file 19180
files in cache 24565
cache size 3.5 Gbytes
max cache size 4.0 Gbytes
The time required (4 min) is much better than yesterday, but still too long. Is this to be expected? The log file sage.log is attached.
A copy of all the files is kept in src/build/lib.* - can it not just check the diff between those and the files in src/sage and decide which ones need recompiling?
... It shouldn't have upgraded anything, but it still decided to compile a bunch of packages anyway.
Is ccache agnostic to the comment on the first line of each
Cython-generated C/C++ file?
--
On Monday, May 12, 2014 11:36:20 AM UTC+2, P Purkayastha wrote:... It shouldn't have upgraded anything, but it still decided to compile a bunch of packages anyway.I have witnessed the same thing recently. Someone with knowledge of the code please correct me. I think what is probably happening is that $HOME/.cycache over time fills with old entries. Some get cleaned but the ones not getting cleaned fill up, until the cleanup process is cleaning a part of the previously cached files every time a major build happens.