12:54marex: hey, I was wondering about this for a while ... say, I have debian arm64 rootfs booted from NFS, with all the toolchain and other build essential installed in it already, all the stuff necessary to build mesa
12:54marex: can I build mesa from source (obviously yes) AND then somehow LD_PRELOAD it for testing with the applications/tools that are already in the root filesystem ?
12:54marex: is there some easy trick to it ?
12:55marex: I basically want to test patch(es) faster , currently I use OE to build the mesa recipe and rsync it into OE generated rootfs, but that's a workaround
12:56marex: bitbake -C helps, but not great obv
12:57Ristovski: You can indeed LD_LIBRARY_PATH mesa
13:04marex: Ristovski: I would have to point it to libGLES.so and a couple of others though, right ?
13:04ccr: yep, LD_LIBRARY_PATH and you may also want to set VK_ICD_FILENAMES
13:04marex: maybe I could install mesa into separate location, but I wanted to skip the install step if possible
13:05marex: basically I wanted to do "make && LD_... ./run-the-test"
13:05marex: without the make install or whatever meson equivalient there is
18:57marex: sigh ... I can't get mesa to install any of the /usr/lib/*/dri/ libs, isn't it supposed to install stuff like mxsfb-drm_dri.so ?
18:58marex: meson setup --reconfigure builddir/ -Dprefix="/opt/mesa/" -Dglx=disabled -Ddri3=disabled -Dgbm=enabled -Degl=enabled -Dplatforms=wayland -Dgallium-extra-hud=true -Dgallium-rusticl=false -Dgallium-drivers=softpipe,etnaviv,kmsro,lima -Dtools= -Dteflon=false -Dglvnd=disabled -Dvulkan-drivers= -Dvideo-codecs= -Dgles1=enabled -Dgles2=enabled -Dshared-glapi=enabled -Dlmsensors=disabled -Dllvm=disabled
18:58marex: that's what I used to configure it
19:32HdkR: marex: Have you tried adding `-Dlibdir=/usr/lib/<arch-triple-linux-gnu>/` to the meson options?
19:39jimc: hello - is this where I ask for drm/ci-ok ? I cannot find a join button.
19:44marex: HdkR: isnt that derived from -Dprefix ? I think it is, at least that's what meson reports
19:45marex: HdkR: I think the problem I keep running into has something to do with recent libgallium.so change
19:45HdkR: marex: Could be! I just always set it :)