You are not logged in.

#1 2011-11-10 13:06:56

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Mesa - restricting drivers built

Apologies if this has been asked before (couldn't find anything on search). Is there a way of restricting which drivers are built when compiling mesa using the ABS? My netbook only requires the intel driver, but currently I have to compile ATI, Nvidia, SIS, and a bunch of others, which is a waste of compile time - even worse when one of them fails! Is there a flag or easy edit of the PKGBUILD that I can do so that only intel-dri gets built and none of the others?

Offline

#2 2011-11-10 13:38:24

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Mesa - restricting drivers built

You can look at my PKGBUILD of mesa for i915:

mesa classic:
http://aur.archlinux.org/packages.php?ID=46516

	--with-dri-drivers=i915 \
	--with-gallium-drivers= \

First give a list of dri drivers that should be built and then give a list of gallium drivers that should be built, in this case an empty list. This is necessary since r300g will be built per default afaik.

mesa gallium:
https://aur.archlinux.org/packages.php?ID=47524
Likewise with gallium:

   --with-dri-drivers=i915 \
   --with-gallium-drivers=i915 \

But maybe something has changed there in the transition from mesa 7.11 to 7.12, so it may not work for ABS. But there is no problem in using mesa git, it is very, very stable.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

Board footer

Powered by FluxBB