[Bug 73320] [radeonsi] LLVM runs out of registers during register allocation in Painkiller Hell & Damnation
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri May 9 15:44:15 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=73320
--- Comment #44 from farmboy0+freedesktop at googlemail.com ---
Hres a short howto that I use to test this stuff:
Build llvm from a repo:
(change the prefix to where you want the have this installed, the configure is
setup for a 32bit build to test with wine and Antichamber)
the main llvm url is http://llvm.org/git/llvm
tom stellar's repo is at git://people.freedesktop.org/~tstellar/llvm
git clone <llvm repo url>
cd llvm
git checkout <branch name>
./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--prefix=/home/eho/programs --enable-keep-symbols --enable-shared
--disable-assertions --enable-libffi --enable-targets=host,cpp,r600
make -j5 install
Build mesa from git:
git clone git://anongit.freedesktop.org/mesa/mesa
cd mesa
/configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--prefix=/home/eho/programs --enable-glx --enable-shared-glapi
--enable-texture-float --enable-egl --enable-gbm --enable-gles1 --enable-gles2
--enable-glx-tls --enable-osmesa --enable-asm --with-dri-drivers=swrast,radeon
--with-gallium-drivers=swrast,radeonsi,r600
--with-egl-platforms=x11,wayland,drm --enable-gallium-llvm --enable-openvg
--enable-gallium-egl --enable-dri --enable-xvmc --enable-dri3 --enable-vdpau
--enable-r600-llvm-compiler --enable-debug
make -j5 install
To run your app you do:
export LD_LIBRARY_PATH=<your prefix>/lib (for me would be
/home/eho/programs/lib)
<call your app here>
Does this help?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140509/2dd4332a/attachment.html>
More information about the dri-devel
mailing list