Open mpickering opened 3 months ago
Bumped into this in the CI for haskell-ci with ghc-9.12 alpha1: https://github.com/andreasabel/haskell-ci/actions/runs/11434726576/job/31808789430#step:26:35
[ 0.00002] ghc.info: /github/home/.ghcup/ghc/9.12.20241014/bin/ghc [ 0.00058] process.0.start: cwd=/tmp /github/home/.ghcup/ghc/9.12.20241014/bin/ghc --info [ 0.03486] peu.die: ghc-9.12.20241014- is not prefix of Project Unit Id: ghc-9.12-9c22
The current logic says
If we look at
ghc --info
for a development build of GHC then we see..but the version is reported as
So the call to
stripPrefix
will fail and no ABI tag will be used because theProject Unit Id
is not prefixed byghc-9.11.20240612
.Perhaps a more robust but confusing tactic is to hash the contents of
Project Unit Id
rather than attempting to parse it.