<div dir="ltr">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 provisioner to configure it to your needs.<div>
<br></div><div>You configure the settings of the VM (networking, cpu&#39;s, shared filesystem) through the Vagrantfile script. Unfortunately there are some incompatibilities between the scripts of Vagrant 1.0 and 1.2, and I haven&#39;t made the GHCJS scripts backwards compatible with 1.0 yet (Ubuntu 12.04 comes with vagrant 1.0 in the repositories, so it would be nice to support that out of the box, instead of requiring users to download an updated .deb package)<br>
</div><div><br></div><div>A user only has to run `vagrant up&#39; in the directory containing the Vagrantfile. `vagrant provision` reruns the installation script, and `vagrant destroy&#39; removes the VM.  `vagrant ssh` (from this directory) logs into the vm without a password.<br>
<div><br></div></div><div>luite</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 21, 2013 at 4:55 PM, Ryan Newton <span dir="ltr">&lt;<a href="mailto:rrnewton@gmail.com" target="_blank">rrnewton@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Luite,<div><br></div><div>Neat!  That sounds perfect.  If it can build/install the compiler, then it&#39;s also ready to go for validation of patches.</div>
<div><br></div><div>I&#39;ve never used vagrant myself but I&#39;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 on my website?</div><span class="HOEnZb"><font color="#888888">

<div><br></div><div>  -Ryan</div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 21, 2013 at 10:51 AM, Luite Stegeman <span dir="ltr">&lt;<a href="mailto:stegeman@gmail.com" target="_blank">stegeman@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">We&#39;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 results.<div>



<br></div><div>I&#39;d be happy to help setting this up for GHC</div><div><br></div><div><a href="https://github.com/ghcjs/ghcjs-build" target="_blank">https://github.com/ghcjs/ghcjs-build</a><br></div></div><div class="gmail_extra">


<br>
<br><div class="gmail_quote"><div><div>On Wed, Aug 21, 2013 at 4:44 PM, Ryan Newton <span dir="ltr">&lt;<a href="mailto:rrnewton@gmail.com" target="_blank">rrnewton@gmail.com</a>&gt;</span> wrote:<br></div></div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr"><div>Hi all, </div><div><br></div><div>Returning to the topic discussed by Simon M. and others here:</div><div><br></div><div>   <a href="http://projects.haskell.org/pipermail/haskell-platform/2009-July/000572.html" target="_blank">http://projects.haskell.org/pipermail/haskell-platform/2009-July/000572.html</a></div>





<div><br></div><div>This is my attempt at a script for bootstrapping a GHC-validating VM:</div><div><br></div>   <a href="http://parfunk.blogspot.com/2013/08/zero-to-ghc-development-in-ubuntu-vm-in.html" target="_blank">http://parfunk.blogspot.com/2013/08/zero-to-ghc-development-in-ubuntu-vm-in.html</a><br>





<div><br></div><div>Let me know if there&#39;s a better way, or if you&#39;d like to help get this kind of thing into an even more accessible form (Amazon AMI, Chef recipe, etc).</div><div><br></div><div>Cheers,</div><div>





  -Ryan</div><div><br></div><div><br></div></div>
<br></div></div>_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>