It turns out the problem I was having was actually from other changes I was
trying to make, and scons getting confused and failing in unhelpful and
silent ways. Before I figured that out however, I put together a change
which I think makes the ISA dependency stuff slightly more manual but also
a lot less complicated and restricting for scons. I think it's still worth
using even if it might not have been strictly necessary.

Gabe

On Thu, Oct 12, 2017 at 6:04 PM, Gabe Black <[email protected]> wrote:

> Hi folks. BUILD_TARGETS (the list of targets scons is supposed to make) is
> replaced with #all-targets and then dependencies between the #all-targets
> and that original list are set up later during the actual build phase or
> scons running. I'm having a problem because that isn't happening before
> scons gets through what it thinks it was asked to do, and it never actually
> discovers that it needs to build gem5.opt and never bothers.
>
> This is happening because these dependencies are being set up at the same
> time scons is consuming its dependencies, and as far as I can tell this all
> stems from the fact that the ISA dependencies are set up at build time as
> well. I'm hoping I can dig into this problem and straighten out when things
> are done, although my time is not my own and I may not be able to work on
> it any time soon.
>
> If there are any heroic souls who wants to dive in and fix it in the mean
> time, please feel free, and let everybody know so we can stay coordinated.
>
> Gabe
>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to