About Clang headers on Debian

Stephan Bergmann sbergman at redhat.com
Wed Oct 2 02:42:00 PDT 2013


On 10/01/2013 11:38 PM, julien2412 wrote:
> Should I create a symlink or should I override CLANGBUILD or CLANGBUILD so
> autogen.sh can find:
> /usr/lib/llvm-3.2/include/clang/AST/RecursiveASTVisitor.h
> ?

CLANGBUILD and CLANGDIR are the variables of choice here, but I can 
never remember which does what exactly.  As an example, to build LO 
against a trunk Clang build that I installed to /foo/clang/trunk/inst, 
my autogen.input contains:

> CC=/foo/clang/trunk/inst/bin/clang
> CXX=/foo/clang/trunk/inst/bin/clang++
> CLANGBUILD=/foo/clang/trunk/inst
> CLANGDIR=/foo/clang/trunk/inst

Stephan


More information about the LibreOffice mailing list