Re: Cabal: Can only one processor core be used?
Bryan Richter via Haskell-Cafe <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cafe |
|---|---|
| Message-ID | <CACUTo6xqL9me__cVQDx4cDfKfuerL3KbRBMPU-m8pxMcsqxfxQ@mail.gmail.com> |
BTW the "semaphore" solution mentioned was introduced in this proposal: https://github.com/ghc-proposals/ghc-proposals/pull/540 Looks like it may be present in the latest Cabal (3.10) and latest GHC (9.8)? I'm curious to know if anyone's using it yet. :) On Tue, 2 Apr 2024 at 14:50, Volker Wysk <[email protected]> wrote: > > Am Dienstag, dem 02.04.2024 um 16:37 +0500 schrieb Alexey Vagarenko: > > Hi, > > > > There is -j flag for this: > > https://cabal.readthedocs.io/en/3.4/cabal-project.html#cfg-field-jobs > > Okay, great. But only whole packages will be compiled in parallel, as > Henning has pointed out. > > Cheers, > Volker > > > On Tue, Apr 2, 2024 at 4:23 PM Volker Wysk <[email protected]> wrote: > > > Hi > > > > > > I've searched the web and the cabal user guide on how to use more > > > processor > > > cores for compilation via cabal. I couldn't find anything. > > > > > > It looks like only one processor core can be used with cabal, even > > > though > > > (I've read on the web) GHC supports parallel compilation. > > > > > > Cabal compilation times can be a pain. It can't be that you can use only > > > one > > > processor core with cabal, can it ..? > > > > > > Cheers, > > > Volker > > > _______________________________________________ > > > Haskell-Cafe mailing list > > > To (un)subscribe, modify options or view archives go to: > > > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe > > > Only members subscribed via the mailman list are allowed to post. > > _______________________________________________ > Haskell-Cafe mailing list > To (un)subscribe, modify options or view archives go to: > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe > Only members subscribed via the mailman list are allowed to post. _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.