[Git][ghc/ghc][wip/andreask/bindist_liblib] Remove ad-hoc installation of mingw toolchain in relocatable bindists

Matthew Pickering (@mpickering) gitlab at gitlab.haskell.org
Fri May 17 14:32:52 UTC 2024



Matthew Pickering pushed to branch wip/andreask/bindist_liblib at Glasgow Haskell Compiler / GHC


Commits:
13f84ca4 by Matthew Pickering at 2024-05-17T15:30:57+01:00
Remove ad-hoc installation of mingw toolchain in relocatable bindists

This reverts 616ac30026e8dd7d2ebb98d92dde071eedf5d951

The choice about whether to install mingw is taken in the installation
makefile.

This is also broken on non-windows systems.

- - - - -


1 changed file:

- hadrian/src/Rules/BinaryDist.hs


Changes:

=====================================
hadrian/src/Rules/BinaryDist.hs
=====================================
@@ -135,8 +135,6 @@ bindistRules = do
         let ghcVersionPretty = "ghc-" ++ version ++ "-" ++ targetPlatform
         let prefix = cwd -/- root -/- "reloc-bindist" -/- ghcVersionPretty
         installTo Relocatable prefix
-        copyDirectory (root -/- "mingw") prefix
-        liftIO $ IO.removeDirectoryRecursive (prefix -/- "lib" -/- "mingw")
 
     phony "install" $ do
         need ["binary-dist-dir"]



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/13f84ca4ce22701c274a175bc13b2cdba4e2303c

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/13f84ca4ce22701c274a175bc13b2cdba4e2303c
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240517/bfc6cbe2/attachment.html>


More information about the ghc-commits mailing list