ruricolist / overlord

Build system in Common Lisp
MIT License
60 stars 2 forks source link

Annotate tasks with resources #12

Open ruricolist opened 5 years ago

ruricolist commented 5 years ago

Some build systems have ways to express constraints on parallelism besides the number of threads -- e.g. Ninja's pools or Shake's resources. It would be trivial to implement this with semaphores, but I want to do better: add a way to annotate tasks with the resources they require so the scheduler can take it into account before they are run.

ruricolist commented 2 years ago

It might also be useful to annotate tests with some idea of (relative) length so we can do makespan minimization even without timing information from previous builds. Even if it's just a :slow flag.