HORIZON HASKELLDocslts/ghc-10.0.x04404a62026-10-19Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 04404a6 · 2026-10-19

ModuleCabal-3.18.1.0Haskell2010

Distribution.Types.ParStrat

Synopsis
  • PackageCabal-3.18.1.0
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceParStrat.hs
datadata ParStratX sem

How to control parallelism, e.g. a fixed number of jobs or by using a system semaphore.

Constructors

  • NumJobs (Maybe Int)

    Compile in parallel with the given number of jobs (`-jN` or `-j`).

  • UseSem sem

    `--semaphore`: use a system semaphore to control parallelism.

  • Serial

    No parallelism (neither `-jN` nor `--semaphore`, but could be `-j1`).

Instances2Show, NFData