Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
advanced_computer_architecture
vagrant
Commits
848f1542
Commit
848f1542
authored
Jan 21, 2016
by
Christoph Gerum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed provisioning
parent
0b91a256
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
15 deletions
+26
-15
.gitignore
.gitignore
+1
-0
README.md
README.md
+19
-0
Vagrantfile
Vagrantfile
+1
-1
bootstrap.sh
bootstrap.sh
+5
-14
No files found.
.gitignore
View file @
848f1542
*.o
*~
local_config
\ No newline at end of file
README.md
0 → 100644
View file @
848f1542
# 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
Vagrantfile
View file @
848f1542
...
...
@@ -2,7 +2,7 @@ Vagrant.configure("2") do |config|
config
.
vm
.
box
=
"ubuntu/trusty64"
config
.
vm
.
provider
"virtualbox"
do
|
v
|
v
.
memory
=
2048
v
.
memory
=
4096
v
.
cpus
=
4
end
...
...
bootstrap.sh
100644 → 100755
View file @
848f1542
...
...
@@ -14,20 +14,11 @@ apt-get install mercurial -y
apt-get
install
htop
-y
apt-get
install
libgoogle-perftools-dev
-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
}
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
sudo
-u
vagrant /vagrant/userconfig.sh
\n
echo
"Setting local configuration"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment