<div dir="ltr">You don't have to build it yourself, there's a `cabal-head` release on github where you can download it or use:<div><br></div><div>ghcup install cabal --force -u <a href="https://github.com/haskell/cabal/releases/download/cabal-head/cabal-head-Linux-x86_64.tar.gz">https://github.com/haskell/cabal/releases/download/cabal-head/cabal-head-Linux-x86_64.tar.gz</a> head<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 2, 2024 at 5:33 PM Andrew Lelechenko <<a href="mailto:andrew.lelechenko@gmail.com">andrew.lelechenko@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I’ve been using semaphore concurrency builds since GHC 9.8 was released. Works like a charm, very nice, but yes, one has to build cabal-install HEAD or wait until cabal-3.12 is out (which is soon AFAIU).<br>
<br>
Best regards,<br>
Andrew<br>
<br>
<br>
> On 2 Apr 2024, at 16:18, Brandon Allbery <<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>> wrote:<br>
> <br>
> It's only in HEAD at present and will be in 3.12.<br>
> <br>
> On Tue, Apr 2, 2024 at 8:07 AM Bryan Richter via Haskell-Cafe <<a href="mailto:haskell-cafe@haskell.org" target="_blank">haskell-cafe@haskell.org</a>> wrote:<br>
> BTW the "semaphore" solution mentioned was introduced in this<br>
> proposal: <a href="https://github.com/ghc-proposals/ghc-proposals/pull/540" rel="noreferrer" target="_blank">https://github.com/ghc-proposals/ghc-proposals/pull/540</a><br>
> <br>
> Looks like it may be present in the latest Cabal (3.10) and latest GHC<br>
> (9.8)? I'm curious to know if anyone's using it yet. :)<br>
> <br>
> <br>
> On Tue, 2 Apr 2024 at 14:50, Volker Wysk <<a href="mailto:post@volker-wysk.de" target="_blank">post@volker-wysk.de</a>> wrote:<br>
> ><br>
> > Am Dienstag, dem 02.04.2024 um 16:37 +0500 schrieb Alexey Vagarenko:<br>
> > > Hi,<br>
> > ><br>
> > > There is -j flag for this:<br>
> > > <a href="https://cabal.readthedocs.io/en/3.4/cabal-project.html#cfg-field-jobs" rel="noreferrer" target="_blank">https://cabal.readthedocs.io/en/3.4/cabal-project.html#cfg-field-jobs</a><br>
> ><br>
> > Okay, great. But only whole packages will be compiled in parallel, as<br>
> > Henning has pointed out.<br>
> ><br>
> > Cheers,<br>
> > Volker<br>
> ><br>
> > > On Tue, Apr 2, 2024 at 4:23 PM Volker Wysk <<a href="mailto:post@volker-wysk.de" target="_blank">post@volker-wysk.de</a>> wrote:<br>
> > > > Hi<br>
> > > ><br>
> > > > I've searched the web and the cabal user guide on how to use more<br>
> > > > processor<br>
> > > > cores for compilation via cabal. I couldn't find anything.<br>
> > > ><br>
> > > > It looks like only one processor core can be used with cabal, even<br>
> > > > though<br>
> > > > (I've read on the web) GHC supports parallel compilation.<br>
> > > ><br>
> > > > Cabal compilation times can be a pain. It can't be that you can use only<br>
> > > > one<br>
> > > > processor core with cabal, can it ..?<br>
> > > ><br>
> > > > Cheers,<br>
> > > > Volker<br>
> > > > _______________________________________________<br>
> > > > Haskell-Cafe mailing list<br>
> > > > To (un)subscribe, modify options or view archives go to:<br>
> > > > <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
> > > > Only members subscribed via the mailman list are allowed to post.<br>
> ><br>
> > _______________________________________________<br>
> > Haskell-Cafe mailing list<br>
> > To (un)subscribe, modify options or view archives go to:<br>
> > <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
> > Only members subscribed via the mailman list are allowed to post.<br>
> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> To (un)subscribe, modify options or view archives go to:<br>
> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
> Only members subscribed via the mailman list are allowed to post.<br>
> <br>
> <br>
> -- <br>
> brandon s allbery kf8nh<br>
> <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>
> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> To (un)subscribe, modify options or view archives go to:<br>
> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
> Only members subscribed via the mailman list are allowed to post.<br>
<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>brandon s allbery kf8nh</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a></div></div></div></div></div>