<div class="gmail_quote">On Tue, Aug 30, 2011 at 15:32, Vijay S. Mahadevan <span dir="ltr"><<a href="mailto:vijay.m@gmail.com">vijay.m@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":2v2">I've been using them for several years and have found them to be<br>
powerful to extract expressions I care about. Most often, they are<br>
handy in the configuration process.<br></div></blockquote><div><br></div><div>I was mostly kidding around. I use regexes sometimes, I just think they're overused (abused to do things that a more "real" parser should be used for). I don't consider truncating the version output to be a bad usage, though there actually needs to be a far more involved detection of versions in order to pass the correct command line options and to deal with quirks (e.g. we have a workaround to activate -Wno-line-truncation for gfortran-4.5.x because otherwise it gives lots of false positives).</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div id=":2v2">
<div class="im"><br>
> FWIW, we care at least as much about the path of the compiler as its<br>
> version. Usually the first word of "mpicc -show" has this (provided spaces<br>
> in paths are escaped appropriately).<br>
<br>
</div>I do not think mpicc -show gives the full path either.</div></blockquote><div><br></div><div>Depends whether MPI was configured with a full path to the compiler.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":2v2"><div class="im">
</div>I've personally not used waf much on batch systems yet but have used<br>
to configure and build against several dependencies<br>
(petsc/slepc/libmesh/deal + other C++ libraries). I had to write a few<br>
utilities of my own on top of the original waf system to get this<br>
right though for a complex system like PETSc, there might be some<br>
additional needs.</div></blockquote></div><br><div>I've looked at Waf a few times and I think it gets some things right, I just think it's still pretty far from a viable alternative at this point.</div>