Commit cb3a4cb0 authored by Christoph Gerum's avatar Christoph Gerum

Initial vm config

parents
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 4
end
config.vm.provision :shell, path: "bootstrap.sh"
end
#!/usr/bin/env bash
apt-get update
apt-get upgrade -y
apt-get install build-essential -y
apt-get install scons -y
apt-get install clang -y
apt-get install python-dev -y
apt-get install swig -y
apt-get install m4 -y
apt-get install libprotobuf-dev -y
apt-get install zlib1g-dev -y
apt-get install mercurial -y
apt-get install htop -y
apt-get install libgoogle-perftools-dev -y
apt-get install protobuf-compiler -y
echo ${PWD}
sudo -u vagrant mkdir -p advanced_computer_architecture
cd advanced_computer_architecture
if [ ! -d gem5 ]; then
sudo -u vagrant hg clone http://repo.gem5.org/gem5
fi
cd gem5
sudo -u vagrant hg pull
sudo -u vagrant scons build/ALPHA/gem5.debug
sudo -u vagrant scons build/ALPHA/tests/debug
#scons build/ALPHA/gem5.opt
#scons build/ALPHA/tests/opt
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment