Alp
You’ve written a helpful wiki page describing how to use Hadrian
https://gitlab.haskell.org/ghc/ghc/blob/master/hadrian/doc/make.md
Could you document where build-products live? I often look at .hi files.
Could you add
GhcStage1HcOpts += -DDEBUG -O
GhcStage2HcOpts += -Wwarn -ticky
GhcLibHcOpts += -ticky -Wwarn
BUILD_PROF_LIBS = NO
SplitObjs = YES
HADDOCK_DOCS = NO
BUILD_SPHINX_HTML = NO
BUILD_SPHINX_PDF = NO
$ cd compiler; make 1
$ cd compiler; make 2
Perhaps you say build –freeze1?
$ make stage=1 TEST=T2543
$ make stage=1 EXTRA_HC_OPTS=”-ticky -ddump-simpl -ddump-stg”
Thanks!
Simon