[petsc-users] petsc cmake config - BUILD_SHARED_LIBS
Arne Morten Kvarving
Arne.Morten.Kvarving at sintef.no
Tue Oct 13 11:26:11 CDT 2015
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 better way when I have to. The fact that the file is named, and looks like, a cmake config mode file had me confused.
-------- Opprinnelig melding --------
Fra: Jed Brown <jed at jedbrown.org>
Dato: 13.10.2015 18.15 (GMT+01:00)
Til: Satish Balay <balay at mcs.anl.gov>, Arne Morten Kvarving <Arne.Morten.Kvarving at sintef.no>
Ko: petsc-users <petsc-users at mcs.anl.gov>
Emne: Re: [petsc-users] petsc cmake config - BUILD_SHARED_LIBS
Satish Balay <balay at mcs.anl.gov> writes:
> As mentioned - PETScConfig.cmake is primarily for building PETSc - and
> not equivalent to .pc file
def dumpCMakeConfig(self):
'''
Writes configuration-specific values to ${PETSC_ARCH}/lib/petsc/conf/PETScConfig.cmake.
This file is private to PETSc and should not be included by third parties
(a suitable file can be produced later by CMake, but this is not it).
'''
Arne, is this the file you are talking about? It is part of the legacy
cmake build and is used to hold the various ARCH-specific variables when
building PETSc. (Note that this build does not use CMake for configure
since CMake is disgusting for that purpose and also because we needed to
ensure that it makes all the same decisions as our configure.) It's not
for users and should not be installed.
If you want a pkgconfig file, just use PETSc.pc. Or use FindPETSc.cmake.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20151013/e9962be1/attachment.html>
More information about the petsc-users
mailing list