remove cloog_util
[ppn.git] / INSTALL
blob89d3c7134a6c30ddfc7f7c67b9a5442c3a8e1508
1 This text assumes that all projects are to be installled
2 in /home/sven/loop/ 
4 To be able to compile isa you need several standard tools such
5 as pkg-config, bison and flex which may not be installed by default.
6 To generate configure scripts you also need autoconf, automake and libtool.
8 If you are installing on Ubuntu, then you can install the packages
9 libgmp3-dev, libyaml-dev, libntl-dev, libsyck0-dev and libxml2-dev
10 and then you can go straight to the installation of LLVM/clang and isa
11 below.
13 get GMP from http://gmplib.org/ if not already installed
14 cd <dir>
15         ./configure --prefix=/home/sven/loop/
16         make
17         make check
18         make install
20 get syck 0.55 from http://rubyforge.org/projects/syck/
21 cd <dir>
22         ./configure --prefix=/home/sven/loop/
23         make
24         make install
25         cd ..
27 get libyaml from http://pyyaml.org/wiki/LibYAML
28 cd <dir>
29         ./configure --prefix=/home/sven/loop/
30         make
31         make install
32         cd ..
34 get NTL from http://shoup.net/ntl/
35 cd <dir>
36         cd src
37         ./configure NTL_GMP_LIP=on PREFIX=/home/sven/loop/
38         make
39         make check
40         make install
41         cd ../..
43 get libxml2-2.6.23.tar.gz  from ftp://xmlsoft.org/libxml2/
44 cd <dir>
45         ./configure --prefix=/home/sven/loop/
46         make
47         make check      # requires download of separate tests
48         make install
49         cd ..
51 get 'Clang Binaries for ...' from
52         http://llvm.org/releases/download.html#2.9
53 or install from source
54         svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
55         cd llvm/tools
56         svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
57         cd ..
58         ./configure --prefix=/home/sven/loop/
59         make
60         make install
61         cd ..
63 git clone git://repo.or.cz/isa.git
64 cd <dir>
65         # the first two steps can be skipped if you downloaded a tar ball
66         ./get_submodules.sh
67         ./autogen.sh
68         ./configure --prefix=/home/sven/loop/ \
69                 --with-syck=/home/sven/loop/ \
70                 --with-ntl-prefix=/home/sven/loop/ \
71                 --with-gmp-prefix=/home/sven/loop/ \
72                 --with-libxml2=/home/sven/loop/ \
73                 --with-libyaml-prefix=/home/sven/loop/ \
74                 --with-clang-prefix=/home/sven/loop/
75         make