Copy geniebox and Vagrantfile from the USB drive onto your laptop eg Desktop Install vagrant and VirtualBox using the installers provided on your laptop Virtual Machine Setup ID: 565889
Download Presentation The PPT/PDF document "Virtual Machine Setup" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Virtual Machine Setup
Copy
genie.box
and
Vagrantfile
from the USB drive onto your laptop, e.g., Desktop
Install
vagrant
and
VirtualBox
using the installers provided on your laptop.Slide2
Virtual Machine Setup
mkdir
~/Desktop/micro
cd ~/Desktop/micro
vagrant box add –-name genie ~/Desktop/
genie.box
v
agrant
init
genie
v
agrant up
v
agrant
ssh
//password is: vagrantSlide3
Windows UserSlide4
Task 1: Build LLVM-Tracer and Aladdin
Make sure LLVM-Tracer and Aladdin are built successfully in your virtual machine.
vagrant@genie
:~$
ls
cortexsuite
gem5-aladdin LLVM-
Tracer
vagrant@genie
:~/LLVM-Tracer$
cd LLVM-Tracer
vagrant@genie
:~/LLVM-Tracer$
mkdir
build
vagrant@genie
:~/LLVM-Tracer$
cd build/
vagrant@genie
:~/LLVM-Tracer/build$
cmake
.
.
vagrant@genie
:~/LLVM-Tracer/build$
make
vagrant@genie
:~/LLVM-Tracer/build
$
make installSlide5
Task 1: Build LLVM-Tracer and Aladdin
vagrant@genie
:~$
ls
cortexsuite
gem5-aladdin LLVM-
Tracer
vagrant
@genie
:~$ cd gem5-aladdin/
src
/
aladdin
/
vagrant@genie
:~$
ls
BOOST_LICENSE_1_0.txt CHANGELOG
common gem5
MachSuite
README.md
SHOC unit-
test
vagrant@genie
:
~$
cd
common/
vagrant@genie
:~$
make
vagrant@genie
:
~$
cd ../unit-test
vagrant@genie
:
~$
make test