File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ set -x -e
2+
3+ # ###########
4+ # setup
5+ # ###########
6+
7+ cabal update
8+ cabal install --overwrite-policy=always alex-3.2.6 happy-1.20.0 zip-cmd-1.0.1
9+
10+ # ###########
11+ # checkout GHC source and build
12+ # ###########
13+
14+ mkdir foundation-pak-ghc-9.2.7-wpc
15+ cd foundation-pak-ghc-9.2.7-wpc
16+
17+ git clone https://github.com/grin-compiler/ghc-wpc.git
18+
19+ cd ghc-wpc
20+
21+ git checkout ghc-9.2-wpc-design2
22+
23+ git submodule update --init --recursive
24+
25+ ./boot
26+ ./configure
27+
28+ ./hadrian/build-stack foundation-pak -j
29+
30+ ./hadrian/build-stack binary-dist-xz -j
31+
32+ # ###########
33+ # output foundation pak and ghc-9.2.7-wpc bindist
34+ # ###########
35+
36+ ls -lah _build/foundation-pak/* .zip
37+ ls -lah _build/bindist/* .xz
You can’t perform that action at this time.
0 commit comments