blob: af242154f321f3773e655089b98156fc417382d0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/bash
"sudo" apt-get -qq update
#building cmkae 3.4.3 since the CI Travis virtual host is Ubuntu(???)
"wget" http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz
"tar" -xvzf cmake-3.4.3.tar.gz
"cd" cmake-3.4.3/
"./configure"
"make"
"sudo" make install
"update-alternatives" --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force
#building llvm and clang 4.0.0
"cd" ~
"mkdir" llvm-clang4
"cd" llvm-clang4
"svn" co http://llvm.org/svn/llvm-project/llvm/trunk llvm
"mkdir" build
"cd" ./llvm/tools
"svn" co http://llvm.org/svn/llvm-project/cfe/trunk clang
"cd" ../..
"cd" build
"cmake" -G "Unix Makefiles" ../llvm -DC_MAKE_TYPE=Release
"make"
|