Saturday, September 05, 2020

ghc 8.10.2 won't build haddock on i386

Looks like we can't easily generate haddock on i386 with ghc 8.10.2. It
simply wants more RAM than the platform permits. The highest ulimit -d
is 3145728. Even then I get:

haddock: out of memory (requested 1048576 bytes)
gmake[1]: *** [compiler/ghc.mk:310: compiler/stage2/doc/html/ghc/ghc.haddock] Error 251

Should I split the port into multi-package and limit -haddock to amd64?

Maybe we can forgo haddock generation entirely? We package up 3500+
files that I doubt anybody ever uses.

Thanks
Greg

No comments:

Post a Comment