[Intel-gfx] [PATCH intel-gpu-tools] configure: Don't bail if libdrm_nouveau isn't available.

Chad Versace chad.versace at linux.intel.com
Sat Oct 12 00:51:58 CEST 2013


On 10/11/2013 02:29 PM, Matt Turner wrote:
> On Fri, Oct 11, 2013 at 2:24 PM, Daniel Vetter <daniel at ffwll.ch> wrote:
>> On Fri, Oct 11, 2013 at 12:51:34PM -0700, Matt Turner wrote:
>>> On Fri, Oct 11, 2013 at 12:40 AM, Daniel Vetter <daniel at ffwll.ch> wrote:
>>>> On Fri, Oct 11, 2013 at 5:56 AM, Matt Turner <mattst88 at gmail.com> wrote:
>>>>> We were seriously *requiring* libdrm_nouveau unless explicitly disabled?
>>>>
>>>> I've had a bit of hilarious fail with optional testcases that
>>>> automatically get disabled when depencies aren't around. Hence why
>>>> they're all required by default with the optional switch to disable
>>>> them.
>>>
>>> You've had this problem in general, or with nouveau?
>>
>> In general.
>
> So I think what I'm saying is that the nouveau support in
> intel-gpu-tools isn't the project's primary purpose, so we should
> allow it to build without nouveau support if you don't have nouveau
> installed. If you don't have nouveau installed, you're not making a
> mistake by not building intel-gpu-tools without support. And if you
> have nouveau installed, you still get nouveau support.

I completely agree with Matt.

If the system doesn't already have nouveau installed, then it there is very
low likelihood that it makes any sense to install nouveau onto that system.
It very likely does not have NVidia hardware at all. So why require it?
Let's just autodetect it and behave sanely.

Requiring libdrm_nouveau is a nuisance for developers working on platforms
where libdrm doesn't get built with NVidia support.



More information about the Intel-gfx mailing list