In order to facilitate testing and to improve the deployment of the LLVM toolchain, we are happy to publish LLVM Debian/Ubuntu nightly packages. Read on for information about how it works and what we're building.These packages provide LLVM, Clang, compiler-rt, polly and LLDB.They are built for Debian:Wheezy (future stable)Unstableand Ubuntu:PreciseQuantalRaring For now, amd64 and i386 are supported.For example, installing the nightly build of clang 3.3 is as simple as:echo "deb http://llvm.org/apt/wheezy/ llvm-toolchain-wheezy main"> /etc/apt/sources.list.d/llvm.listapt-get updateapt-get install clang-3.3Packages are automatically built twice a day for every architecture and operating system in clean chroots. They are built by a Jenkins instance hosted by IRILL and push the LLVM infrastructure. RepositoriesDebianwheezy (currently testing)deb http://llvm.org/apt/wheezy/ llvm-toolchain-wheezy maindeb-src http://llvm.org/apt/wheezy/ llvm-toolchain-wheezy mainsid (unstable)deb http://llvm.org/apt/unstable/ llvm-toolchain maindeb-src http://llvm.org/apt/unstable/ llvm-toolchain mainUbuntuPrecise (12.04)deb http://llvm.org/apt/precise/ llvm-toolchain-precise maindeb-src http://llvm.org/apt/precise/ llvm-toolchain-precise main Quantal (12.10) deb http://llvm.org/apt/quantal/ llvm-toolchain-quantal maindeb-src http://llvm.org/apt/quantal/ llvm-toolchain-quantal main Raring (13.04)deb http://llvm.org/apt/raring/ llvm-toolchain-raring maindeb-src http://llvm.org/apt/raring/ llvm-toolchain-raring main InstallThe following commands will install all packages provided by the llvm-toolchain:apt-get install clang-3.3 clang-3.3-doc libclang-common-dev libclang-dev libclang1 libclang1-dbg libllvm-3.3-ocaml-dev libllvm3.3 libllvm3.3-dbg lldb-3.3 llvm-3.3 llvm-3.3-dev llvm-3.3-doc llvm-3.3-examples llvm-3.3-runtime Technical workflowTwice 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: upstream sources will be checkouttarballs will be created. They are named: llvm-toolchain_X.Y~svn123456.orig-lldb.tar.bz2llvm-toolchain_X.Y~svn123456.orig-compiler-rt.tar.bz2llvm-toolchain_X.Y~svn123456.orig.tar.bz2llvm-toolchain_X.Y~svn123456.orig-clang.tar.bz2llvm-toolchain_X.Y~svn123456.orig-polly.tar.bz2Debian .dsc package description is createdStart the jenkins job llvm-toolchain-X-binaryThen, the job llvm-toolchain-X-binary will: Create a chroot using cowbuilder or update it is already existingInstall libisl >=0.11 if necessary (for polly)Build all the packagesLaunch lintian, the Debian static analyzerPublish the result on the LLVM repositoryNote that a few patches are applied over the LLVM tarballs (and should be merged upstream soon). FutureThis versatile infrastructure allows some more interesting features like:Automatic launch of scan-build on the whole codeFull bootstrap of LLVM/ClangCode coverage on the latest release