15 Nov
2011
15 Nov
'11
6:30 p.m.
On Tue, Nov 15, 2011 at 18:18, Sean Farley <[email protected]> wrote:
I think this is a wholly bad idea. Putting build logic down in individual
makefiles is bad.
Why should every object file be built with -I${VALGRIND_INCLUDE}? Why can't just the valgrind sources be compiled with the valgrind flags?
I agree. Including all the dependent libraries is more fragile. We use MPI in our public interface (this is a good thing), so it's okay to include mpi.h. All the other headers should not be in the public interface. Note that this is also important so that they can link with -lpetsc instead of needing -lpetsc -lvarious -lother -llibs-that-are-different-for-each-configuration.
5382
Age (days ago)
5382
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jed Brown