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

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

Debian
Jessie (Debian stable) - Last update : Sun, 10 Jan 2016 21:38:35 UTC / Revision: 257291
deb http://llvm.org/apt/jessie/ llvm-toolchain-jessie main
deb-src http://llvm.org/apt/jessie/ llvm-toolchain-jessie main
# 3.6 
deb http://llvm.org/apt/jessie/ llvm-toolchain-jessie-3.6 main
deb-src http://llvm.org/apt/jessie/ llvm-toolchain-jessie-3.6 main
# 3.7 
deb http://llvm.org/apt/jessie/ llvm-toolchain-jessie-3.7 main
deb-src http://llvm.org/apt/jessie/ llvm-toolchain-jessie-3.7 main
sid (unstable) - Last update : Sat, 13 Feb 2016 13:36:04 UTC / Revision: 257294
deb http://llvm.org/apt/unstable/ llvm-toolchain main
deb-src http://llvm.org/apt/unstable/ llvm-toolchain main
# 3.6 
deb http://llvm.org/apt/unstable/ llvm-toolchain-3.6 main
deb-src http://llvm.org/apt/unstable/ llvm-toolchain-3.6 main
# 3.7 
deb http://llvm.org/apt/unstable/ llvm-toolchain-3.7 main
deb-src http://llvm.org/apt/unstable/ llvm-toolchain-3.7 main

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

Precise (12.04) - Last update : Fri, 08 Jan 2016 15:43:39 UTC / Revision: 257166
deb http://llvm.org/apt/precise/ llvm-toolchain-precise main
deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise main
# 3.6 
deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.6 main
deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise-3.6 main
# 3.7 
deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.7 main
deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise-3.7 main

# Common
deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main
Trusty (14.04) - Last update : Mon, 11 Jan 2016 05:18:54 UTC / Revision: 257311
deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty main
deb-src http://llvm.org/apt/trusty/ llvm-toolchain-trusty main
# 3.6 
deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.6 main
deb-src http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.6 main
# 3.7 
deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.7 main
deb-src http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.7 main

Vivid (15.04) - Last update : Mon, 11 Jan 2016 02:26:30 UTC / Revision: 257294
deb http://llvm.org/apt/vivid/ llvm-toolchain-vivid main
deb-src http://llvm.org/apt/vivid/ llvm-toolchain-vivid main
# 3.6 
deb http://llvm.org/apt/vivid/ llvm-toolchain-vivid-3.6 main
deb-src http://llvm.org/apt/vivid/ llvm-toolchain-vivid-3.6 main
# 3.7 
deb http://llvm.org/apt/vivid/ llvm-toolchain-vivid-3.7 main
deb-src http://llvm.org/apt/vivid/ llvm-toolchain-vivid-3.7 main
Willy (15.10) - Last update : Mon, 11 Jan 2016 02:26:57 UTC / Revision: 257294
deb http://llvm.org/apt/wily/ llvm-toolchain-wily main
deb-src http://llvm.org/apt/wily/ llvm-toolchain-wily main
# 3.6 
deb http://llvm.org/apt/wily/ llvm-toolchain-wily-3.6 main
deb-src http://llvm.org/apt/wily/ llvm-toolchain-wily-3.6 main
# 3.7 
deb http://llvm.org/apt/wily/ llvm-toolchain-wily-3.7 main
deb-src http://llvm.org/apt/wily/ llvm-toolchain-wily-3.7 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.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

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

apt-get install clang-3.7 lldb-3.7


To install all packages:

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

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

apt-get install clang-3.8 lldb-3.8


To install all packages:

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

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