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

Jan Vesely jan.vesely at rutgers.edu
Tue Apr 27 16:20:28 UTC 2021


On Tue, Apr 27, 2021 at 7:50 AM Luke A. Guest <laguest at archeia.com> wrote:

>
>
> 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.
>

that is intentional. as machine-independent libraries, libclc shouldn't be
in $PREFIX/lib/

Jan


> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20210427/38e5fcf1/attachment.htm>


More information about the mesa-dev mailing list