Difference between revisions of "Building MILEPOST"

From MAGEEC
Jump to: navigation, search
(Inital text (WITH TEMPORARY FILE LINKS!))
 
(Added a cleaner patch command)
Line 9: Line 9:
 
4) cd into the newly created ctuning-cc-2.5-gcc-4.4.4-ici-2.05-milepost-2.1 directory
 
4) cd into the newly created ctuning-cc-2.5-gcc-4.4.4-ici-2.05-milepost-2.1 directory
  
5) Before building, you'll need to download and apply the following patches (wget <patch_link>; patch -Np1 -i <patch_file>.patch) [http://www.cs.bris.ac.uk/~aw0455/mageec/patches/gcc_build_script.sh gcc_build_script.sh], [http://www.cs.bris.ac.uk/~aw0455/mageec/patches/ptrdiff.patch ptrdiff.patch], and [http://www.cs.bris.ac.uk/~aw0455/mageec/patches/siginfo.patch siginfo.patch]. If you are using a version of texinfo >= 5.0 then you'll also need to download and apply [http://www.cs.bris.ac.uk/~aw0455/mageec/patches/texinfo5.patch texinfo5.patch].
+
5) Before building, you'll need to download and apply the following patches (curl <patch_link> | patch -Np1) [http://www.cs.bris.ac.uk/~aw0455/mageec/patches/gcc_build_script.sh gcc_build_script.sh], [http://www.cs.bris.ac.uk/~aw0455/mageec/patches/ptrdiff.patch ptrdiff.patch], and [http://www.cs.bris.ac.uk/~aw0455/mageec/patches/siginfo.patch siginfo.patch]. If you are using a version of texinfo >= 5.0 then you'll also need to download and apply [http://www.cs.bris.ac.uk/~aw0455/mageec/patches/texinfo5.patch texinfo5.patch].
  
 
6) Run ./_build_all.sh
 
6) Run ./_build_all.sh

Revision as of 09:14, 2 July 2013

Simple guide to building MILEPOST on Linux

1) Download MILEPOST v2.5 with GCC 4.4.4.

2) (Optional) Download setup_env.sh

3) Extract the archive downloaded in step 1 (tar xvzf ctuning-cc-2.5-gcc-4.4.4-ici-2.05-milepost-2.1.tar.gz)

4) cd into the newly created ctuning-cc-2.5-gcc-4.4.4-ici-2.05-milepost-2.1 directory

5) Before building, you'll need to download and apply the following patches (curl <patch_link> | patch -Np1) gcc_build_script.sh, ptrdiff.patch, and siginfo.patch. If you are using a version of texinfo >= 5.0 then you'll also need to download and apply texinfo5.patch.

6) Run ./_build_all.sh