From: Dylan Baker Date: Thu, 20 Dec 2018 19:27:52 +0000 (-0800) Subject: docs/install: Add meson to the main install page X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40ec5fec0afcf5b2f14ceb38f5beeb009be73263;p=mesa.git docs/install: Add meson to the main install page Reviewed-by: Jordan Justen Reviewed-by: Eric Engeström --- 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 meson

      -

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

      +

      +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)

      -The primary method to build Mesa on Unix systems is with autoconf. +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