[Mesa-dev] [PATCH 1/1] automake: r600 should only depend on libamd_common if opencl is enabled

Emil Velikov emil.l.velikov at gmail.com
Fri Jun 2 16:22:57 UTC 2017


On 2 June 2017 at 16:34, Jan Vesely <jan.vesely at rutgers.edu> wrote:
> On Fri, 2017-06-02 at 12:19 +0100, Emil Velikov wrote:
>> On 1 June 2017 at 21:28, Jan Vesely <jan.vesely at rutgers.edu> wrote:
>> > Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
>> > ---
>> > Hi guys,
>> >
>> > this is the first step towards dropping libamd_common dependency.
>> > It's based on Emil's patches 3/5 and 4/5.
>> > Enabling opencl still falls back to the old way of requiring libamd_common.
>> > I'll try to address that in the next step (no time estimate, feel
>> > free to beat me to it). I think we can drop part of those functions
>> > rather than just copying them.
>> >
>>
>> AFAICT one still need the rest of my series, correct?
>
> kind of, 1/5 is mostly unrelated. 2,3/5 should be replaced by this one.
> 4/5 is needed,

> and 5/5 seems to be not applicable since ac_gpu_info.c
> still needs the header.
>
Hmm indeed. I seems to have misread your patch.
Which makes me wonder if you've tested the patch as I mentioned earlier:
 - (re)move amdgpu.h
 - apply mesa patches (be that any of my, your and other mix)
 - build r300 and/or r600, w/o radeonsi
 - the the above combo a try with and w/o opencl

I'm leaning that things will fail to build?

-Emil


More information about the mesa-dev mailing list