HORIZON HASKELLDocslts/ghc-9.14.xb9228482026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · b922848 · 2026-10-12

ModuleCabal-3.16.0.0Haskell2010

Distribution.Types.ParStrat

Synopsis
  • PackageCabal-3.16.0.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`).

Instances1Show
  • Show sem => Show (ParStratX sem)Defined in Cabal-3.16.0.0 · Distribution.Types.ParStrat