[petsc-dev] CMake: make, install, find_package ?
Satish Balay
balay at mcs.anl.gov
Sun Nov 5 08:13:11 CST 2017
PETSc has 3 modes of building libraries
1. all-legacy: using legacy makefiles [which uses vanila make in recursive mode]
2. all-cmake: using cmake to generate gnumakefiles
3. all-gnumake: using gnumakefiles
Now all-gnumake build is the default/primary. with it working in all
cases - there is no real reason for all-cmake build.
[we still use all-legacy for documentation generation and examples, and a few other cases]
So all-cmake is not tested and unsupported. But the code is still there and is not removed [or updated]
However - I just tired a simple 'all-cmake' build - and that worked. [attaching make.log]
What did not work for you? Please send relavent logs.
Satish
On Sun, 5 Nov 2017, Franck Houssen wrote:
> Hello,
>
> Does PETSc provide support for CMake ? I would say this is an on-going feature that is not yet fully working, right ?
> My understanding is that "./configure" generates the CMakeLists.txt. But then, when using cmake, make fails.
> Is this supposed to work yet ? Or is this on-going dev ? (google is misleading about that, and, not seen anything in the doc)
>
> Franck
>
> PS : I got it to work (partially - for petsc, not external packages) on my laptop (debian). I may (?) push I somebody is interested to have a look (on going dev ?).
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: make.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20171105/59e92374/attachment-0001.ksh>
More information about the petsc-dev
mailing list