On 2015-06-22 09:54+0100 Phil Rosenberg wrote:

> Hi Alan
> It seems you were correct, I deleted the cache, but obviously that
> wasn't enough. A full clean build directory solved the problem so you
> can tick that off.

Good.  I think a pretty good rule of thumb is if you have to remove
the cache whenever there is a build-system fix, then you might as well
remove the whole build tree as well.  I am pretty casual about the
extra compile time required when starting with an empty build tree,
but the reason for that is I use ccache.  Which likely doesn't do you
any good with MSVC (although there might be a Windows equivalent), but
I do highly, highly recommend ccache for all gcc users here (including
the Windows variants of gcc).  What it does is keep track of all
compilations in a database, and if the compiler, options, source file,
and headers are all identical, it delivers the cached result of the
previous compilation rather than running gcc to generate that.  ccache
is lightening quick and so far extremely reliable which is why I
recommend it.

To give you some idea of how fast ccache is, here are my time results
for building the plplot library.

software@raven> make clean
software@raven> time make -j4 plplot >& plplot.out

real    0m0.970s
user    0m0.684s
sys     0m0.424s

The first time you see such results (less than a second to rebuild the
plplot library) you hardly believe them, but it is true, ccache is
really that fast.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to