-
Notifications
You must be signed in to change notification settings - Fork 37
hadrian/build.sh clean
continues building Hadrian, instead of cleaning stuff up
#249
Comments
A related issue: at the moment we are not cleaning the Hadrian executable (it cannot delete itself). Once the move of all build results to |
Is the goal of this to avoid compiling Hadrian itself? If so, I disagree - having the first clean take 1 min to compile Hadrian is no big deal, but having two sources of information or duplicating command line parsing is inadvisable. |
yes
it was a small annoyance to me Priority lowest. |
Just to record here that there may be more complexity to
(From this reddit thread: https://www.reddit.com/r/haskell/comments/4isua9/ghc_development_outsidein/. The emphasis is mine.) Cleaning only specific stages or only specific package(s) may be useful and easy implement in Hadrian, but I think it would be next to impossible to support this from within a script. A script for cleaning everything (just by deleting |
@snowleopard I guess this is a wontfix? |
@izgzhen Let's keep this open for now. I've marked it low priority. Perhaps this will become more important when we have more Hadrian users. |
A lot of this should be significantly easier with the new build-dir structure though, right? |
Yes, clean up is pretty easy now. A special script even feels superfluous, since it's going to be just something like |
Right. Except for those files created by |
True, we need to keep track of files produced by |
If you really want to take care of boot and configure, I think the best option is to just invoke Maybe the question "What does one want to achieve with that clean step?" needs to be answered first. |
Yeah, it should be answered first, because |
I believe this issue is out of date, so closing. |
make clean
orhadrian/build.sh clean
should preferably finish in a few seconds.Scenario: a user has second-thoughts about starting their Hadrian-powered ghc build, or wants to still tweak some settings and start over.
The
clean
target should perhaps be implemented in a script.The text was updated successfully, but these errors were encountered: