[petsc-dev] buildsystem: add hg log

Sean Farley sean at mcs.anl.gov
Sun Mar 25 17:35:10 CDT 2012


Matt,

Can you the ability for self.installNeeded to check the date from hg log
for the particular package? Something such as:

hg log -l 1 config/PETSc/packages/metis.py --template '{date|isodatesec}'
2012-03-20 15:11:27 -0500

and then redownload && reinstall based on this information (as well as the
current method of checking options written to a file). Since buildsystem is
already written in python, this could be implemented with a fancy call to a
mercurial command server, or whatever you prefer.

While we're at it, can the mkfile argument self.installNeeded be optional
and default to self.package?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120325/fd055136/attachment.html>


More information about the petsc-dev mailing list