On Thu, Dec 01, 2011 at 07:45:10PM +0000, Andrew Benton wrote: > On Thu, 1 Dec 2011 17:46:53 +0000 > Andrew Benton <[email protected]> wrote: > > > On Thu, 1 Dec 2011 16:41:23 +0000 > > Ken Moffat <[email protected]> wrote: > > > > > Thanks for (re) posting this. Am I right in thinking llvm is > > > required for current Mesa, or do you have another sed to let it > > > build with gcc ? > > By the way, I think gallium uses llvm at runtime to do 3D stuff, Mesa > compiles with gcc > > I don't know for sure (as I install llvm) but I think it's gallium that > > uses llvm. It may compile without llvm if you configure it: > > --disable-gallium-llvm > > I've just done a test build without llvm. I configured Mesa with: > > ./configure --prefix=/usr --enable-gallium-egl --disable-gallium-llvm \ > --enable-openvg --enable-xcb --with-gallium-drivers=i915,nouveau,r600,swrast > > It's compiled fine without llvm. glxgears runs. > > Andy
Interesting. I've just been googling this, and it seems llvm is needed for r300 on x86 and x86_64. So, disabling it only works if gallium r300 is not in the build, as in your example above. For my old r200, gallium isn't an option. I've just done a test compile for r200 only using --without-gallium-drivers --with-dri-drivers="r200" which builds fine. On the issue of nouveau, the required libdrm_nouveau comes from libdrm using --enable-nouveau-experimental-api ( Fernando de Oliveira, blfs-support, 2011-08-07 ). /me memos self to check which ati variant is on the next mobo I buy. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
