[Git][ghc/ghc][wip/hc2-test] fix
Matthew Pickering (@mpickering)
gitlab at gitlab.haskell.org
Tue Jan 2 18:18:59 UTC 2024
Matthew Pickering pushed to branch wip/hc2-test at Glasgow Haskell Compiler / GHC
Commits:
ba1e01b9 by GHC GitLab CI at 2024-01-02T18:18:49+00:00
fix
- - - - -
1 changed file:
- hadrian/src/Rules/Test.hs
Changes:
=====================================
hadrian/src/Rules/Test.hs
=====================================
@@ -353,6 +353,8 @@ needTestsuitePackages stg = do
-- Also need wrappers to test a normal cross compiler because the libraries are built with the same compiler we are testing
-- (much in the same way as testing a stage1 compiler)
when (stg == Stage1 && cross) $ do
+ libpkgs <- map (Stage2,) . filter isLibrary <$> allpkgs Stage2
+ need =<< mapM (uncurry pkgFile) libpkgs
-- Windows not supported as the wrapper scripts don't work on windows.. we could
-- support it with a separate .bat or C wrapper code path but seems overkill when no-one will
-- probably ever try and do this.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ba1e01b92c42c6c6952d3b3b52f6733a72846e33
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ba1e01b92c42c6c6952d3b3b52f6733a72846e33
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/20240102/5dcb3d1a/attachment.html>
More information about the ghc-commits
mailing list