Barry Smith <[email protected]> writes: > I know nothing about the conventions for these files. I would say we > should put them in, otherwise the file is not useful on many systems.
BuildSystem is insane. I made this branch from 'maint' though I'm not sure it should necessarily ever be merged there. https://bitbucket.org/petsc/petsc/commits/branch/jed/pkgconfig Here is an example PETSc.pc that it now produces. Of course I would prefer to remove the private compiler paths but that's an independent matter and can be circumvented by disabling the *-autodetect. prefix=/home/jed/usr/petsc-mpich-basic-prefix exec_prefix=${prefix} includedir=${prefix}/include libdir=/home/jed/usr/petsc-mpich-basic-prefix/lib ccompiler=/opt/mpich/bin/mpicc cflags_extra="-fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fvisibility=hidden -g3" cflags_dep="-MMD -MP" ldflags_rpath="-Wl,-rpath,${libdir}" fcompiler=/opt/mpich/bin/mpif90 fflags_extra="-fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -g" blaslapacklibs=-llapack -lblas Name: PETSc Description: Library to solve ODEs and algebraic equations Version: 3.7.5 Cflags: -I/home/jed/petsc/include -I/home/jed/petsc/mpich-basic-prefix/include -I/opt/mpich/include Libs: -L${libdir} -lpetsc Libs.private: -Wl,-rpath,/opt/mpich/lib -L/opt/mpich/lib -Wl,-rpath,/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1 -llapack -lblas -lX11 -lpthread -lhwloc -lssl -lcrypto -lm -lmpifort -lgfortran -lm -lgfortran -lm -lquadmath -lmpicxx -lstdc++ -lm -ldl -lmpi -lgcc_s -ldl
signature.asc
Description: PGP signature
