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

2021-04-28 Thread Luke A. Guest
How do you run the opencl-cts tests on this? ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

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

2021-04-27 Thread Jan Vesely
On Tue, Apr 27, 2021 at 7:50 AM Luke A. Guest 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

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

2021-04-27 Thread Luke A. Guest
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 a

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

2021-04-27 Thread Pierre Moreau
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. Best, Pierre

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

2021-04-26 Thread Luke A. Guest
Hi, So, I've built a generic LLVM tree for mesa and other projects and installed it alongside SPIRV-LLVM-Translator into $HOME/opt/llvm-dev-reldebug. I have installed libclc there too, although it wouldn't build as part of llvm and make install wouldn't install to the same llvm dir for some