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
cb3a4cb0
Commit
cb3a4cb0
authored
Dec 17, 2015
by
Christoph Gerum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial vm config
parents
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
0 deletions
+47
-0
.gitignore
.gitignore
+2
-0
Vagrantfile
Vagrantfile
+11
-0
bootstrap.sh
bootstrap.sh
+34
-0
No files found.
.gitignore
0 → 100644
View file @
cb3a4cb0
*.o
*~
Vagrantfile
0 → 100644
View file @
cb3a4cb0
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
bootstrap.sh
0 → 100644
View file @
cb3a4cb0
#!/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
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