Commit 848f1542 authored by Christoph Gerum's avatar Christoph Gerum

fixed provisioning

parent 0b91a256
*.o *.o
*~ *~
local_config
\ No newline at end of file
# VM for computer Architecture
## Install Vagrant
Install vagrant from https://www.vagrantup.com/
## Setup Connection to gitlab
./init_local_config.sh
Then upload local_config/ssh/id_rsa.pub to gitlab ssh keys.
## Provisioning
vagrant up
vagrant ssh
\ No newline at end of file
...@@ -2,7 +2,7 @@ Vagrant.configure("2") do |config| ...@@ -2,7 +2,7 @@ Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64" config.vm.box = "ubuntu/trusty64"
config.vm.provider "virtualbox" do |v| config.vm.provider "virtualbox" do |v|
v.memory = 2048 v.memory = 4096
v.cpus = 4 v.cpus = 4
end end
......
...@@ -14,20 +14,11 @@ apt-get install mercurial -y ...@@ -14,20 +14,11 @@ apt-get install mercurial -y
apt-get install htop -y apt-get install htop -y
apt-get install libgoogle-perftools-dev -y apt-get install libgoogle-perftools-dev -y
apt-get install protobuf-compiler -y apt-get install protobuf-compiler -y
apt-get install gcc-arm-linux-gnueabihf -y
apt-get install ipython -y
apt-get install python-pandas python-matplotlib -y
echo ${PWD} echo ${PWD}
sudo -u vagrant mkdir -p advanced_computer_architecture sudo -u vagrant /vagrant/userconfig.sh
cd advanced_computer_architecture \necho "Setting local configuration"
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