docker GHC image for hacking
Manuel M T Chakravarty
chak at cse.unsw.edu.au
Wed Dec 10 00:07:27 UTC 2014
Sean,
That’s an interesting approach. Now, if I could only convince Xcode to use Docker in that way…
Manuel
> Sean Seefried <sean.seefried at gmail.com>:
>
> I came to a similar conclusion. I recently put together a Dockerfile that builds GHC 7.8.3 as an ARM cross compiler
>
> https://github.com/sseefried/docker-build-ghc-android <https://github.com/sseefried/docker-build-ghc-android>
>
> I've also written a draft blog post about it. It might contain some inaccuracies but any feedback is welcome. (Please send to my email address.)
>
> http://lambdalog.seanseefried.com/drafts/docker-build-scripts.html <http://lambdalog.seanseefried.com/drafts/docker-build-scripts.html>
>
> Sean
>
> On 9 December 2014 at 11:35, Greg Weber <greg at gregweber.info <mailto:greg at gregweber.info>> wrote:
> Friends,
>
> As someone who started hacking on GHC last month I wanted to tell you that there is to high an overhead to getting started and overall to contributing to GHC.
>
> One thing that can help is to make getting to the point of compiling GHC a much faster experience rather than starting off by dreading the process of installing dependencies. I created a docker image that has everything needed pre-installed. I do know that there are existing docker images for running the GHC compiler, but I am not aware of any designed for hacking on it.
>
> Please give it a try and let me know if it works for you. The beauty is that once you have GHC checked out, if you have docker installed you are a single command away from having a working GHC environment:
>
> docker run --rm -i -t -v `pwd`:/home/ghc gregweber/ghc-haskell-dev /bin/bash
>
> Once getting some feedback, I would like to document this on the wiki and recommend it for Linux users (definitely for anyone that is familiar with docker).
>
>
> Thank you,
> Greg Weber
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org <mailto:ghc-devs at haskell.org>
> http://www.haskell.org/mailman/listinfo/ghc-devs <http://www.haskell.org/mailman/listinfo/ghc-devs>
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141210/7ed0c338/attachment.html>
More information about the ghc-devs
mailing list