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, qualification and development branches (currently 3.9, 4.0 and 5.0).

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

Debian
Jessie (Debian stable) - Last update : Tue, 25 Apr 2017 00:01:03 UTC / Revision: 301189
deb http://apt.llvm.org/jessie/ llvm-toolchain-jessie main
deb-src http://apt.llvm.org/jessie/ llvm-toolchain-jessie main
# 3.9 
deb http://apt.llvm.org/jessie/ llvm-toolchain-jessie-3.9 main
deb-src http://apt.llvm.org/jessie/ llvm-toolchain-jessie-3.9 main
# 4.0 
deb http://apt.llvm.org/jessie/ llvm-toolchain-jessie-4.0 main
deb-src http://apt.llvm.org/jessie/ llvm-toolchain-jessie-4.0 main
sid (unstable) - Last update : Mon, 24 Apr 2017 23:58:24 UTC / Revision: 301235
deb http://apt.llvm.org/unstable/ llvm-toolchain main
deb-src http://apt.llvm.org/unstable/ llvm-toolchain main
# 3.9 
deb http://apt.llvm.org/unstable/ llvm-toolchain-3.9 main
deb-src http://apt.llvm.org/unstable/ llvm-toolchain-3.9 main
# 4.0 
deb http://apt.llvm.org/unstable/ llvm-toolchain-4.0 main
deb-src http://apt.llvm.org/unstable/ llvm-toolchain-4.0 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 : Wed, 12 Apr 2017 01:55:17 UTC / Revision: 299990
deb http://apt.llvm.org/precise/ llvm-toolchain-precise main
deb-src http://apt.llvm.org/precise/ llvm-toolchain-precise main
# 3.9 
deb http://apt.llvm.org/precise/ llvm-toolchain-precise-3.9 main
deb-src http://apt.llvm.org/precise/ llvm-toolchain-precise-3.9 main
# 4.0 
deb http://apt.llvm.org/precise/ llvm-toolchain-precise-4.0 main
deb-src http://apt.llvm.org/precise/ llvm-toolchain-precise-4.0 main

# Common
deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main
Trusty (14.04) - Last update : Tue, 11 Apr 2017 20:06:20 UTC / Revision: 299945
deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty main
deb-src http://apt.llvm.org/trusty/ llvm-toolchain-trusty main
# 3.9 
deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main
deb-src http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main
# 4.0 
deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-4.0 main
deb-src http://apt.llvm.org/trusty/ llvm-toolchain-trusty-4.0 main

Wily (15.10) - Last update : Mon, 24 Apr 2017 12:11:41 UTC / Revision: 301162
deb http://apt.llvm.org/wily/ llvm-toolchain-wily main
deb-src http://apt.llvm.org/wily/ llvm-toolchain-wily main
# 3.9 
deb http://apt.llvm.org/wily/ llvm-toolchain-wily-3.9 main
deb-src http://apt.llvm.org/wily/ llvm-toolchain-wily-3.9 main
# 4.0 
deb http://apt.llvm.org/wily/ llvm-toolchain-wily-4.0 main
deb-src http://apt.llvm.org/wily/ llvm-toolchain-wily-4.0 main
Xenial (16.04) - Last update : Tue, 25 Apr 2017 01:04:49 UTC / Revision: 301206
deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial main
# 3.9
deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.9 main
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.9 main
# 4.0
deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main
Yakkety (16.10) - Last update : Tue, 25 Apr 2017 04:38:15 UTC / Revision: 301282
deb http://apt.llvm.org/yakkety/ llvm-toolchain-yakkety main
deb-src http://apt.llvm.org/yakkety/ llvm-toolchain-yakkety main
# 3.9
deb http://apt.llvm.org/yakkety/ llvm-toolchain-yakkety-3.9 main
deb-src http://apt.llvm.org/yakkety/ llvm-toolchain-yakkety-3.9 main
# 4.0
deb http://apt.llvm.org/yakkety/ llvm-toolchain-yakkety-4.0 main
deb-src http://apt.llvm.org/yakkety/ llvm-toolchain-yakkety-4.0 main
Zesty (17.04) - Last update : Mon, 24 Apr 2017 17:58:23 UTC / Revision: 301169
deb http://apt.llvm.org/zesty/ llvm-toolchain-zesty main
deb-src http://apt.llvm.org/zesty/ llvm-toolchain-zesty main
# 3.9
deb http://apt.llvm.org/zesty/ llvm-toolchain-zesty-3.9 main
deb-src http://apt.llvm.org/zesty/ llvm-toolchain-zesty-3.9 main
# 4.0
deb http://apt.llvm.org/zesty/ llvm-toolchain-zesty-4.0 main
deb-src http://apt.llvm.org/zesty/ llvm-toolchain-zesty-4.0 main
Install
(stable branch)
To retrieve the archive signature:

wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
# Fingerprint: 6084 F3CF 814B 57C1 CF12 EFD5 15CF 4D18 AF4F 7421


To install just clang and lldb (3.9 release):

apt-get install clang-3.9 lldb-3.9


To install all packages:

apt-get install clang-3.9 clang-3.9-doc libclang-common-3.9-dev libclang-3.9-dev libclang1-3.9 libclang1-3.9-dbg libllvm-3.9-ocaml-dev libllvm3.9 libllvm3.9-dbg lldb-3.9 llvm-3.9 llvm-3.9-dev llvm-3.9-doc llvm-3.9-examples llvm-3.9-runtime clang-format-3.9 python-clang-3.9 libfuzzer-3.9-dev

Install
(qualification branch)
To retrieve the archive signature:

wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
# Fingerprint: 6084 F3CF 814B 57C1 CF12 EFD5 15CF 4D18 AF4F 7421


To install just clang and lldb (4.0 release):

apt-get install clang-4.0 lldb-4.0 lld-4.0


To install all packages:

apt-get install clang-4.0 clang-4.0-doc libclang-common-4.0-dev libclang-4.0-dev libclang1-4.0 libclang1-4.0-dbg libllvm-4.0-ocaml-dev libllvm4.0 libllvm4.0-dbg lldb-4.0 llvm-4.0 llvm-4.0-dev llvm-4.0-doc llvm-4.0-examples llvm-4.0-runtime clang-format-4.0 python-clang-4.0 lldb-4.0-dev lld-4.0 libfuzzer-4.0-dev

Install
(development branch)
To retrieve the archive signature:

wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
# Fingerprint: 6084 F3CF 814B 57C1 CF12 EFD5 15CF 4D18 AF4F 7421


To install just clang and lldb (5.0 release):

apt-get install clang-5.0 lldb-5.0 lld-5.0


To install all packages:

apt-get install clang-5.0 clang-5.0-doc libclang-common-5.0-dev libclang-5.0-dev libclang1-5.0 libclang1-5.0-dbg libllvm-5.0-ocaml-dev libllvm5.0 libllvm5.0-dbg lldb-5.0 llvm-5.0 llvm-5.0-dev llvm-5.0-doc llvm-5.0-examples llvm-5.0-runtime clang-format-5.0 python-clang-5.0 liblldb-5.0-dbg lld-5.0 libfuzzer-5.0-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:
Building the latest nightly snapshot
Building LLVM packages from source is documented in a dedicated page.

Contact: Sylvestre Ledru
Build infra by IRILL / Hosting by LLVM Foundation / CDN by Fastly