-
Notifications
You must be signed in to change notification settings - Fork 37
Minimum Viable Product for tree-tremble #239
Comments
|
@ndmitchell Thanks, I agree. I've amended the list. |
This goes very slowly, but now we've got source distribution rules, #219. |
Posting here as requested on ghc-devs: A really useful feature of the build system today is that I can It is also convenient to tell the build system to target just one specific file (e.g., |
Thanks @goldfirere! Freezing Stage1 is a popular feature and has already been requested -- see #250. We will provide an equivalent in Hadrian. Rebuilding a single file is already possible by specifying its name as the build target, i.e. |
This isn't just about freezing stage 1. It's about re-building just the compiler (no libraries) and skipping the time-consuming dependency analysis. |
@goldfirere I see, thanks. If I understand correctly, the freeze feature should be flexible enough to freeze different sets of build artefacts: whole stages, packages, etc. One simple way to support such custom freezing is via predicates, e.g. having a user setting freeze :: Predicate
freeze = return False -- default setting: freeze nothing
freezeStage1 :: Predicate
freezeStage1 = stage0 -- freeze all artefacts built by the bootstrapping (Stage0) compiler
freezeAllButCompiler :: Predicate
freezeAllButCompiler = not <$> package compiler -- freeze all packages expect compiler These predicates can be composed as explained here: |
|
@simonmar How critical is the ability to specify such settings via the command line? Isn't the ability to select a user build flavour from the command line sufficient? |
Hadrian has been merged, so I think we can close this issue. |
After a Hadrian's-Wall-long discussion in #232, it looks that it will be best to postpone the Great Merge (the
tree-tremble
milestone) until Hadrian meets the Minimum Viable Product requirements.Let us agree on what this MVP is. The current list includes the following (I will keep updating it as we go):
dynamic
way, Fix dynamic way #4. Estimated effort: 1-2 weeks.Please let me know if the above list needs any changes.
The list of current limitations is here: https://github.com/snowleopard/hadrian#current-limitations.
Note, the above effort estimates are based on my abilities and availability. I'm sure other people could do it faster, and if they volunteer to help I will amend the estimates.
Items removed from the list:
The text was updated successfully, but these errors were encountered: