|
3 | 3 | # it treats unknown languages as ruby-like I believe.
|
4 | 4 | language: c
|
5 | 5 |
|
6 |
| -# Before we start doing anything, install the latest stock LLVM. These are |
7 |
| -# maintained by LLVM, and more information can be found at llvm.org/apt. |
8 |
| -# |
9 |
| -# Right now, the highest version is 3.5, and our SVN version is roughly aligned |
10 |
| -# with the 3.5 API (hurray!) |
| 6 | +# Before we start doing anything, install a stock LLVM |
11 | 7 | install:
|
12 |
| - - sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise main' >> /etc/apt/sources.list" |
13 |
| - - sudo sh -c "echo 'deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise main' >> /etc/apt/sources.list" |
14 |
| - - sudo sh -c "echo 'deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main' >> /etc/apt/sources.list" |
15 |
| - - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - |
16 |
| - - sudo apt-get update -qq |
17 |
| - - sudo apt-get install -y --force-yes -qq llvm-3.5 llvm-3.5-dev clang-3.5 lldb-3.5 |
| 8 | + - sudo apt-get install llvm-3.3 llvm-3.3-dev clang-3.3 lldb-3.3 |
18 | 9 |
|
19 |
| -# All of the llvm tools are suffixed with "-3.5" which we don't want, so symlink |
| 10 | +# All of the llvm tools are suffixed with "-3.3" which we don't want, so symlink |
20 | 11 | # them all into a local directory and just use that
|
21 | 12 | #
|
22 | 13 | # FIXME: this shouldn't update the src/llvm sub-repo, that takes about a minute
|
23 | 14 | # it's gotta download so much stuff.
|
24 | 15 | before_script:
|
25 | 16 | - mkdir -p local-llvm/bin
|
26 |
| - - ln -nsf /usr/bin/llvm-config-3.5 local-llvm/bin/llvm-config |
27 |
| - - ln -nsf /usr/bin/llvm-mc-3.5 local-llvm/bin/llvm-mc |
28 |
| - - ln -nsf /usr/bin/llvm-as-3.5 local-llvm/bin/llvm-as |
29 |
| - - ln -nsf /usr/bin/llvm-dis-3.5 local-llvm/bin/llvm-dis |
30 |
| - - ln -nsf /usr/bin/llc-3.5 local-llvm/bin/llc |
31 |
| - - ln -nsf /usr/include/llvm-3.5 local-llvm/include |
| 17 | + - ln -nsf /usr/bin/llvm-config-3.3 local-llvm/bin/llvm-config |
| 18 | + - ln -nsf /usr/bin/llvm-mc-3.3 local-llvm/bin/llvm-mc |
| 19 | + - ln -nsf /usr/bin/llvm-as-3.3 local-llvm/bin/llvm-as |
| 20 | + - ln -nsf /usr/bin/llvm-dis-3.3 local-llvm/bin/llvm-dis |
| 21 | + - ln -nsf /usr/bin/llc-3.3 local-llvm/bin/llc |
| 22 | + - ln -nsf /usr/include/llvm-3.3 local-llvm/include |
32 | 23 | - ./configure --disable-optimize-tests --llvm-root=`pwd`/local-llvm --enable-fast-make --enable-clang
|
33 | 24 |
|
34 | 25 | # Tidy everything up first, then build a few things, and then run a few tests.
|
|
0 commit comments