#13032: Add ccache as an optional spkg
-------------------------------------+--------------------------------------
       Reporter:  rohana             |         Owner:  GeorgSWeber          
           Type:  enhancement        |        Status:  closed               
       Priority:  major              |     Milestone:  sage-5.6             
      Component:  optional packages  |    Resolution:  fixed                
       Keywords:  sd40.5             |   Work issues:                       
Report Upstream:  N/A                |     Reviewers:  Punarbasu Purkayastha
        Authors:  R. Andrew Ohana    |     Merged in:  sage-5.6.beta2       
   Dependencies:                     |      Stopgaps:                       
-------------------------------------+--------------------------------------

Comment (by ppurka):

 Replying to [comment:56 jdemeyer]:
 > Replying to [comment:55 ppurka]:
 > > If you do not provide a ccache setting at all [...] the size is set to
 4G.
 > That's already false,
 [http://ccache.samba.org/manual.html#_cache_size_management the default is
 1GB].

 I must reiterate. '''If''' you don't provide any ccache directory settings
 at all, then [attachment:trac13032_doc.patch it is set to 4GB] with this
 ticket/spkg.

 > Imagine I want to compile a package X outside of Sage, a package which
 happens to be part of Sage (I do that with PARI for example). Then it's a
 pity that the cached object files for package X appear twice in my home
 directory: once in `.ccache` and once in `.sage`.

 Well, then you set your ccache environment variable appropriately. To use
 ccache while compiling with sage you need to set `SAGE_INSTALL_CCACHE=yes`
 in your environment variable. Then, it will use whatever ccache directory
 you have set and otherwise it will use the default of ~/.sage/ccache.

 > My problem really boils down to this: why would you want a separate
 ccache directory for Sage?

 In fact, one question that I would ask is - what other sage setting is
 present outside the ~/.sage directory? If there is, then it makes sense to
 mix and match sage specific settings and folders.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13032#comment:58>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to