[petsc-dev] Could generatefortranstubs.py be lazier about modification times?
Jed Brown
jed at 59A2.org
Tue Oct 5 10:41:33 CDT 2010
On Tue, Oct 5, 2010 at 17:18, Matthew Knepley <knepley at gmail.com> wrote:
> Obviously not slower than building everything that gets touched.
Get builder.py to rebuild after
find src -name '*vec.c' | xargs touch
in under 5 seconds and we'll talk. It is still very slow.
The correct thing is to have the build system manage generated files
(instead of the configuration system), so they get updated exactly
when needed.
BTW, builder.py outputs things like the following, charges on, and
then doesn't successfully create an archive.
ERROR: Missing object file /home/jed/petsc/ompi/lib/libpetsc-obj/petscsnesmod.o
It also puts *.d files in the source tree, but these reference files
in $PETSC_DIR/$PETSC_ARCH/include, and thus is incorrect if you have
multiple arches.
Jed
More information about the petsc-dev
mailing list