Re: Cabal: Can only one processor core be used?
| Newsgroups | gmane.comp.lang.haskell.cafe |
|---|---|
| Message-ID | <OSkEkY-s8e5iF3FyOX-bfNOyXzm9C8MsIB7CbxMMiNPC7LXAvKmyq38bU5iwfFn9wd3yiuTtW_GT19nle6cwfWzDYVvei-v00I7MP6Retu8=@coot.me> |
Let's also mention that there's work to have a single semaphore which governs the concurrency in a better way which allows the tooling to dynamically decide how many cores to use for compiling a package when multiple of them are being compiled. Regards, Marcin Sent with Proton Mail secure email. On Tuesday, 2 April 2024 at 13:37, Alexey Vagarenko <[email protected]> wrote: > Hi, > > There is -j flag for this: https://cabal.readthedocs.io/en/3.4/cabal-project.html#cfg-field-jobs > > 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.
signature.asc
(application/pgp-signature, 509 B)
-----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAnBYJmC/AdCZC8293x+6dl/xYhBKBGAxvtNbO6aLwZq7zb3fH7 p2X/AADfbQgAtiNt9kG3YonVp6KnjZIM4k/+o9qI+SeGU08hjAaF0IQTZQuM iw33wOYUIGR06ZIfff8Q9QfXXbpHa14Hi+dDpol8o+cTZ+CYostX84Ebt+/J gnD0g/FB+5u9jCqPgAuYwK5wkagQusvutZJJaWcE4Dquc4z9vjHRj4fxjnIy IDD9N2MtV45GKuEB2Ul1zOdnPmWbOF4UUOEan+HrP7693lq2fG+Y5NlChV93 Zhdt+8202ABjtOtRUov1qqdI88LMVVB6Vx9rd4IUELfoVlnTLv9NorVvjYPl POqcbFTIhiwe5wNMCTOABYlx0ldr2rZPU2e6QVnlZ0icZLSdMKwBuw== =7N4D -----END PGP SIGNATURE-----