Thanks to a patch supplied by Tristan Carel there is a fixed version of
UseSWIG.cmake that I have (temporarily until this fix gets into an official
CMake version) made part of our PLplot build system.  This version of
UseSWIG.cmake and the build system changes to use this modified module are
available as of revison 8091. This fix corrects the unnecessary swig
rebuilds that we had before.

Here is the time result I am obtaining now for a re-invocation of make with
no changes made.

[EMAIL PROTECTED]> time make >& make.out1

real    0m1.647s
user    0m0.824s
sys     0m0.836s

This latency is substantially less than we had before (since the swig
modules were being rebuilt each time we invoked make for revisions less than
8091).  Also, by looking through make.out1, I can find no invocation of gcc
or swig so it appears the last time-consuming rebuild steps have been
eliminated by this fix.

A latency of less than 2 seconds is actually pretty amazing when you
consider all the make machinery that swings into action to check that there
have been no changes. Note, in the present case there was a lot of such
checking to do since I originally invoked cmake with essentially all parts
of PLplot (including the examples build required by ctest) enabled.

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); PLplot scientific plotting software
package (plplot.org); 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
__________________________

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to