LLVM Debian/Ubuntu nightly packages
Download

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

Debian
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 11:34:09 UTC / Revision: 206712
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

Ubuntu
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 : Sun, 20 Apr 2014 12:26:33 UTC / Revision: 206712
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 13:54:56 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 15:53:42 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 17:54:38 UTC / Revision: 206713
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 16:51:06 UTC / Revision: 206713
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
Install
(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

Install
(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:
http://llvm-jenkins.debian.net

Bugs

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

Workflow

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).
Extra
With the Jenkins instance, several reports are produced:

Contact: Sylvestre Ledru
Hosting by IRILL