Announcement

Collapse
No announcement yet.

Meson-ized Mesa Now Supports More Drivers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Meson-ized Mesa Now Supports More Drivers

    Phoronix: Meson-ized Mesa Now Supports More Drivers

    At the end of September initial Meson support landed in Mesa while hitting 17.3-devel Git now is support for more of the Mesa drivers under this new build system...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Does changing the build system to meson change anything for the end user?

    Comment


    • #3
      if the end user is running gentoo - it does.

      Comment


      • #4
        What are advantages of Meson build system, except build speed?

        Comment


        • #5
          Originally posted by yoshi314 View Post
          if the end user is running gentoo - it does.
          They have meson too, and compile flags are for compiler, not for build system. What's the problem?

          Comment


          • #6
            Originally posted by starshipeleven View Post
            They have meson too, and compile flags are for compiler, not for build system. What's the problem?
            I think (s)he meant in a more general sense. Build times might improve, the build logs might change, etc.

            Comment


            • #7
              Originally posted by starshipeleven View Post
              They have meson too, and compile flags are for compiler, not for build system. What's the problem?
              Whenever you install software in gentoo, it is compiled from scratch using whatever build system the application supports. If Mesa supports Meson, then installing mesa will be faster. That is it.

              Comment


              • #8
                Originally posted by starshipeleven View Post
                They have meson too, and compile flags are for compiler, not for build system. What's the problem?
                Build flags are for the compiler, yes. But even they have to float through the build system to the compiler.
                What Gentoo has more are "use flags" which is a way to enable/disable specific features of the final package, and this heavily interacts with the build system.

                For the end user though, it mostly is transparent... (haven't seen the UTF-8 bug in a while...)

                Comment


                • #9
                  Originally posted by kravemir View Post
                  What are advantages of Meson build system, except build speed?
                  Compared to what?
                  Compared to autotools: Its syntax is more like modern scripting languages (ruby, python, etc), so it's easier to understand. It's implementation language is python, not m4. Upstream actually welcomes contributions, it has native, first class windows and osx support. It uses ninja instead of make, ninja is much, much faster for incremental rebuilds than make is.

                  Also, there is no cmake in mesa right now. just autotools, scons, and android. We're hoping that meson will be able to replace autotools and scons eventually so we just have two.

                  Comment


                  • #10
                    Originally posted by kravemir View Post
                    What are advantages of Meson build system, except build speed?
                    Obviously, changing build system will not impact pure users in any direct way.
                    However, developers usually find two major improvements when switching from autotools and co. to something like meson:
                    - much improved incremental build times
                    - easier maintainance

                    Those two alone are plenty enough reasons to at least think about migrating, and in many cases justifying the cost.

                    Comment

                    Working...
                    X