Introduce the 1st cut at the new engine frontend.

Review Request #2989 - Created Oct. 18, 2015 and submitted

Information
John Sirois
pants
jsirois/engine/exp/scheduler
2308, 2392
2988
8146a9c...
Reviewers
pants-reviews
benjyw, ity, mateor, nhoward_tw, patricklaw, stuhood
The new `LocalScheduler` implements a means of extracting an
`ExecutionGraph` from `TaskPlanner`'s.  This graph can later be used by
a new engine backend to schedule maximally parallel execution as well as
distributing that execution.

A test is added to exercise the nominal simple codegen case as well as a
few other cases convenient to the example codegen graph.

 src/python/pants/engine/exp/BUILD                    |  11 +
 src/python/pants/engine/exp/scheduler.py             | 570 ++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/python/pants_test/engine/exp/BUILD             |   2 +
 tests/python/pants_test/engine/exp/test_scheduler.py | 326 +++++++++++++++++++++++------
 4 files changed, 846 insertions(+), 63 deletions(-)
CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/86110814
John Sirois
John Sirois
Stu Hood
John Sirois
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...