Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

engine

Builds QuickCheckVEngine (QCVEngine) from its vendored source. Used by TestRIG.

Depends onNothing
Inputengine.source, such as hw/vendor/dv/qcvengine
StagingCopies the source tree to engine/src/
Commandcabal install --offline --install-method=copy --overwrite-policy=always --installdir=engine/bin --jobs=<threads>, run in engine/src/
Needscabal, ghc
Outputengine/bin/QCVEngine
Key toolscabal and ghc, each by the version its --numeric-version prints
Passes whencabal exits 0 and the binary exists

--offline means cabal never fetches. QCVEngine’s Haskell dependencies must come from the dev shell’s GHC package set. They are not a declared input and not a key tool, so a changed dependency with the same GHC version does not cause a rebuild.

To check by hand

The step’s only output is the binary. Its logs and engine/src/ are deleted when it passes, so check it after a run with --debug (see What is left in a step’s directory).

engine/stdout.log should show modules compiling and end with Copying 'QCVEngine' to .... cabal keeps its own store in ~/.cabal or ~/.local/state/cabal, outside the step’s directory, so parts of the build can come from there.