userconfig.sh 540 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#!/bin/bash

vagranthome=${PWD}
ca_dir="${vagranthomw}/advanced_computer_architecture"

mkdir -p advanced_computer_architecture
cd  
if [ ! -d gem5 ]; then
 hg clone http://repo.gem5.org/gem5
fi

cd gem5
hg pull 
#scons build/ARM/gem5.debug
scons build/ARM/gem5.opt
#scons build/X86/gem5.debug
#scons build/X86/gem5.opt

cd $ca_dir
sudo wget http://www.gem5.org/dist/current/arm/aarch-system-2014-10.tar.xz
tar xvJf aarch-system-2014-10.tar.xz

cd $vagranthome
cp -r /vagrant/local_config/ssh ~/.ssh
/vagrant/local_config/local_bootstrap.sh