[Mesa-dev] Trying to build a opencl dev env

Luke A. Guest laguest at archeia.com
Tue Apr 27 11:50:32 UTC 2021



On 27/04/2021 08:00, Pierre Moreau wrote:
> Hello Luke,
> 
> If you set `PKG_CONFIG_PATH=$PATH_TO_LIBCLC_INSTALL/share/pkgconfig` when
> running meson, it should pick that version instead of the system one.
> 
> I run it as `PKG_CONFIG_PATH=[…] meson setup […]`; it might also be possible to
> pass it as an argument instead, I do not know.

Thanks for that. It's because I had that var set to 
<prefix>/lib/pkg-config, libclc installs to <prefix>/share/pkg-config 
for some unknown reason.


More information about the mesa-dev mailing list