[LLVMdev] [PATCH] llvm-config: Add support for LIBDIR_SUFFIX.

Eric Christopher echristo at apple.com
Tue Sep 20 11:50:07 PDT 2011


On Sep 20, 2011, at 11:46 AM, Johannes Obermayr wrote:

> On Tuesday 20 September 2011 11:23:05 Eric Christopher wrote:
>> Why?
>> 
>> -eric
>> 
> 
> Because openSUSE and many other linux distributions put all things to /usr/lib (i586) and /usr/lib64 (x86_64) or /usr/lib32.
> So it is possible to install x86 and x86_64 versions at the same time ...
> (See also http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-July/042068.html and http://llvm.org/bugs/show_bug.cgi?id=10836)

It should be better to just use --libdir and make sure that LLVM_LIBDIR is set to the result of the configure option if it's different.

-eric



More information about the llvm-dev mailing list