engine
Builds QuickCheckVEngine (QCVEngine) from its vendored source. Used by TestRIG.
| Depends on | Nothing |
| Input | engine.source, such as hw/vendor/dv/qcvengine |
| Staging | Copies the source tree to engine/src/ |
| Command | cabal install --offline --install-method=copy --overwrite-policy=always --installdir=engine/bin --jobs=<threads>, run in engine/src/ |
| Needs | cabal, ghc |
| Output | engine/bin/QCVEngine |
| Key tools | cabal and ghc, each by the version its --numeric-version prints |
| Passes when | cabal 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.