14 Commits

Author SHA1 Message Date
Jakub Jirutka
ad037349e2 testing/ghc: improve and fix abuild 2017-04-11 00:05:02 +02:00
Jakub Jirutka
1bc6e9463b testing/ghc: rearrange variables into conventional order 2017-04-11 00:05:02 +02:00
Mitch Tishmack
9626840202 testing/ghc: Add libffi-dev to depends
While not strictly necessary generally, when passing in linker args to ghc
to compile the c rts invokes some ffi calls that the shared library
alone doesn't suffice.
2017-03-21 21:02:16 +01:00
Mitch Tishmack
94a32e51cf testing/ghc: Add testsuite
Note, while the other testsuites run fine, they're very long running.

fast ~ 10 min
normal ~45 min
long ~over an hour

This is on a skylake i7, so results may vary. So for now only run the
fast test suite.
2017-03-11 01:41:35 +01:00
William Pitcock
542c18c473 Revert "testing/ghc: temporarily disable on armhf since the bootstrap package is not yet available"
This reverts commit 68d29786911e3b4dfec5dd5556e8f3d7422d6d11.
2017-02-28 05:57:55 +00:00
William Pitcock
68d2978691 testing/ghc: temporarily disable on armhf since the bootstrap package is not yet available 2017-02-27 21:03:09 +00:00
Timo Teräs
780c767c07 testing/ghc: more fixes to cross-build 2017-02-27 15:09:18 +00:00
Timo Teräs
02d8953418 testing/ghc: fix ld.gold double dependency and configure for arm 2017-02-27 09:40:22 +00:00
Timo Teräs
ab0b96cccd testing/ghc: set --build and --host too 2017-02-27 09:34:57 +00:00
Timo Teräs
2e7a904612 testing/ghc: support cross-building 2017-02-27 09:19:05 +00:00
Mitch Tishmack
f18fdcb41e testing/ghc: Split ghc into ghc and ghc-dev, add post-install script
While here ensure that strip --strip-unneeded is called on all
shared libraries and static archives. This reduces the overall
install sizes a skosh.

The larger win here, is stripping out the profiled debugging libraries
from the default ghc package. If someone wanted to debug now
they will need to install ghc-dev to get that RTS and debug libraries.

Realistically this only affects those users that are building
packages that need to debug. As well as future enhancements
to the ghc/haskell which will build packages with profiled libraries
as well. But this compromise for the overall install size
is preferable to users installing libraries they likely won't
need/use and overal bandwidth that consumes.

Since we install via make install DESTDIR=... we need to regenerate the
ghc pkg db at post install time.

[TT: flatten commits]
2017-02-21 13:50:32 +00:00
Mitch Tishmack
8400dc7b51 testing/ghc: new aport
The Glasgow Haskell Compiler
http://haskell.org

[TT: Add madvise patch, remove redundant depends,
add provides for ghc-bootstrap]
2017-02-13 13:39:04 +00:00
Timo Teräs
522d43089a Revert "testing/ghc: new aport"
This reverts commit cf0b33112cd566332be4376233f1c297f03255e7.
2017-02-10 11:54:29 +00:00
Mitch Tishmack
cf0b33112c testing/ghc: new aport 2017-02-10 08:54:36 +00:00