LLVM Debian/Ubuntu nightly packages

The goal is to provide Debian and Ubuntu nightly packages ready to be installed with minimal impact on the distribution.
Packages are available for amd64 and i386 and for both the stable and development branches (currently 3.4 and 3.5).

The packages provide LLVM + Clang + compiler-rt + polly + LLDB

wheezy (Debian stable) - Last update : Sat, 28 Dec 2013 15:42:47 UTC / Revision: 198086
deb http://llvm.org/apt/wheezy/ llvm-toolchain-wheezy main
deb-src http://llvm.org/apt/wheezy/ llvm-toolchain-wheezy main
sid (unstable) - Last update : Sun, 20 Apr 2014 10:38:33 UTC / Revision: 206567
deb http://llvm.org/apt/unstable/ llvm-toolchain main
deb-src http://llvm.org/apt/unstable/ llvm-toolchain main
# 3.4
deb http://llvm.org/apt/unstable/ llvm-toolchain-3.4 main
deb-src http://llvm.org/apt/unstable/ llvm-toolchain-3.4 main

gcc 4.8 backport (ppa) might be necessary if gcc 4.8 is not available on your platform (for libstdc++).

Precise (12.04) - Last update : Sat, 19 Apr 2014 23:47:01 UTC / Revision: 206703
deb http://llvm.org/apt/precise/ llvm-toolchain-precise main
deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise main
# 3.4
deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main
deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main
# Common
deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main
Quantal (12.10) - Last update : Sun, 20 Apr 2014 01:52:55 UTC / Revision: 198077
deb http://llvm.org/apt/quantal/ llvm-toolchain-quantal main
deb-src http://llvm.org/apt/quantal/ llvm-toolchain-quantal main
# 3.4
deb http://llvm.org/apt/quantal/ llvm-toolchain-quantal-3.4 main
deb-src http://llvm.org/apt/quantal/ llvm-toolchain-quantal-3.4 main
# Common
deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu quantal main
Raring (13.04) - Last update : Sun, 20 Apr 2014 05:53:26 UTC / Revision: 206712
deb http://llvm.org/apt/raring/ llvm-toolchain-raring main
deb-src http://llvm.org/apt/raring/ llvm-toolchain-raring main
# 3.4
deb http://llvm.org/apt/raring/ llvm-toolchain-raring-3.4 main
deb-src http://llvm.org/apt/raring/ llvm-toolchain-raring-3.4 main
# Common
deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu raring main
Saucy (13.10) - Last update : Sun, 20 Apr 2014 04:52:14 UTC / Revision: 206712
deb http://llvm.org/apt/saucy/ llvm-toolchain-saucy main
deb-src http://llvm.org/apt/saucy/ llvm-toolchain-saucy main
# 3.4
deb http://llvm.org/apt/saucy/ llvm-toolchain-saucy-3.4 main
deb-src http://llvm.org/apt/saucy/ llvm-toolchain-saucy-3.4 main
Trusty (14.04) - Last update : Sun, 20 Apr 2014 04:55:52 UTC / Revision: 206712
deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty main
deb-src http://llvm.org/apt/trusty/ llvm-toolchain-trusty main
# 3.4
deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.4 main
deb-src http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.4 main
(stable branch)
To retrieve the archive signature:

wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -

To install just clang and lldb (3.4 release):

apt-get install clang-3.4 lldb-3.4

To install all packages:

apt-get install clang-3.4 clang-3.4-doc libclang-common-3.4-dev libclang-3.4-dev libclang1-3.4 libclang1-3.4-dbg libllvm-3.4-ocaml-dev libllvm3.4 libllvm3.4-dbg lldb-3.4 llvm-3.4 llvm-3.4-dev llvm-3.4-doc llvm-3.4-examples llvm-3.4-runtime clang-modernize-3.4 clang-format-3.4 python-clang-3.4 lldb-3.4-dev

(development branch)
To retrieve the archive signature:

wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -

To install just clang and lldb (3.5 release):

apt-get install clang-3.5 lldb-3.5

To install all packages:

apt-get install clang-3.5 clang-3.5-doc libclang-common-3.5-dev libclang-3.5-dev libclang1-3.5 libclang1-3.5-dbg libllvm-3.5-ocaml-dev libllvm3.5 libllvm3.5-dbg lldb-3.5 llvm-3.5 llvm-3.5-dev llvm-3.5-doc llvm-3.5-examples llvm-3.5-runtime clang-modernize-3.5 clang-format-3.5 python-clang-3.5 lldb-3.5-dev

Technical aspects
Packages are rebuilt against the trunk of the various LLVM projects.
They are rebuild through a Jenkins instance:


Bugs should be reported on the LLVM bug tracker (deb packages).


Twice a day, each jenkins job will checkout the debian/ directory necessary to build the packages. The repository is available on the Debian hosting infrastructure: http://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/. In the llvm-toolchain-*-source, the following tasks will be performed: Then, the job llvm-toolchain-X-binary will: Note that a few patches are applied over the LLVM tarballs (and should be merged upstream at some point).
With the Jenkins instance, several reports are produced:

Contact: Sylvestre Ledru
Hosting by IRILL