Skip to content

PartialDownsweep fails with hadrian-built GHC

The differences look lik

--- "/tmp/ghctest-a8ya0e43/test   spaces/testsuite/tests/ghc-api/downsweep/PartialDownsweep.run/PartialDownsweep.stderr.normalised"	2019-06-03 20:03:29.269217426 +0000
+++ "/tmp/ghctest-a8ya0e43/test   spaces/testsuite/tests/ghc-api/downsweep/PartialDownsweep.run/PartialDownsweep.run.stderr.normalised"	2019-06-03 20:03:29.269217426 +0000
@@ -6,11 +6,11 @@
 B.hs:2:0:
      #elif without #if
      #elif <- cpp error here
-     
+     ^
 == CPP preprocessor error with bypass
 
 B.hs:2:0:
      #elif without #if
      #elif <- cpp error here
-     
+     ^
 == Import error

The command-line when run with a make-built GHC is:

=====> PartialDownsweep(normal) 1 of 1 [0, 0, 0]
cd "ghc-api/downsweep/PartialDownsweep.run" &&  "/mnt/work/ghc/ghc/inplace/bin/ghc-stage2" -o PartialDownsweep PartialDownsweep.hs -dcore-lint -dstg-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output  -package ghc
cd "ghc-api/downsweep/PartialDownsweep.run" && ./PartialDownsweep  "/home/ben/ghc/ghc/inplace/lib"
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information