From: Alan W. I. <ir...@be...> - 2010-01-12 21:02:03
|
On 2010-01-12 09:23-0800 Alan W. Irwin wrote: > For some time now, I have assumed CMake's copy-if-different would work fine > (i.e., would take no action) if the build tree was identical to the > source tree (as in your case) so that no copying from source tree > to build tree would be required. But from your error report it looks > like copy-if-different does not work the way I had assumed, and instead > tries to do something circular for this case. Hi Ed: To follow up, I did some quick checking with simple tests, and, in fact, copy-if-different does the right thing (no action) if the source and build trees are the same. Furthermore, make does the right thing as well (drop the circular dependency for this case). So the bug you found cannot be triggered by (extremely) simple test cases where the build tree is the same as the source tree. I am tied up with another PLplot issue at the moment so I suspect it will be at least a week until I can investigate the issue you discovered any further with a full PLplot build. Thus, I encourage other PLplot developers to jump in and investigate this issue. Meanwhile, if you have any troubles doing a fresh build using a separate build tree (the usual tested case), let us know here. 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 __________________________ |