[Mesa-stable] [Mesa-dev] [PATCH] opencl: autotools: Fix linking order for OpenCL target
Kai Wasserbäch
kai at dev.carbon-project.org
Mon May 7 14:48:41 UTC 2018
Jan Vesely wrote on 02.05.2018 22:38:
> On Wed, 2018-05-02 at 18:38 +0200, Kai Wasserbäch wrote:
>> [...]
>
> Thank for looking into this. We probably need CLANG_LIBS handling
> similar to LLVM_LIBS. I agree this is the best fix for now.
>
> Acked-by: Jan Vesely <jan.vesely at rutgers.edu>
>
> libclang.so might be a solkution, but I'm not sure how it interacts
> with older or static build clang. It's also weird that we are linking
> to clang here instead of clover which actually uses clang symbols.
>
> @Emil, are you OK with this patch?
Gentle ping.
>>>>>> -lclangDriver \
>>>>>> -lclangSerialization \
>>>>>> - -lclangCodeGen \
>>>>>
>>>>> Is this change related?
>>>>
>>>> Not really, just a minor clean-up while I was busy a few lines above.
>>>> "clangCodeGen" is already named on the first Clang library line.
>>>
>>> ah, all right, maybe mention it in the commit message?
>>
>> Do I need to resend the patch for that or can you just add a line like "This
>> change also removes the duplicate clangCodeGen line (trivial change)." before
>> pushing, considering, that there are two T-b tags to be added anyway?
>
> I'll add it on my side before pushing the patch.
Thanks a lot!
Cheers,
Kai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-stable/attachments/20180507/edf29d33/attachment.sig>
More information about the mesa-stable
mailing list