Custom configure/build for mesa on dragonboard 820


#1

I am trying to build mesa for the 820c with some non-standard options enabled. However, the general build instructions on mesa3d.org don’t work for me: The first step, “./configure” fails for me complaining about missing Intel dependencies. Some googling suggests that specific drivers need to be specified as part of the configuration step, but I haven’t been able to find an example for a snapdragon.

Can somebody tell me how to do this, or point me to where the build scripts that generate the 96boads daily builds are located?

Thanks!

Steve


#2

Which image are you using? Each will build mesa differently.


#3

I’m using the Debian build.

At this point, I’m just trying to find the appropriate parameters “./configure –” so I can rebuild mesa

Thanks!


#4

On Debian I think we provide a custom mesa package so we can be sure we have the latest freedreno code. The debian package is here:
https://obs.linaro.org/package/show/linaro-overlay-buster/mesa?rev=2

However I think it will be built in a very similar manner to the upstream codebase so I can also offer you a direct link. Take a look at the following (it starts building up configure arguments from line 36):