Satish Balay <[email protected]> writes:
> BTW: Do you know if its possible to add the [%done] progress like the cmake 
> build has?

I don't know any fast way to learn how many targets need to be built.
CMake embeds markers at different points in the build, but the
percentages can be way off depending on what actually needs to be built.
I don't think it would be that hard to implement a special variable in
gnu make that would tell us how many things need to be rebuilt, so maybe
we could have it in the next release.  (Make is a mature project with a
pretty slow release cycle, so it's more of a convenience for the long
term.  I don't think this feature is very important, however.)

Ninja (for which I also wrote a generator) does progress very well.

> [ 12%] Building C object CMakeFiles/petsc.dir/src/dm/impls/sliced/sliced.c.o
> [ 12%] Building C object 
> CMakeFiles/petsc.dir/src/dm/impls/redundant/dmredundant.c.o
>
>
> vs:
>           CC asterix64/obj-gmake/src/mat/impls/baij/seq/bstream/bstrmfact.o
>           CC asterix64/obj-gmake/src/mat/impls/baij/mpi/mpibaij.o
>           CC asterix64/obj-gmake/src/mat/impls/baij/mpi/mmbaij.o

Attachment: pgp1Si0rOaDFM.pgp
Description: PGP signature

Reply via email to