<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Compile Mesa , specific compilation , error: LLVM is required to build Gallium"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94805#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Compile Mesa , specific compilation , error: LLVM is required to build Gallium"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94805">bug 94805</a>
from <span class="vcard"><a class="email" href="mailto:swojskichlopak@wp.pl" title="tele <swojskichlopak@wp.pl>"> <span class="fn">tele</span></a>
</span></b>
<pre>I build LLVM like this:
#--------------------------------
mkdir build
cd build
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export CC="gcc -m32"
export CXX="g++ -m32"
cmake .. \
-DLLVM_BUILD_32_BITS:BOOLEAN=ON \
-DBUILD_SHARED_LIBS:BOOL=ON
make
#--------------------------------
#---------------------
$ ls /usr/local/bin/
avcenc* llvm-cov* llvm-mcmarkup* loadjpeg*
bugpoint* llvm-c-test* llvm-nm* mpeg2vaenc*
c_rehash* llvm-cxxdump* llvm-objdump* mpeg2vldemo*
h264encode* llvm-diff* llvm-pdbdump* obj2yaml*
jpegenc* llvm-dis* llvm-profdata* openssl*
libtool* llvm-dsymutil* llvm-ranlib@ opt*
libtoolize* llvm-dwarfdump* llvm-readobj* putsurface*
llc* llvm-dwp* llvm-rtdyld* sancov*
lli* llvm-extract* llvm-size* vainfo*
llvm-ar* llvm-lib@ llvm-split* verify-uselistorder*
llvm-as* llvm-link* llvm-stress* xmlwf*
llvm-bcanalyzer* llvm-lto* llvm-symbolizer* yaml2obj*
llvm-config* llvm-mc* llvm-tblgen*
#---------------------
#---------------------------------------------------
$ objdump -p /usr/local/bin/llvm-config | grep format
/usr/local/bin/llvm-config: file format elf32-i386
#---------------------------------------------------</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>