Re: Reproducible build recipes for GHC development VMs?

2013-08-22 Thread Ryan Newton
Oh, good question. It was Ubuntu 12.04 LTS so I just assumed it would be too old without checking. On Thu, Aug 22, 2013 at 3:38 AM, Simon Marlow wrote: > On 21/08/13 15:44, Ryan Newton wrote: > >> Hi all, >> >> Returning to the topic discussed by Simon M. and others here: >> >> http://project

Re: Reproducible build recipes for GHC development VMs?

2013-08-22 Thread Simon Marlow
On 21/08/13 15:44, Ryan Newton wrote: Hi all, Returning to the topic discussed by Simon M. and others here: http://projects.haskell.org/pipermail/haskell-platform/2009-July/000572.html This is my attempt at a script for bootstrapping a GHC-validating VM: http://parfunk.blogspot.com/2013/08/ze

Re: Reproducible build recipes for GHC development VMs?

2013-08-21 Thread Luite Stegeman
Vagrant is pretty easy to get up and running, with downloadable installers for Windows and OS X (install VirtualBox first), and it can be apt-get installed on ubuntu. Vagrant starts with a base VM image (~300MB I think, hosted on their servers), and lets you run a script or more elaborate provision

Re: Reproducible build recipes for GHC development VMs?

2013-08-21 Thread Ryan Newton
Luite, Neat! That sounds perfect. If it can build/install the compiler, then it's also ready to go for validation of patches. I've never used vagrant myself but I'll give it a try. Is this the absolute easiest thing for people to do? Or should I just put a (sadly multi GB) virtual box image o

Re: Reproducible build recipes for GHC development VMs?

2013-08-21 Thread Austin Seipp
There has been some talk of some similar stuff in the IRC channel. This would for example, be fantastic in combination with Vagrant[1], to immediately provision a machine you can begin working with even on Windows. Then you could have a GHC development environment up in minutes. On a related note

Re: Reproducible build recipes for GHC development VMs?

2013-08-21 Thread Luite Stegeman
We've been using Vagrant and puppet for building GHC HEAD with some patches and GHCJS on 32 and 64 bit ubuntu. This way, rebuilding the whole VM from scratch is just one command (vagrant up), the VM can either copy files to the host, through a shared filesystem, or just use the network to report re

Reproducible build recipes for GHC development VMs?

2013-08-21 Thread Ryan Newton
Hi all, Returning to the topic discussed by Simon M. and others here: http://projects.haskell.org/pipermail/haskell-platform/2009-July/000572.html This is my attempt at a script for bootstrapping a GHC-validating VM: http://parfunk.blogspot.com/2013/08/zero-to-ghc-development-in-ubuntu-vm-in.