meson: Build i965 and dri stack
authorDylan Baker <dylan@pnwbakers.com>
Thu, 21 Sep 2017 03:11:32 +0000 (20:11 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 9 Oct 2017 20:42:44 +0000 (13:42 -0700)
commit3218056e0eb375eeda470058d06add1532acd6d4
treeb634c97a95770f05b640a41215b33efdb4ed69f3
parent86eb09a136c62748eafa2dc79e10dbd681797cbf
meson: Build i965 and dri stack

This gets pretty much the entire classic tree building, as well as
i965, including the various glapis. There are some workarounds for bugs
that are fixed in meson 0.43.0, which is due out on October 8th.

I have tested this with piglit using glx.

v2: - fix typo "vaule" -> "value"
    - use gtest dep instead of linking to libgtest (rebase error)
    - use gtest dep instead of linking against libgtest (rebase error)
    - copy the megadriver, then create hard links from that, then delete
      the megadriver. This matches the behavior of the autotools build.
      (Eric A)
    - Use host_machine instead of target_machine (Eric A)
    - Put a comment in the right place (Eric A)
    - Don't have two variables for the same information (Eric A)
    - Put pre_args at top of file in this patch (Eric A)
    - Fix glx generators in this patch instead of next (Eric A)
    - Remove -DMESON hack (Eric A)
    - add sha1_h to mesa in this patch (Eric A)
    - Put generators in loops when possible to reduce code in
      mapi/glapi/gen (Eric A)
v3: - put HAVE_X11_PLATFORM in this patch

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
24 files changed:
bin/install_megadrivers.py [new file with mode: 0755]
include/meson.build
meson.build
meson_options.txt
src/compiler/glsl/glcpp/meson.build [new file with mode: 0644]
src/compiler/glsl/meson.build
src/compiler/glsl/tests/meson.build [new file with mode: 0644]
src/compiler/meson.build
src/git_sha1.h.in [new file with mode: 0644]
src/mapi/es1api/meson.build [new file with mode: 0644]
src/mapi/es2api/meson.build [new file with mode: 0644]
src/mapi/glapi/gen/meson.build
src/mapi/glapi/meson.build [new file with mode: 0644]
src/mapi/meson.build [new file with mode: 0644]
src/mapi/shared-glapi/meson.build [new file with mode: 0644]
src/mesa/drivers/dri/common/meson.build [new file with mode: 0644]
src/mesa/drivers/dri/i965/meson.build [new file with mode: 0644]
src/mesa/drivers/dri/meson.build [new file with mode: 0644]
src/mesa/main/meson.build [new file with mode: 0644]
src/mesa/meson.build [new file with mode: 0644]
src/mesa/program/meson.build [new file with mode: 0644]
src/meson.build
src/util/meson.build
src/util/xmlpool/meson.build [new file with mode: 0644]