[Mesa-dev] [Bug 94805] Compile Mesa , specific compilation , error: LLVM is required to build Gallium

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 4 15:39:21 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94805

--- Comment #2 from tele <swojskichlopak at wp.pl> ---
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
#---------------------------------------------------

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160404/34da1908/attachment.html>


More information about the mesa-dev mailing list