[petsc-dev] buildsystem: cusp location

Jed Brown jedbrown at mcs.anl.gov
Sun Mar 25 16:38:22 CDT 2012


On Sun, Mar 25, 2012 at 16:32, Matthew Knepley <knepley at gmail.com> wrote:

> Isn't the final point here that we are trying to let the user do the
> dumbest, easiest thing? Maybe no Linux distribution
> does this, but we are trying to cope with bad input from a user not using
> a nice distro.
>
> The price we would pay for cleaning up our internals is demanding that
> users think more about the configure input. This
> is not always a good tradeoff.
>

Simple compromise proposal:

--with-cusp-dir=/prefix

Looks in /prefix/include/ for the headers <cusp/version.h>. If
unsuccessful, it tries /prefix/.


If you insisted, it could even search in the other order. What I don't like
is --with-cusp-dir=/prefix not looking for headers in /prefix/include/.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120325/a598193e/attachment.html>


More information about the petsc-dev mailing list