Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GHC's -jsem <sem> initiative #6131

Open
mpilgrem opened this issue May 28, 2023 · 0 comments
Open

Support GHC's -jsem <sem> initiative #6131

mpilgrem opened this issue May 28, 2023 · 0 comments

Comments

@mpilgrem
Copy link
Member

The motivation for this issue is the GHC proposal (accepted on 2023-03-22) "jsem: parallelism semaphores for GHC". See:

The GHC proposal anticipates that the required changes to Stack would be 'small and non-invasive'.

Currently:

  • Stack does make use of GHC's existing -j[<n>] flag (except, possibly, in Stack.Setup.buildGhcFromSource).
  • Stack's jobs configuration option is passed to Control.Concurrent.Execute.runActions, which uses it (as threads) in the action replicateConcurrently_ threads $ runActions' es
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant