Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


automatic build script for the build tools needed for the vmm
[palacios.git] / SETUP_DEV_ENV.pl
1 #!/usr/bin/perl
2
3
4
5 $location = `pwd`;
6 chomp $location;
7 $location .= "/devtools";
8
9
10 print "\n";
11 print "Installing and configuring the v3vee development environment...\n";
12 print "Location: " . $location . "\n\n";
13
14 mkdir $location;
15
16
17 install_nasm();
18
19
20 sub install_nasm {
21   ### Setup vmx capable nasm
22   print "Installing VMX capable NASM...\n";
23   chdir "./utils";
24   print "Unpacking...";
25   `tar -xzf nasm-0.98.39.tar.gz`;
26   print "done\n";
27   chdir "./nasm-0.98.39";
28   print "Patching in VMX support\n";
29   `patch < ../vmx.patch`;
30   print "Patch to fix the stupid installer...\n";
31   `patch < ../nasm-install.patch`;
32   print "Configuring...\n";
33   `./configure --prefix=$location`;
34   print "Compiling...\n";
35   `make`;
36   print "Installing...";
37   `make install`;
38   print "Done!!\n\n";
39 }