Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

haskell-xenial #2195

Open
wants to merge 3 commits into
base: master
from

Conversation

Projects
None yet
3 participants
@e1528532
Copy link
Contributor

e1528532 commented Aug 18, 2018

Basics

add ghc to our xenial docker image to test on ubuntu as there seem to be complications on xenial #2180

Checklist

  • I added unit tests
  • I ran all tests locally and everything went fine
  • affected documentation is fixed
  • I added code comments, logging, and assertions (see doc/CODING.md)
  • meta data is updated (e.g. README.md of plugins)

Review

@e1528532 e1528532 force-pushed the e1528532:haskell-xenial branch 3 times, most recently from 10f1a77 to 93241c0 Aug 18, 2018

@@ -56,4 +58,21 @@ RUN useradd \
--shell "/bin/bash" \
jenkins

# Handle Haskell dependencies
# We use ghc8.2.2 from the haskell platform website here, as xenial only provides ghc7
RUN wget https://haskell.org/platform/download/8.2.2/haskell-platform-8.2.2-unknown-posix--core-x86_64.tar.gz \

This comment has been minimized.

@sanssecours

sanssecours Aug 19, 2018

Member

I assume building Haskell from source will take quite some time. Would it maybe make sense to use the personal package archive (PPA) for GHC of Herbert V. Riedel instead? Since the official Haskell homepage als mentions this PPA, I guess the support for this third party repo should be quite good.

This comment has been minimized.

@markus2330

markus2330 Aug 19, 2018

Contributor

Do we already know what @Piankero did?

This comment has been minimized.

@e1528532

e1528532 Aug 20, 2018

Author Contributor

this is the dockerfile so it will be only built once, imo that shouldn't make a big difference. also building that locally didn't take that long, it only builds some libraries and not ghc as a whole.
This branch should mostly show whether its possible on xenial in general and doesn't directly resemble what piankero did no. it can be seen as some kind of tutorial i guess how to install it on xenial.

@e1528532

This comment has been minimized.

Copy link
Contributor Author

e1528532 commented Aug 21, 2018

interesting. It compiled successfully (@Piankero i hope this helps you in getting it running), but has a test error in the regex dispatcher tests, will investigate. As the remaining haskell tests work it seems to be specific to that setup, maybe due to old c2hs/alex/happy versions?

@markus2330

This comment has been minimized.

Copy link
Contributor

markus2330 commented Aug 21, 2018

Thank you for looking into this! It seems like compatibility between Haskell libraries is really quite neglected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.