[Mesa-dev] about building radeonsi drivers with meson

Eric Engestrom eric at engestrom.ch
Mon Jun 24 08:17:41 UTC 2019


On 2019-06-24 at 08:21, cloudwin <cloudwin at yeah.net> wrote:
> Hi
> I used to build radeonsi drivers, like radeonsi_dri.so and 
> radeonsi_drv_video.so by autogen in old version mesa, but when I switch 
> to meson which is the only way to build mesa driver now, I find 
> radeonsi_dri.so can not be generated, I used this to build drivers:
>  meson -Dgallium-drivers=radeonsi ./build
> cd ./build
> ninja
> 
> but only ./src/gallium/targets/dri/libgallium_dri.so and 
> ./src/gallium/targets/va/libgallium_drv_video.so are generated, how can 
> I get radeonsi_dri.so and radeonsi_drv_video.so with meson?
> Thanks!

Hi!

You need to install the driver to get the various *_dri.so links.

Run `ninja install` to do so, with `export DESTDIR=/path/to/local/install` first
if you don't want to overwrite your system install.


More information about the mesa-dev mailing list