[petsc-dev] remnants of pkg-config in BuildSystem?

Barry Smith bsmith at mcs.anl.gov
Wed Nov 7 22:31:35 CST 2012


   Ok I added support for --with-PACKAGENAME-pkg-config[=pathtoconfigfile] and tested it with yaml and X windows. It should work out of the box with any PACKAGE except the pkg-config name may need to be added to the PACKAGE.py file.

  Now we need to have PETSc's Configure generate the PETSc.pc file 

   Barry

On Nov 7, 2012, at 6:03 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> On Wed, Nov 7, 2012 at 5:56 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>    Isn't this totally ir-fucking-relevent since we use the mpicc compiler wrappers and that hides (by design) the includes and libs (and even the compilers :-))?
> 
> Sure, unless you hate wrappers. Perhaps you'd like to compile conftest without linking MPI so that it can run on the login node.
>  
> > and system stuff.
> 
>    Yes, but what specific things that we use?
> 
> X11, OpenPA (which we should be using), cairo (which would be much better for drawing than raw X), NetCDF, ImageMagick, Valgrind.
>  
> 
>    Oh, cool yaml has them, now if we could only generate real uses of yaml :-)
> 




More information about the petsc-dev mailing list