Clang trunk dev binaries

Hi all,

I'm running Ubuntu Precise in Virtual Box to do some cross-platform
testing of a Clang-based project.

I can't realistically build LLVM + Clang in that environment, both due
to time and space concerns.

Are there binary releases for trunk somewhere? I'm looking for
something like the "Clang Binaries for Ubuntu-12.04/x86" release at
http://llvm.org/releases/download.html#3.2.

I found this:
http://llvm.org/apt/

which looked promising, but I can only find llvm-*-dev packages with
the LLVM libs and headers, nothing for Clang.

Am I missing something? I'm pretty new to Linux/package managers in
general so I wouldn't be surprised...

Thanks!

- Kim

apt-get install clang -y?

Last I looked, clang is available in repositories for Ubuntu.

which looked promising, but I can only find llvm-*-dev packages with the
LLVM libs and headers, nothing for Clang.

Am I missing something? I'm pretty new to Linux/package managers in
general so I wouldn't be surprised...

The clang package from llvm.org/apt is called "clang-3.4". There are also clang-3.4-doc, and a few versions of libclang.

Ben

Hi there,

apt-get install clang -y?
Last I looked, clang is available in repositories for Ubuntu.

Yes, but it doesn't include the headers/libraries as far as I can tell [1].

Sorry, I could have been clearer: I'm looking for an SDK-style release
with prebuilt libraries and headers. for trunk. llvm-dev is exactly
what I'm looking for, except it's only LLVM, not Clang.

Thanks!

- Kim

[1]
ubuntu@ubuntu-VirtualBox:/usr/lib$ dpkg -L clang
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/clang
/usr/share/doc/clang/TODO.Debian
/usr/share/doc/clang/copyright
/usr/share/doc/clang/changelog.Debian.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/clang.1.gz
/usr/share/man/man1/scan-build.1.gz
/usr/share/man/man1/scan-view.1.gz
/usr/share/clang
/usr/share/clang/scan-build
/usr/share/clang/scan-build/ccc-analyzer
/usr/share/clang/scan-build/scan-build
/usr/share/clang/scan-build/scanview.css
/usr/share/clang/scan-build/sorttable.js
/usr/share/clang/scan-build/set-xcode-analyzer
/usr/share/clang/scan-view
/usr/share/clang/scan-view/startfile.py
/usr/share/clang/scan-view/Reporter.py
/usr/share/clang/scan-view/Resources
/usr/share/clang/scan-view/Resources/GetRadarVersion.scpt
/usr/share/clang/scan-view/Resources/bugcatcher.ico
/usr/share/clang/scan-view/Resources/FileRadar.scpt
/usr/share/clang/scan-view/ScanView.py
/usr/share/clang/scan-view/scan-view
/usr/bin
/usr/bin/clang
/usr/share/man/man1/clang++.1.gz
/usr/share/man/man1/llvm-clang.1.gz
/usr/share/clang/scan-build/c++-analyzer
/usr/bin/clang++
/usr/bin/llvm-clang
/usr/bin/scan-view
/usr/bin/scan-build
ubuntu@ubuntu-VirtualBox:/usr/lib$

Hi Ben,

I'm looking for headers and static libs to link with a recursive AST visitor.

Sorry, I misunderstood. You probably want the "libclang-dev" package then.

Ben

Ben,