[petsc-dev] I don't like the location of cmakeboot.py cmakegen.py

Barry Smith bsmith at mcs.anl.gov
Wed Oct 1 16:23:26 CDT 2014


  Cool

  Make it so and move those scripts out of config and remove use of them from config.

  Uglyness is a sign of bad design

   Thanks

   Barry

On Oct 1, 2014, at 4:17 PM, Jed Brown <jed at jedbrown.org> wrote:

> Barry Smith <bsmith at mcs.anl.gov> writes:
>>  cmakeboot.py is used by stuff in config, so should it really be
>>  outside of config?  Can the cmakegen.py stuff be reorganized like
>>  the conf/gmakegen.py so that it is not called at all by configure,
>>  but is suitably triggered by a make cmake ?
> 
> We can.  CMake errors (like hanging or error 256) would show up in "make
> cmake".  If we don't mind the 2-second cost of cmakegen, we could just
> run it every time.  Otherwise we need an acceptable make rule for the
> dependency.




More information about the petsc-dev mailing list