Mesa (master): meson: Build i965 and dri stack

Dylan Baker dbaker at kemper.freedesktop.org
Mon Oct 9 20:57:57 UTC 2017


Module: Mesa
Branch: master
Commit: 3218056e0eb375eeda470058d06add1532acd6d4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3218056e0eb375eeda470058d06add1532acd6d4

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Wed Sep 20 20:11:32 2017 -0700

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 at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 bin/install_megadrivers.py              |  55 +++
 include/meson.build                     |  38 +++
 meson.build                             | 112 +++++-
 meson_options.txt                       |  12 +
 src/compiler/glsl/glcpp/meson.build     |  56 +++
 src/compiler/glsl/meson.build           | 229 ++++++++++++-
 src/compiler/glsl/tests/meson.build     |  76 +++++
 src/compiler/meson.build                |  12 +-
 src/git_sha1.h.in                       |   1 +
 src/mapi/es1api/meson.build             |  54 +++
 src/mapi/es2api/meson.build             |  54 +++
 src/mapi/glapi/gen/meson.build          | 249 ++++++++++++++
 src/mapi/glapi/meson.build              |  82 +++++
 src/mapi/meson.build                    |  37 ++
 src/mapi/shared-glapi/meson.build       |  61 ++++
 src/mesa/drivers/dri/common/meson.build |  39 +++
 src/mesa/drivers/dri/i965/meson.build   | 178 ++++++++++
 src/mesa/drivers/dri/meson.build        |  55 +++
 src/mesa/main/meson.build               |  46 +++
 src/mesa/meson.build                    | 582 ++++++++++++++++++++++++++++++++
 src/mesa/program/meson.build            |  33 ++
 src/meson.build                         |  26 +-
 src/util/meson.build                    |   3 +-
 src/util/xmlpool/meson.build            |  28 ++
 24 files changed, 2092 insertions(+), 26 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=3218056e0eb375eeda470058d06add1532acd6d4



More information about the mesa-commit mailing list