blob: 167559aa531cfa4ef197c02f03dceee7a2da0d29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
ghcs_nix="https://gitlab.haskell.org/bgamari/ghcs-nix/-/archive/master/ghcs-nix-master.tar.gz"
run() {
local ver="$1"
local drv="ghc-$ver"
echo "$ver"
nix build -f "$ghcs_nix" $drv
(cd ../; rm -r dist-newstyle; cabal configure hadrian -w bootstrap/result/bin/ghc)
cp ../dist-newstyle/cache/plan.json "plan-$ver.json"
cabal run -v0 hadrian-bootstrap-gen -- "plan-$ver.json" | tee "plan-bootstrap-$ver.json"
}
run "8_10_1"
# run "8_10_2" Broken
run "8_10_3"
run "8_10_4"
run "8_10_5"
run "9_0_1"
|