<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Oct 13, 2015 at 11:26 AM, Arne Morten Kvarving <span dir="ltr"><<a href="mailto:Arne.Morten.Kvarving@sintef.no" target="_blank">Arne.Morten.Kvarving@sintef.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>Yes that is the file. Cmake is beautiful for configuration, python is a mess - all is in the eye of the beholder. I have my answer. I will patch as long as the file exists and deal with a </div></div></blockquote><div><br></div><div>No, some things are actually better than other things. This is why its engineering and not art appreciation.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>better way when I have to. The fact that the file is named, and
looks like, a cmake config mode file had me confused.<br>
<br>
-------- Opprinnelig melding --------<br>
Fra: Jed Brown <<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>> <br>
Dato: 13.10.2015 18.15 (GMT+01:00) <br>
Til: Satish Balay <<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>>, Arne Morten Kvarving <<a href="mailto:Arne.Morten.Kvarving@sintef.no" target="_blank">Arne.Morten.Kvarving@sintef.no</a>>
<br><span class="">
Ko: petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> <br>
Emne: Re: [petsc-users] petsc cmake config - BUILD_SHARED_LIBS <br>
<br>
</span></div><div><div class="h5">
<font size="2"><span style="font-size:10pt">
<div>Satish Balay <<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>> writes:<br>
<br>
> As mentioned - PETScConfig.cmake is primarily for building PETSc - and<br>
> not equivalent to .pc file<br>
<br>
def dumpCMakeConfig(self):<br>
'''<br>
Writes configuration-specific values to ${PETSC_ARCH}/lib/petsc/conf/PETScConfig.cmake.<br>
This file is private to PETSc and should not be included by third parties<br>
(a suitable file can be produced later by CMake, but this is not it).<br>
'''<br>
<br>
Arne, is this the file you are talking about? It is part of the legacy<br>
cmake build and is used to hold the various ARCH-specific variables when<br>
building PETSc. (Note that this build does not use CMake for configure<br>
since CMake is disgusting for that purpose and also because we needed to<br>
ensure that it makes all the same decisions as our configure.) It's not<br>
for users and should not be installed.<br>
<br>
If you want a pkgconfig file, just use PETSc.pc. Or use FindPETSc.cmake.<br>
</div>
</span></font>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div></div>