meson: Build gallium auxiliary

v2: - guard gallivm files with "with_llvm" instead of "dep_llvm.found()"

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net> (v1)
This commit is contained in:
Dylan Baker
2017-09-28 22:25:02 -07:00
parent af9d276134
commit b1b65397d0
5 changed files with 584 additions and 9 deletions

View File

@@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
option('platforms', type : 'string', value : 'x11,wayland',
option('platforms', type : 'string', value : 'x11,wayland,drm',
description : 'comma separated list of window systems to support. wayland, x11, surfaceless, drm, etc.')
option('dri3', type : 'combo', value : 'auto', choices : ['auto', 'yes', 'no'],
description : 'enable support for dri3')
@@ -28,6 +28,8 @@ option('dri-drivers-path', type : 'string', value : '',
description : 'Location of dri drivers. Default: $libdir/dri.')
option('gallium-drivers', type : 'string', value : 'radeonsi',
description : 'comma separated list of gallium drivers to build.')
option('gallium-media', type : 'string', value : '',
description : 'comma separated list of gallium media APIs to build (omx,va,vdpau,xvmc).')
option('vulkan-drivers', type : 'string', value : 'intel,amd',
description : 'comma separated list of vulkan drivers to build.')
option('shader-cache', type : 'boolean', value : true,