<div class="gmail_quote">On Mon, May 23, 2011 at 23:30, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote: <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":2v">
    You move a bunch of stuff that has nothing to do with cmake into cmakeboot.py  for example    self.make          = self.framework.require('config.programs',        None)<br></div></blockquote><div><br></div><div>
Why does this modify anything in the enclosing scope? I used to run cmakeboot.py as a completely separate process just so I could be sure that reading variables wouldn't pollute anything else. But if it's going to run as part of configure, before the RDict is written to a file, then it needs a way to read.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div id=":2v">
now if your silly cmakeboot stuff doesn't work then variables like OMAKE are never defined in the generated petscvariables file and so nothing can get built.</div></blockquote><div><br></div><div>How can cmakeboot.py read variables without modifying _anything_?</div>
</div>