[petsc-dev] Could generatefortranstubs.py be lazier about modification times?

Jed Brown jed at 59A2.org
Mon Oct 4 15:58:28 CDT 2010

On Mon, Oct 4, 2010 at 22:53, Barry Smith <bsmith at mcs.anl.gov> wrote:
> Why? It takes less than 3 seconds on my laptop to generate everything.

It's not the generating, it's recompiling all those files.  The cmake
build (and builder.py now, sort of) keeps track of dependencies, so
they only recompile files that have actually changed.  So it's the
difference between 30 seconds to recompile all the auto stuff that has
just had mtime updated (but identical content) and 3 seconds to
recompile the two files that actually changed and relink libpetsc.so.


More information about the petsc-dev mailing list