Developing Julia with Vagrant
Vagrant is a system that creates lightweight, self-contained development environments as virtual machines. This directory contains a Vagrantfile which will provision a headless 64-bit Ubuntu 12.04 Precise Pangolin virtual machine on VirtualBox for building Julia.
$ vagrant up
A virtual machine will be downloaded if needed, created, and provisioned with the dependencies to build Julia. By default, it exposes an SSH server to your local machine on port 2222. See the Vagrant documentation for complete details on using Vagrant.
Before attempting to build Julia from the Vagrant machine, you must ensure that submodules have been initialized and are up to date. On the host system, from the top level Julia repository directory, run:
$ git submodule init $ git submodule update
The Julia repository is exposed to the VM using a VirtualBox shared folder as
~/julia. To speed up the build process and handle some limitations of
VirtualBox shared folders, the contents of the julia-dependencies PPA are
downloaded during provisioning. To take advantage of these dependencies, use
jlmake alias in place of
When the build is complete, you can run
~/julia/usr/bin/julia to start Julia.