Skip to content

Hadrian cannot test stage1 compiler

Clone GHC master and then run

./hadrian/build.sh test --test-compiler=stage1 --configure

I would expect this to build the stage 1 compiler and then start running the test suite. Instead, it fails with:

Error when running Shake build system:
  at want, called at src/Main.hs:89:30 in main:Main
* Depends on: test
  at need, called at src/Rules/Test.hs:170:9 in main:Rules.Test
* Depends on: _build/stage0/bin/check-ppr
  at error, called at src/Rules/Program.hs:42:29 in main:Rules.Program
* Raised the exception:
Unknown program "_build/stage0/bin/check-ppr"
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information