From 40ec5fec0afcf5b2f14ceb38f5beeb009be73263 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 20 Dec 2018 11:27:52 -0800 Subject: [PATCH] docs/install: Add meson to the main install page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Jordan Justen Reviewed-by: Eric Engeström --- docs/install.html | 40 +++++++++++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/docs/install.html b/docs/install.html index 49a88067501..d010eed7e14 100644 --- a/docs/install.html +++ b/docs/install.html @@ -22,6 +22,7 @@
  • General prerequisites
  • For DRI and hardware acceleration +
  • Building with meson
  • Building with autoconf (Linux/Unix/X11)
  • Building with SCons (Windows/Linux)
  • Building with AOSP (Android) @@ -39,9 +40,10 @@ Build system.

      -
    • Autoconf is required when building on *nix platforms. +
    • meson is recommended when building on *nix platforms. +
    • Autoconf is another option when building on *nix platforms.
    • SCons is required for building on -Windows and optional for Linux (it's an alternative to autoconf/automake.) +Windows and optional for Linux (it's an alternative to autoconf/automake or meson.)
    • Android Build system when building as native Android component. Autoconf is used when when building ARC. @@ -111,11 +113,31 @@ the packaging tool used by your distro. ... # others - -

      2. Building with autoconf (Linux/Unix/X11)

      +

      2. Building with meson

      -The primary method to build Mesa on Unix systems is with autoconf. +Meson is the latest build system in mesa, it is currently able to build for +*nix systems like Linux and BSD, and will be able to build for windows as well. +

      + +

      +The general approach is: +

      +
      +  meson builddir/
      +  ninja -C builddir/
      +  sudo ninja -C builddir/ install
      +
      +

      +Please read the detailed meson instructions +for more information +

      + +

      3. Building with autoconf (Linux/Unix/X11)

      + +

      +Although meson is recommended, another supported way to build on *nix systems +is with autoconf.

      @@ -133,7 +155,7 @@ for more details. -

      3. Building with SCons (Windows/Linux)

      +

      4. Building with SCons (Windows/Linux)

      To build Mesa with SCons on Linux or Windows do @@ -169,7 +191,7 @@ Additional information is available in README.WIN32. -

      4. Building with AOSP (Android)

      +

      5. Building with AOSP (Android)

      Currently one can build Mesa for Android as part of the AOSP project, yet @@ -188,7 +210,7 @@ Android-x86 and/or other resources.

      -

      5. Library Information

      +

      6. Library Information

      When compilation has finished, look in the top-level lib/ @@ -226,7 +248,7 @@ versions of libGL and device drivers.

      -

      6. Building OpenGL programs with pkg-config

      +

      7. Building OpenGL programs with pkg-config

      Running make install will install package configuration files