[petsc-dev] CMake: make, install, find_package ?

Satish Balay balay at mcs.anl.gov
Sun Nov 5 08:48:06 CST 2017


On Sun, 5 Nov 2017, Franck Houssen wrote:

> Personal opinion: either you decide to have a fresh look at this (things may be better now), or, you should unplug the generation of CMakeLists.txt (misleading). 

Hm - configure prints at the end:

xxx=========================================================================xxx
 Configure stage complete. Now build PETSc libraries with (gnumake build):
   make PETSC_DIR=/home/balay/petsc PETSC_ARCH=arch-linux2-c-debug all
xxx=========================================================================xxx

So there is no reference to cmake build here - and nothing misleading.

Sure - if you hunt arround the PETSc source tree - you will find bunch
of stuff.. [but that would be ignoring the primary doc].

Also There was some reason Jed didn't want to strip out the cmake
stuff. Perhaps FindPETSc.cmake uses it?

Jed can confirm.

Satish


More information about the petsc-dev mailing list