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.6).

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

Debian
wheezy (Debian stable) - Last update : Mon, 14 Jul 2014 19:54:26 UTC / Revision: 212963
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 : Fri, 26 Sep 2014 12:06:07 UTC / Revision: 218506
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
# 3.5
deb http://llvm.org/apt/unstable/ llvm-toolchain-3.5 main
deb-src http://llvm.org/apt/unstable/ llvm-toolchain-3.5 main

Ubuntu
gcc 4.8 backport (ppa) is necessary on Precise (for libstdc++).
Quantal, Raring and Saucy are no longer supported by Ubuntu.

Precise (12.04) - Last update : Thu, 02 Oct 2014 12:44:04 UTC / Revision: 218862
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
# 3.5
deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main
deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main
# Common
deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main
Trusty (14.04) - Last update : Fri, 26 Sep 2014 17:50:54 UTC / Revision: 218519
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
# 3.5
deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.5 main
deb-src http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.5 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
(qualification 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

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.6 release):

apt-get install clang-3.6 lldb-3.6


To install all packages:

apt-get install clang-3.6 clang-3.6-doc libclang-common-3.6-dev libclang-3.6-dev libclang1-3.6 libclang1-3.6-dbg libllvm-3.6-ocaml-dev libllvm3.6 libllvm3.6-dbg lldb-3.6 llvm-3.6 llvm-3.6-dev llvm-3.6-doc llvm-3.6-examples llvm-3.6-runtime clang-modernize-3.6 clang-format-3.6 python-clang-3.6 lldb-3.6-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