[petsc-dev] What is this for?
Jed Brown
jedbrown at mcs.anl.gov
Tue Nov 15 18:52:41 CST 2011
On Tue, Nov 15, 2011 at 18:48, Matthew Knepley <knepley at gmail.com> wrote:
> Yes, but you are advocating a really shitty infrastructure for doing this.
> How do you expose these when the user turns out to want
> them (like ParMetis for instance)? How do you follow the chain back to
> find a bug if you have build logic scattered all over?
>
The makefile is already used to indicate which files require optional
packages.
If the user wants those headers, they can add $PETSC_PARMETIS_INCLUDES to
their compile line and $PETSC_PARMETIS_LIBS to their link line. (Yes, I
think that EVERY variable brought in by conf/variables should be
namespaced.)
We shouldn't break the standard practices for shared libraries just because
you might want to get access to all these optional things without stating
that you want access.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20111115/e20bc3a6/attachment.html>
More information about the petsc-dev
mailing list