Simon Marlow pushed to branch wip/simonmar/ghc-pkg-always-use-cache at Glasgow Haskell Compiler / GHC
Commits:
-
845e9d23
by Simon Marlow at 2026-11-05T10:38:37+00:00
1 changed file:
Changes:
| 1 | +section: ghc-pkg
|
|
| 2 | +synopsis: Add --always-use-cache flag
|
|
| 3 | +mrs: !16941
|
|
| 4 | + |
|
| 5 | +description: {
|
|
| 6 | +Added a flag `--always-use-cache` to `ghc-pkg`, which forces use of
|
|
| 7 | +`package.cache` regardless of its timestamp. This is intended for use
|
|
| 8 | +in scenarios where timestamps are unreliable but the user has reason
|
|
| 9 | +to trust the validity of the cache, for example the Buck2 build system
|
|
| 10 | +doesn't guarantee to maintain timestamps on build artifacts.
|
|
| 11 | +} |