> > >   # Do this after we save setting back, or else we'll tack on an
> > >   # extra 'qdo' every time we run scons.
> > >   if env['BATCH']:
> > >       env['CC']  = env['BATCH_CMD'] + ' ' + env['CC']
> > >       env['CXX'] = env['BATCH_CMD'] + ' ' + env['CXX']
> > >
> > >
> > > much higher in the file and outside of the for loop.
> > >
> >
>
> Note that the comment describes why doing this naively doesn't work.
Except that now CXX and CC are global_sticky options and get saved way
near the top, so as long as you do it after the save of that stuff, it
works just fine, no?  I guess I'm just saying that things should be
made consistent.  If we want CXX and CC to be global, then BATCH and
BATCH_CMD should be as well, and that will solve our problems.

  Nate
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to