On Tue, 29 Oct 2013, Satish Balay wrote: > On Tue, 29 Oct 2013, Satish Balay wrote: > > > On Tue, 29 Oct 2013, Matthew Knepley wrote: > > > > > > Matt is the one with vision about BuildSystem dependencies so I'll leave > > > > it to him to comment. > > > > > > > > > I see fooling with dependencies as a good thing in general to simplify > > > things, but having not > > > much to do with what Jed wants. We can easily buffer till kingdom come. > > > > > > What needs to be done is to overload write() for the logger, so that if no > > > file is open it buffers, > > > and then when a file is set, the contents get dumped in. > > > > The issue is: if there is an error in configure thats relavent [for > > which we want the user to send us configure.log from the predetermined > > location] - but this error happens before the 'file is set' i.e before > > PETSC_ARCH is determined. > > I make some changes in 'balay/simplify-petscarch' and removed > dependencies for PETSC_ARCH/PETSC_DIR > > However configure is still running it after programs.py and few other > things. [and I don't see any dependencies on it. > > Matt, How do I specify that arch.py/petscdir.py should be run at the earliest?
Or perhaps if you add in a dependency from configure.log [somehwere in framework.py?] to bmakeDir.py then the execution of petscarch will move up appripriately? Satish
