Skip to content

Commit fc3bb50

Browse files
committed
Tighten and reorder text
1 parent 1fea03d commit fc3bb50

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

doc/setup-commands.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,24 +1089,24 @@ This command takes the following options:
10891089

10901090
:since: 3.12.0.0
10911091

1092+
This option causes Cabal to control parallelism by using the specified
1093+
semaphore.
1094+
10921095
GHC 9.8.1 and later can act as a jobserver client, which enables two or more
10931096
GHC processes running at once to share system resources with each other,
1094-
communicating via a semaphore, as implemented by the
1095-
`semaphore-compat <https://hackage.haskell.org/package/semaphore-compat>`_
1096-
library.
1097-
1098-
The expected usage is that a jobserver (the build system controlling the build,
1099-
e.g. ``cabal-install``, ``stack``, ``nix``, ``buck2``...) creates or obtains a semaphore using ``semaphore-compat``,
1100-
passing down the semaphore to jobclients in order to control the total
1101-
amount of parallelism. This is done by passing the corresponding semaphore identifier to ``Cabal`` via the ``--semaphore`` flag.
1102-
1103-
Refer to `semaphore-compat <https://hackage.haskell.org/package/semaphore-compat>`_
1104-
for more details.
1097+
communicating via a semaphore.
11051098

1106-
This option causes Cabal to control parallelism by using the specified
1107-
system semaphore.
1099+
The expected use is that the system controlling the build (e.g.
1100+
``cabal-install``, ``stack``, ``nix`` or ``buck2``) (a jobserver) creates or
1101+
obtains a semaphore using the ``semaphore-compat`` library. It then passes
1102+
the semaphore to jobserver clients in order to control the amount of
1103+
parallelism. This is done by passing the corresponding semaphore identifier
1104+
to Cabal via the ``--semaphore`` option.
1105+
1106+
For more information, see
1107+
`semaphore-compat <https://hackage.haskell.org/package/semaphore-compat>`_.
11081108

1109-
.. _setup-haddock:
1109+
.. _setup-haddock:
11101110

11111111
runhaskell Setup.hs haddock
11121112
---------------------------

0 commit comments

Comments
 (0)