Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
-
b734c75d
by Igor Ranieri at 2026-06-16T20:27:32-04:00
2 changed files:
Changes:
| ... | ... | @@ -33,6 +33,14 @@ $ ./hadrian/build -j --flavour=Quick --freeze1 _build/stage1/bin/haddock |
| 33 | 33 | Currently, this cannot be done with hadrian but has to be done with a
|
| 34 | 34 | `cabal-install` built from `master`.
|
| 35 | 35 | |
| 36 | +First, generate the `.haddock` interface files for GHC's bundled libraries:
|
|
| 37 | + |
|
| 38 | +```
|
|
| 39 | +$ ./hadrian/build -j docs-haddock
|
|
| 40 | +```
|
|
| 41 | + |
|
| 42 | +Then run the tests:
|
|
| 43 | + |
|
| 36 | 44 | ```
|
| 37 | 45 | cabal test -w <absolute-path-to-ghc-repo>/_build/stage1/bin/ghc
|
| 38 | 46 | ```
|
| ... | ... | @@ -16,7 +16,7 @@ library |
| 16 | 16 | default-language: Haskell2010
|
| 17 | 17 | ghc-options: -Wall
|
| 18 | 18 | hs-source-dirs: src
|
| 19 | - build-depends: base >= 4.3 && < 4.24, bytestring, directory, process, filepath, Cabal
|
|
| 19 | + build-depends: base >= 4.3 && < 4.24, bytestring, directory, process, filepath, Cabal, containers
|
|
| 20 | 20 | |
| 21 | 21 | exposed-modules:
|
| 22 | 22 | Test.Haddock
|