Commit 0930719f authored by michael's avatar michael

userconfig fix

parent 67d1a6ba
#!/bin/bash #!/bin/bash
vagranthome=${PWD} ca_dir="${HOME}/advanced_computer_architecture"
mkdir -p advanced_computer_architecture mkdir -p advanced_computer_architecture
cd $HOME
if [ ! -d gem5 ]; then if [ ! -d gem5 ]; then
hg clone hg clone
fi fi
cd gem5 cd gem5
hg pull hg pull
#scons build/ARM/gem5.debug #scons build/ARM/gem5.debug
scons build/ARM/gem5.opt scons build/ARM/gem5.opt
#scons build/X86/gem5.debug #scons build/X86/gem5.debug
#scons build/X86/gem5.opt #scons build/X86/gem5.opt
cd $ca_dir cd $ca_dir
sudo wget mkdir system
cd system
tar xvJf aarch-system-2014-10.tar.xz tar xvJf aarch-system-2014-10.tar.xz
cd $vagranthome if [ $? == 0 ]; then
cp -r /vagrant/local_config/ssh ~/.ssh rm aarch-system-2014-10.tar.xz
/vagrant/local_config/ fi
\ No newline at end of file
echo 'export M5_PATH="${ca_dir}/system"' >> .bashrc
cd $HOME
cp -r /vagrant/local_config/ssh/* ~/.ssh
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