
#9832: Get rid of PERL dependency of `ghc-split` -------------------------------------+------------------------------------- Reporter: hvr | Owner: Phyx- Type: task | Status: new Priority: high | Milestone: 7.12.1 Component: Driver | Version: Resolution: | Keywords: perl Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by thoughtpolice): The goal wasn't to reduce binary size, it was to make it possible to not track `ghc-tarballs` as a git repository, because it's a useless git repository that we only need for MinGW during GHC's build, and updating it is painful and using it on Windows sucks. See here: https://phabricator.haskell.org/D339 - This patch actually completely removes the need for `ghc-tarballs` on Windows and instead lets Windows users download an appropriate binary package that is simply untarred into the root (IIRC). It also means it is far, far easier to test and update compilers that are required on Windows. The problem here is that it turns out we were relying on the MinGW tools to also have perl, so we could run `ghc-split` during the build process, because the libraries need it. Rewriting it in Haskell means we can drop `ghc-tarballs` which includes the whole of MinGW for just some builds of binutils, which is not only smaller, it's saner. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9832#comment:15 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler