<div dir="auto">There’s hackage head, which has some docs on the gitlab instance. Though I’m not up to date on how to use it. </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 29, 2021 at 4:24 AM Simon Peyton Jones via ghc-devs <<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="m_-2881181459356407490WordSection1">
<p class="MsoNormal">Ben and other friends<u></u><u></u></p>
<p class="MsoNormal">What is the approved way to build libraries with (and for) a compiler that I’ve just built?<u></u><u></u></p>
<p class="MsoNormal">I tried this:<u></u><u></u></p>
<p class="m_-2881181459356407490Code">bash$ cabal v2-install --with-ghc=/home/simonpj/code/ghc-9.2-branch/inplace/bin/ghc-stage2 streamly --allow-newer<u></u><u></u></p>
<p class="MsoNormal">but it failed with<u></u><u></u></p>
<p class="m_-2881181459356407490Code">Data/Primitive/Types.hs:273:844: error:<u></u><u></u></p>
<p class="m_-2881181459356407490Code"> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’<u></u><u></u></p>
<p class="m_-2881181459356407490Code"> • In the fourth argument of ‘shimmedSetWord8Array#’, namely ‘x#’<u></u><u></u></p>
<p class="MsoNormal">(This was for a compiler built from the ghc-9.2 branch.)<u></u><u></u></p>
<p class="MsoNormal">I’d like to be able to do the same for HEAD.<u></u><u></u></p>
<p class="MsoNormal">I need to do this to help with the numerous tickets asking about library regressions. For example, I want to be able repoduce
<a href="https://gitlab.haskell.org/ghc/ghc/-/issues/19557#note_348969" target="_blank">@harendra’s example</a>, but I can’t because I can’t build streamly.<u></u><u></u></p>
<p class="MsoNormal">Thanks!<u></u><u></u></p>
<p class="MsoNormal">Simon<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div></div>