Re: [Mesa-dev] initial meson port

2017-09-28 Thread Dylan Baker
Quoting Tapani Pälli (2017-09-27 23:34:26) > > > On 09/27/2017 08:57 PM, Rob Herring wrote: > > On Wed, Sep 27, 2017 at 12:38 PM, Eric Anholt <e...@anholt.net> wrote: > >> Dylan Baker <dy...@pnwbakers.com> writes: > >> > >>> [ Un

Re: [Mesa-dev] [PATCH mesa] REVIEWERS: add Meson

2017-09-28 Thread Dylan Baker
I don't have access to my Intel email except when physically at work, I'd prefer to use dy...@pnwbakers.com Otherwise I probably am the guy to look at meson, Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Eric Engestrom (2017-09-28 05:37:02) > Cc: Dylan Baker <dylanx.c.ba.

[Mesa-dev] [PATCH 5/5] travis: add meson build for vulkan drivers.

2017-09-30 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- .travis.yml | 36 1 file changed, 36 insertions(+) diff --git a/.travis.yml b/.travis.yml index d9a8bf5a9d4..e8fff1b66ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,7

[Mesa-dev] [PATCH 3/5] meson: set C++ standard to C++11

2017-09-30 Thread Dylan Baker
RadeonSI requires C++11, clover requires C++11, LLVM requires it, so llvmpipe may require it, and that cover most of the C++ code in mesa. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.b

[Mesa-dev] [PATCH 4/5] meson: convert gtest to an internal dependency

2017-09-30 Thread Dylan Baker
In truth gtest is an external dependency that upstream expects you to "vendor" into your own tree. As such, it makes sense to treat it more like a dependency than an internal library, and collect it's requirements together in a dependency object. Signed-off-by: Dylan Baker &l

[Mesa-dev] Add a travis job for meson vulkan

2017-09-30 Thread Dylan Baker
This adds a job to travis to build the vulkan driver and run some driver checks, and fix building on travis (which uses a particularly old Ubuntu). ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

[Mesa-dev] [PATCH 1/5] meson: look for libelf as a library if there is no pkgconfig

2017-09-30 Thread Dylan Baker
Required for older versions of libelf that don't have a pkgconfig file. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 5353a417484..15f7f0ea64f 100644 --- a/meson

[Mesa-dev] [PATCH 2/5] meson: add window system deps to intel vulkan common

2017-09-30 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/intel/vulkan/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build index a0be95c747c..6ce092e05ce 100644 --- a/src/intel/vulkan/meson.build +++

Re: [Mesa-dev] [PATCH 4/5] meson: convert gtest to an internal dependency

2017-10-02 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-02 08:33:14) > On Sunday, 2017-10-01 03:58:27 +0000, Dylan Baker wrote: > > In truth gtest is an external dependency that upstream expects you to > > "vendor" into your own tree. As such, it makes sense to treat it more > > like a depe

Re: [Mesa-dev] [PATCH 5/5] travis: add meson build for vulkan drivers.

2017-10-02 Thread Dylan Baker
Quoting Emil Velikov (2017-10-02 09:13:49) > On 2 October 2017 at 16:51, Eric Engestrom <eric.engest...@imgtec.com> wrote: > > On Sunday, 2017-10-01 03:58:28 +0000, Dylan Baker wrote: > >> Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> &

Re: [Mesa-dev] [PATCH v2] meson: change vulkan icd config to - instead of _

2017-10-02 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-02 02:49:51) > On Saturday, 2017-09-30 01:00:56 +0000, Dylan Baker wrote: > > Just to be consistent. > > > > v2: - update meson.build too > > > > Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> > > --- > >

[Mesa-dev] [PATCH] travis: add meson build for vulkan drivers.

2017-10-02 Thread Dylan Baker
v2: - use -isystem`pwd` instead of cp to include fake linux header (Eric, Emil) Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- .travis.yml | 36 1 file changed, 36 insertions(+) diff --git a/.travis.yml b/.travis.yml index d9a8bf5a9d4..ca766

Re: [Mesa-dev] [PATCH 4/5] meson: convert gtest to an internal dependency

2017-10-02 Thread Dylan Baker
Quoting Dylan Baker (2017-10-02 09:45:05) > Quoting Eric Engestrom (2017-10-02 08:33:14) > > On Sunday, 2017-10-01 03:58:27 +0000, Dylan Baker wrote: > > > In truth gtest is an external dependency that upstream expects you to > > > "vendor" into your own t

Re: [Mesa-dev] [PATCH mesa] meson: fix version typo + grammar

2017-09-29 Thread Dylan Baker
I had this exact same change in my wip tree, Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Eric Engestrom (2017-09-29 08:06:39) > Signed-off-by: Eric Engestrom <eric.engest...@imgtec.com> > --- > meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 del

[Mesa-dev] [PATCH 1/2] meson: check for python2 mako

2017-09-29 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 4 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 5353a417484..add27b5dbac 100644 --- a/meson.build +++ b/meson.build @@ -53,6 +53,10 @@ if _vulkan_drivers != '' endif prog_p

[Mesa-dev] [PATCH 2/2] meson: change vulkan icd config to - instead of _

2017-09-29 Thread Dylan Baker
Just to be consistent. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson_options.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson_options.txt b/meson_options.txt index 082ade7f480..d0f7cc9c7ed 100644 --- a/meson_options.txt +++ b/meson_optio

[Mesa-dev] [PATCH v2] meson: change vulkan icd config to - instead of _

2017-09-29 Thread Dylan Baker
Just to be consistent. v2: - update meson.build too Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 2 +- meson_options.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index add27b5dbac..2e1de2b2e20

Re: [Mesa-dev] initial meson port

2017-09-27 Thread Dylan Baker
the future, I don't know what will happen when android moves to blueprint/soong). If there is anything else please let me know. Dylan Quoting Dylan Baker (2017-09-20 13:27:37) > Hi everyone, > > A long time ago I made some rumbling about porting mesa to meson (isn't that > confusing).

[Mesa-dev] [PATCH] meson: remove duplicate libisl dependency in anv

2017-09-27 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> CC: Kristian Høgsberg <k...@bitplanet.net> --- src/intel/vulkan/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build index 9f0ee558e8a..a0be95

Re: [Mesa-dev] [PATCH] travis: add meson build for vulkan drivers.

2017-10-03 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-03 08:29:12) > On Monday, 2017-10-02 17:12:54 +0000, Dylan Baker wrote: > > v2: - use -isystem`pwd` instead of cp to include fake linux header (Eric, > > Emil) > > > > Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com&

Re: [Mesa-dev] [PATCH v2 4/4] meson: build "radv" vulkan driver for radeon hardware

2017-09-25 Thread Dylan Baker
> Hi Dylan, > > Awesome work. I noticed though that when llvm-config gives 6.0.0svn we > don't strip the svn away when passing to HAVE_LLVM and > MESA_LLVM_VERSION_PATCH, which results in compile errors. > > - Bas > > On Sun, Sep 24, 2017 at 12:08 AM, Dylan Baker &l

Re: [Mesa-dev] [PATCH v2 4/4] meson: build "radv" vulkan driver for radeon hardware

2017-09-25 Thread Dylan Baker
Quoting Nicholas Miell (2017-09-23 21:17:48) > On 09/23/2017 08:39 AM, Dylan Baker wrote: > > diff --git a/meson_options.txt b/meson_options.txt > > index e52cec31f11..854cba851d7 100644 > > --- a/meson_options.txt > > +++ b/meson_options.txt > > @@ -20,8 +20,10

Re: [Mesa-dev] [PATCH] git_sha1_gen: accept MESA_GIT_SHA1_OVERRIDE env var

2017-10-09 Thread Dylan Baker
Quoting Brian Paul (2017-10-09 13:56:33) > If one uses a parent build script to download/build Mesa we may not > have a full git repository (maybe a tar archive) so the 'git rev-parse' > command will fail. > > This updates the script to look for a MESA_GIT_SHA1_OVERRIDE env var. > If it's set,

Re: [Mesa-dev] [PATCH v2 02/12] make: Fix test to be meson compatible

2017-10-05 Thread Dylan Baker
Quoting Emil Velikov (2017-10-05 11:26:40) > On 5 October 2017 at 18:12, Dylan Baker <dy...@pnwbakers.com> wrote: > > This has the same problem as the previous commit, generated headers and > > hardcoded paths. > > > Something's strange here. You already have

Re: [Mesa-dev] [PATCH v2 01/12] make: change include to work for meson

2017-10-05 Thread Dylan Baker
Quoting Emil Velikov (2017-10-05 11:17:06) > On 5 October 2017 at 18:12, Dylan Baker <dy...@pnwbakers.com> wrote: > > Meson expects you to include the generated target in another target's > > sources, and it will generate the include directives for you, so change > &

Re: [Mesa-dev] [PATCH 1/6] meson: Build i965 and dri stack

2017-10-04 Thread Dylan Baker
Quoting Eric Anholt (2017-10-04 14:25:30) > Dylan Baker <dy...@pnwbakers.com> writes: > > > 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

Re: [Mesa-dev] [PATCH 1/6] meson: Build i965 and dri stack

2017-10-04 Thread Dylan Baker
Quoting Eric Anholt (2017-10-04 14:34:40) > Dylan Baker <dy...@pnwbakers.com> writes: > > > 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

Re: [Mesa-dev] [PATCH v2 06/12] meson: Build i965 and dri stack

2017-10-05 Thread Dylan Baker
Quoting Eric Anholt (2017-10-05 12:57:41) > Dylan Baker <dy...@pnwbakers.com> writes: > > > 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

[Mesa-dev] [PATCH v3 07/12] meson: build glx

2017-10-05 Thread Dylan Baker
variables to this patch (Eric A) v3: - set the version correctly for GL_LIB_NAME in libglx Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- I tested building both the glvnd and !glvnd paths with this change. include/meson.build| 2 +- meson.build

Re: [Mesa-dev] [PATCH] meson: generate builddir/src/amd/vulkan/dev_icd.json

2017-10-05 Thread Dylan Baker
I didn't add these since I didn't know if they'd be useful given that meson doesn't generate a /lib, but this looks correct. Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Bas Nieuwenhuizen (2017-10-05 12:34:51) > --- > src/amd/vulkan/Makefile.am | 2 +- >

Re: [Mesa-dev] [PATCH v2 07/12] meson: build glx

2017-10-05 Thread Dylan Baker
Quoting Eric Anholt (2017-10-05 12:18:39) > Dylan Baker <dy...@pnwbakers.com> writes: > > > This gets GLX and the loader building. The resulting GLX and i965 have > > been tested on piglit and seem to work fine. This patch leaves a lot of > > todo's in it's

Re: [Mesa-dev] [PATCH v2 09/12] meson: build gbm

2017-10-05 Thread Dylan Baker
Quoting Eric Anholt (2017-10-05 12:43:47) > Dylan Baker <dy...@pnwbakers.com> writes: > > > This doesn't include egl support, just dri support. > > > > +install_headers('main/gbm.h') > > + > > +pkg.generate( > > + name : 'gbm', > > + fi

[Mesa-dev] [PATCH 3/6] meson: Add support for configuring dri drivers directory.

2017-10-03 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 6 ++ meson_options.txt| 14 -- src/glx/meson.build | 2 +- src/mesa/drivers/dri/meson.build | 2 +- 4 files changed, 16 insertions(+), 8 deletions(-)

[Mesa-dev] [PATCH 5/6] meson_options: Remove extra whitespace between parameters

2017-10-03 Thread Dylan Baker
Originally I had these all colomized and pretty, then I wrote descriptions for the options, and they ceased to be pretty. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson_options.txt | 43 +-- 1 file changed, 17 insertions(+), 26 del

[Mesa-dev] [PATCH 4/6] meson: build gbm

2017-10-03 Thread Dylan Baker
This doesn't include egl support, just dri support. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 49 +--- meson_options.txt | 14 + src/{loader => gbm}/meson.b

[Mesa-dev] [PATCH 1/6] meson: Build i965 and dri stack

2017-10-03 Thread Dylan Baker
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. Signed-off-by: Dylan Baker <dylanx.c

[Mesa-dev] [PATCH 2/6] meson: build glx

2017-10-03 Thread Dylan Baker
building. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- include/meson.build| 2 +- meson.build| 179 +-- meson_options.txt | 6 ++ src/compiler/nir/meson.build | 1 + src/glx/meson.build

[Mesa-dev] [PATCH 6/6] meson: build classic swrast

2017-10-03 Thread Dylan Baker
This adds support for building the classic swrast implementation. This driver has been tested with glxinfo and glxgears. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 2 ++ meson_options.txt | 2 +

[Mesa-dev] [PATCH 0/6] Meson round 3, classic drivers

2017-10-03 Thread Dylan Baker
out on the 8th. Dylan Baker (6): meson: Build i965 and dri stack meson: build glx meson: Add support for configuring dri drivers directory. meson: build gbm meson_options: Remove extra whitespace between parameters meson: build classic swrast bin/install_megadrivers.py

Re: [Mesa-dev] [PATCH 2/6] meson: build glx

2017-10-04 Thread Dylan Baker
Quoting Eric Anholt (2017-10-04 14:57:23) > Dylan Baker <dy...@pnwbakers.com> writes: > > > This gets GLX and the loader building. The resulting GLX and i965 have > > been tested on piglit and seem to work fine. This patch leaves a lot of > > todo's in it's

Re: [Mesa-dev] [PATCH v3 07/12] meson: build glx

2017-10-07 Thread Dylan Baker
I looked at what autotools generates in it's make files and output and matches that with what meson is generating now. Does this look good to you? It's the last patch waiting for review in the series. Dylan Quoting Dylan Baker (2017-10-05 14:27:33) > This gets GLX and the loader build

[Mesa-dev] [PATCH] editorconfig: Add meson configuration

2017-10-07 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- .editorconfig | 4 1 file changed, 4 insertions(+) diff --git a/.editorconfig b/.editorconfig index 6eb0702a25a..06848f68c08 100644 --- a/.editorconfig +++ b/.editorconfig @@ -33,3 +33,7 @@ indent_size = 2 [*

[Mesa-dev] [PATCH] meson: Include nir directories in anv_common

2017-10-07 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> Fixes: f3e91e78a337 ("anv: add nir lowering pass for ycbcr textures") cc: Lionel Landwerlin <lionel.g.landwer...@intel.com> --- src/intel/vulkan/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

[Mesa-dev] [PATCH 17/20] meson: add option to disable LLVM

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 5 - meson_options.txt | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 5684a5666d9..9138dc2f5b5 100644 --- a/meson.build +++ b/meson.build @@ -38,6

[Mesa-dev] [PATCH 14/20] meson: build gallium winsys for dri, null, and wrapper

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 4 ++ src/gallium/meson.build | 8 ++-- src/gallium/{ => winsys/sw/dri}/meson.build | 55 +++- src/gallium/{ => winsy

[Mesa-dev] [PATCH 11/20] meson: build gallium helper drivers

2017-10-11 Thread Dylan Baker
This builds ddebug, noop, rbug, and trace drivers. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/gallium/{ => drivers/ddebug}/meson.build | 13 - src/gallium/{ => drivers/noop}/meson.build | 12 +++- src/gallium/{ => drivers/rbug}/mes

[Mesa-dev] [PATCH 09/20] meson: split and simplify depdendncies

2017-10-11 Thread Dylan Baker
Rather than group dependencies in complex groups, use a flatter structure with split dependencies to avoid checking for the same dependencies twice. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build| 199 ++--

[Mesa-dev] [PATCH 12/20] meson: Build gallium dri state tracker

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 1 + src/gallium/meson.build | 1 + src/gallium/{ => state_trackers/dri}/meson.build | 46 +++- 3 files changed, 39 inserti

[Mesa-dev] [PATCH 06/20] meson: Don't try to install dri drivers unless one is built

2017-10-11 Thread Dylan Baker
This confused the with_dri flag which is meant to control Direct Rendering Infrastructure, not classic drivers Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/mesa/drivers/dri/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drive

[Mesa-dev] [PATCH 15/20] meson: build radeonsi gallium driver

2017-10-11 Thread Dylan Baker
--- /dev/null +++ b/src/gallium/targets/dri/meson.build @@ -0,0 +1,90 @@ +# Copyright ?? 2017 Dylan Baker + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without r

[Mesa-dev] [PATCH 19/20] meson: build llvmpipe

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/gallium/drivers/llvmpipe/meson.build | 116 +++ src/gallium/meson.build | 2 +- src/gallium/targets/dri/meson.build | 4 ++ 3 files changed, 121 insertions(+), 1 deletion(-)

[Mesa-dev] [PATCH 05/20] meson: Set _GNU_SOURCE

2017-10-11 Thread Dylan Baker
When we start adding non-free software platforms support we'll need to guard this, but for now it should be fine as is. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 8d890

[Mesa-dev] [PATCH 20/20] meson: refactor meson_options

2017-10-11 Thread Dylan Baker
To put one argument on each line. This results in the file being much longer, but I think much more readable. Suggested-by: Eero Tamminen <eero.t.tammi...@intel.com> Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson_optio

[Mesa-dev] [PATCH 16/20] meson: build nouveau (gallium) driver

2017-10-11 Thread Dylan Baker
Tested with a GK107. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 6 + src/gallium/drivers/nouveau/meson.build | 217 +++ src/gallium/meson.build | 3 +- src/gallium/t

[Mesa-dev] [PATCH 07/20] meson: build libmesa_gallium

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 19 --- meson_options.txt| 2 + src/mesa/meson.build | 143 ++- 3 files changed, 155 insertions(+), 9 deletions(-) diff --git a/meson.build b/meson

[Mesa-dev] [PATCH 13/20] meson: build radeonsi

2017-10-11 Thread Dylan Baker
This builds the radeonsi (and radeon) window system bits and gallium driver bits. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 10 +++- src/gallium/{ => drivers/radeon}/meson.build| 43 +++--- src/gallium/drivers

[Mesa-dev] [PATCH 18/20] meson: build softpipe

2017-10-11 Thread Dylan Baker
This doesn't include llvmpipe. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 5 ++ meson_options.txt| 4 +- src/gallium/drivers/softpipe/meson.build | 85 src/gallium/meson

[Mesa-dev] [PATCH 03/20] configure: commit test files

2017-10-11 Thread Dylan Baker
These are currently auto-generated, but meson needs the same files, so lets commit them to reduce duplication. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- .build/conftest.dyn | 3 +++ .build/conftest.map | 6 ++ Makefile.am | 4 +++- configure.ac

[Mesa-dev] [PATCH 02/20] meson: Add switch for texture float

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 4 meson_options.txt | 2 ++ 2 files changed, 6 insertions(+) diff --git a/meson.build b/meson.build index bff40f697d3..48e9e1db08e 100644 --- a/meson.build +++ b/meson.build @@ -37,6 +37,10 @@ with_vulkan_i

[Mesa-dev] [PATCH 08/20] meson: Build gallium auxiliary

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 36 ++- meson_options.txt | 4 +- src/gallium/auxiliary/meson.build | 528 ++ src/{ => gallium}/meson.build | 44 +--- src/me

[Mesa-dev] [PATCH 04/20] meson: add checks for version script and dynamic list

2017-10-11 Thread Dylan Baker
These are used by gallium drivers. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 48e9e1db08e..8d890e53e12 100644 --- a/meson.build +++ b/meson

[Mesa-dev] [PATCH 10/20] meson: Build gallium pipe-loader

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/gallium/auxiliary/meson.build | 2 + src/gallium/auxiliary/pipe-loader/meson.build | 63 +++ src/gallium/meson.build | 2 + 3 files changed, 67 insertions(+) creat

[Mesa-dev] [PATCH 00/20] meson, gallium edition

2017-10-11 Thread Dylan Baker
tested all of these and they appear to be working as expected. Dylan Baker (20): meson: fix glx test meson: Add switch for texture float configure: commit test files meson: add checks for version script and dynamic list meson: Set _GNU_SOURCE meson: Don't try to install dri drivers

[Mesa-dev] [PATCH 01/20] meson: fix glx test

2017-10-11 Thread Dylan Baker
That requires a generated header that was rolled into a loop. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/mapi/glapi/gen/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mapi/glapi/gen/meson.build b/src/mapi/glapi/gen/meson.build index 79aa2

Re: [Mesa-dev] [PATCH 01/20] meson: fix glx test

2017-10-11 Thread Dylan Baker
Eric reviewed this patch and it's landed already. Quoting Dylan Baker (2017-10-11 10:41:09) > That requires a generated header that was rolled into a loop. > > Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> > --- > src/mapi/glapi/gen/meson.build | 1 + > 1 f

Re: [Mesa-dev] [PATCH 18/20] meson: build softpipe

2017-10-11 Thread Dylan Baker
This patch is broken, I'll send an update. Note to self, meson remembers configuration options, clean build when doing git rebase -x Quoting Dylan Baker (2017-10-11 10:41:26) > This doesn't include llvmpipe. > > Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> >

Re: [Mesa-dev] [PATCH 09/20] meson: split and simplify depdendncies

2017-10-11 Thread Dylan Baker
This patch also is broken (breaks building just vulkan drivers) patch incoming. Quoting Dylan Baker (2017-10-11 10:41:17) > Rather than group dependencies in complex groups, use a flatter > structure with split dependencies to avoid checking for the same > dependencies twice. >

Re: [Mesa-dev] [PATCH v2] docs: add documentation for building with meson

2017-10-18 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-18 15:27:39) > On Wednesday, 2017-10-18 18:09:22 +0000, Dylan Baker wrote: > > v2: - Add information about CC, CXX, CFLAGS, and CXXFLAGS (Nicolai) > > - Add message at top that meson for mesa is still a work in progress > > - Add traili

[Mesa-dev] [PATCH 4/4] meson: Add support for EGL glvnd

2017-10-18 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/egl/meson.build | 46 -- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/src/egl/meson.build b/src/egl/meson.build index ade6810bf91..8ea8a5bbb69 100644 --- a/s

[Mesa-dev] [PATCH 3/4] meson: build libEGL

2017-10-18 Thread Dylan Baker
. It doesn't do this because meson doesn't have problems with the name of the library being dynamically generated, so the glvnd and non-glvnd code can follow the same path. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- include/meson.build| 8 ++ meson

[Mesa-dev] [PATCH 1/4] meson: Don't allow glx to be built without platform_x11

2017-10-18 Thread Dylan Baker
Previously this failed to change with_glx to disabled from auto if platform_x11 was unset or if no opengl apis were being built. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meson.b

[Mesa-dev] [PATCH 0/4] meson egl support

2017-10-18 Thread Dylan Baker
the patches from scratch, I heavily referenced his work. I'd also like to thank Jason Ekstrand for helping me debug a wayland-egl issue I ran into. This is available at my github: https://github.com/dcbaker/mesa submit/meson-egl Dylan Baker (4): meson: Don't allow glx to be built without

[Mesa-dev] [PATCH 2/4] meson: move wayland_drm_protocol generation to wayland-drm

2017-10-18 Thread Dylan Baker
-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/egl/wayland/wayland-drm/meson.build | 14 +- src/vulkan/wsi/meson.build | 14 -- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/src/egl/wayland/wayland-drm/meson.build b/src/egl/wayland/w

Re: [Mesa-dev] [PATCH 2/2] i965: Use is_scheduling_barrier instead of schedule_node::is_barier.

2017-10-18 Thread Dylan Baker
typo in subject "is_barier" -> "is_barrier" Quoting Kenneth Graunke (2017-10-18 16:59:12) > Commit a73116ecc60414ade89802150b tried to make add_barrier_deps() > walk to the next barrier, and stop. To accomplish that, it added an > is_barrier flag. Unfortunately, this only works half of the

Re: [Mesa-dev] [PATCH 3/4] meson: build libEGL

2017-10-18 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-18 17:25:05) > On Wednesday, 2017-10-18 23:56:00 +0000, Dylan Baker wrote: > > This is based heavily on Daniel Stone's work for the same, rebased on > > master and with a number of TODO's fixed. > > > > This does not implement glvnd

Re: [Mesa-dev] [PATCH mesa] meson: add missing radv_extensions.c generation for libvulkan_radeon

2017-10-17 Thread Dylan Baker
ython you have to do this using the depend_files as Andres suggests. Are we not doing that in the intel generator this is copied from? > > > > > ) > > > > > > +radv_extensions = custom_target( Could we call this radv_extensions_c, in keeping with the convention

Re: [Mesa-dev] [PATCH mesa] meson: add missing radv_extensions.c generation for libvulkan_radeon

2017-10-17 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-17 11:07:48) > On Tuesday, 2017-10-17 17:04:13 +0000, Dylan Baker wrote: > > Quoting Eric Engestrom (2017-10-17 08:23:26) > > > On Tuesday, 2017-10-17 14:55:06 +, Andres Gomez wrote: > > > > On Tue, 2017-10-17 at 12:

[Mesa-dev] [PATCH] docs: add documentation for building with meson

2017-10-17 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- I'm sending this out now so that others can look at it, review it, and reference it, but this should not end up in the 17.3 release, as the meson build for mesa will not be ready to go into the 17.3 release. docs/contents.htm

Re: [Mesa-dev] [PATCH 4/4] meson: build nouveau veaux driver

2017-10-17 Thread Dylan Baker
Gah. French is one of the few romance languages I've never learned even a little of. Fixed locally, would you like me to send a v2? Quoting Ilia Mirkin (2017-10-16 18:50:49) > Old, not calves... > > On Oct 16, 2017 8:56 PM, "Dylan Baker" <dy...@pnwbakers.com> wrote: &

Re: [Mesa-dev] meson for remaining class drivers

2017-10-17 Thread Dylan Baker
Quoting Timothy Arceri (2017-10-16 18:05:38) > On 17/10/17 11:55, Dylan Baker wrote: > > Here is build support for the three remaining classic drivers, radeon > > (r100), > > r200, and the nouveau-veaux driver. None of these are too crazy, but I don't > >

Re: [Mesa-dev] [PATCH] docs: add documentation for building with meson

2017-10-17 Thread Dylan Baker
Quoting Nicolai Hähnle (2017-10-17 13:05:12) > On 17.10.2017 21:21, Dylan Baker wrote: > > +CC, CFLAGS, CXX, CXXFLAGS > > +These environment variables > > +control the C and C++ compilers used during the build. The default > > compilers > > +depends on your ope

[Mesa-dev] [PATCH] meson: turn on pl111 not vc4 when pl111 driver specificed

2017-10-17 Thread Dylan Baker
cc: Eric Anholt <e...@anholt.net> fixes: 1918c9b1627d5403 ("meson: Add support for the pl111 driver.") Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- I missed this when I was reviewing, but saw it looking at the change log when I was rebasing some other work.

Re: [Mesa-dev] [PATCH] docs: add documentation for building with meson

2017-10-17 Thread Dylan Baker
Quoting Nicolai Hähnle (2017-10-17 13:40:00) > On 17.10.2017 22:33, Dylan Baker wrote: > > Quoting Nicolai Hähnle (2017-10-17 13:05:12) > >> On 17.10.2017 21:21, Dylan Baker wrote: > >>> +CC, CFLAGS, CXX, CXXFLAGS > >>> +These environment variables &

Re: [Mesa-dev] [PATCH 4/4] meson: build nouveau veaux driver

2017-10-17 Thread Dylan Baker
Quoting Ilia Mirkin (2017-10-17 12:02:05) > On Tue, Oct 17, 2017 at 2:51 PM, Dylan Baker <dy...@pnwbakers.com> wrote: > > Gah. French is one of the few romance languages I've never learned even a > > little > > of. > > > > Fixed locally, would you like me

Re: [Mesa-dev] [PATCH] Fix the xf86vm meson dependency

2017-10-17 Thread Dylan Baker
I could have sworn this got fixed already, but clearly not. reviewed-by: Dylan Baker <dy...@pnwbakers.com> On October 17, 2017 6:04:16 PM PDT, Nicholas Miell <nmi...@gmail.com> wrote: >The pkg-config file is called xxf86vm. > >Signed-off-by: Nicholas Miell <nmi...@gmail

Re: [Mesa-dev] [PATCH] docs: add documentation for building with meson

2017-10-18 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-18 04:02:07) > On Tuesday, 2017-10-17 19:21:10 +0000, Dylan Baker wrote: > > Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> > > --- > > > > I'm sending this out now so that others can look at it, review it, and > > re

Re: [Mesa-dev] [PATCH 01/10] anv/android: Link to Android libraries in the autotools build

2017-10-18 Thread Dylan Baker
Android with meson is still a TODO as a whole. If someone at google wanted to get all of that working I would be very appreciative Dylan Quoting Jason Ekstrand (2017-10-16 15:46:05) > No meson love? > > On Mon, Oct 16, 2017 at 11:54 AM, Chad Versace > wrote: > >

Re: [Mesa-dev] [PATCH] docs: add documentation for building with meson

2017-10-18 Thread Dylan Baker
Quoting Emil Velikov (2017-10-18 03:32:14) > On 17 October 2017 at 20:21, Dylan Baker <dy...@pnwbakers.com> wrote: > > Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> > > --- > > > > I'm sending this out now so that others can look at it, review it, and

[Mesa-dev] [PATCH v2] docs: add documentation for building with meson

2017-10-18 Thread Dylan Baker
of changes as suggested by Emil. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- docs/contents.html | 1 + docs/meson.html| 126 + 2 files changed, 127 insertions(+) create mode 100644 docs/meson.html diff --git a/docs/cont

Re: [Mesa-dev] [PATCH] docs: add documentation for building with meson

2017-10-18 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-18 14:48:49) > On Wednesday, 2017-10-18 18:45:19 +, Nicholas Miell wrote: > > On 10/17/2017 12:21 PM, Dylan Baker wrote: > > > + > > > +To see a description of your options you can run "meson configure". This >

Re: [Mesa-dev] [PATCH] docs: add documentation for building with meson

2017-10-18 Thread Dylan Baker
Quoting Nicholas Miell (2017-10-18 11:45:19) > On 10/17/2017 12:21 PM, Dylan Baker wrote: > > + > > +To see a description of your options you can run "meson configure". This > > will > > +show your meson project configuration options as well as your local

Re: [Mesa-dev] [PATCH v2] configure.ac: Define HAVE_ZLIB if zlib is found

2017-11-12 Thread Dylan Baker
On Fri, Nov 10, 2017, at 14:50, Emil Velikov wrote: > On 10 November 2017 at 22:18, Jordan Justen <jordan.l.jus...@intel.com> > wrote: > > v2: > > * Keep zlib required for autotools & meson (Emil) > > > > Cc: Emil Velikov <emil.veli...@collabora.co

Re: [Mesa-dev] [PATCH] amd: build addrlib with C++11

2017-11-15 Thread Dylan Baker
Nope. meson builds all C++ code as C++11 because so much of mesa's C++ code cannot be built without it (Because of LLVM). As far as I can tell the GLSL compiler and the Intel Compiler are the only C++ code in mesa not using C++11. Quoting Kai Wasserbäch (2017-11-15 08:45:30) > Doesn't the

Re: [Mesa-dev] [PATCH] amd: build addrlib with C++11

2017-11-15 Thread Dylan Baker
Quoting Ilia Mirkin (2017-11-15 09:52:06) > On Wed, Nov 15, 2017 at 12:47 PM, Dylan Baker <dy...@pnwbakers.com> wrote: > > Nope. meson builds all C++ code as C++11 because so much of mesa's C++ code > > cannot be built without it (Because of LLVM). As far as I can tell

Re: [Mesa-dev] [PATCH v2] threads, configure.ac, meson.build: define and use HAVE_TIMESPEC_GET

2017-11-15 Thread Dylan Baker
dded one of (and hopefully an appropriate) person that works on Haiku. Otherwise I think this looks good, as long as the Haiku guys think this is fine for them, Reviewed-by: Dylan Baker <dy...@pnwbakers.com> signature.asc Description: signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] meson: Don't define HAVE_PTHREAD only on linux

2017-11-15 Thread Dylan Baker
se get HAVE_PTHREADS. I also don't konw what depdnency('threads') returns on windows, but in mean time this probably fixes some platforms and doesn't break any that previous worked. Reviewed-by: Dylan Baker <dy...@pnwbakers.com> > > In include/c11/threads.h the cases are: > >

Re: [Mesa-dev] [PATCH] meson: Add dridriverdir variable to dri.pc.

2017-11-15 Thread Dylan Baker
Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Rafael Antognolli (2017-11-15 09:32:47) > Xorg (and possibly other things) depend on this variable to find the > path to DRI drivers. > > Signed-off-by: Rafael Antognolli <rafael.antogno...@intel.com> > Cc: Dylan

Re: [Mesa-dev] [PATCH v3] threads, configure.ac, meson.build: define and use HAVE_TIMESPEC_GET

2017-11-15 Thread Dylan Baker
This should make scons work correctly on every platform, so: Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Nicolai Hähnle (2017-11-15 12:58:12) > From: Nicolai Hähnle <nicolai.haeh...@amd.com> > > Tested with Travis and Appveyor. > > v2: add HAVE_TIMESPE

Re: [Mesa-dev] [PATCH v3 04/15] meson: build r600 driver

2017-11-14 Thread Dylan Baker
Quoting Marc Dietrich (2017-11-14 01:45:43) > Hi Dylan, > > Am Dienstag, 14. November 2017, 02:09:08 CET schrieb Dylan Baker: > > Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> > > Tested-by: Aaron Watry <awa...@gmail.com> > > --- > >

Re: [Mesa-dev] [PATCH v3 15/15] meson: build gallium xa state tracker

2017-11-14 Thread Dylan Baker
Quoting Marc Dietrich (2017-11-14 02:51:38) > Hi Dylan, > > Am Dienstag, 14. November 2017, 02:09:19 CET schrieb Dylan Baker: > > v2: - set with_gallium_xa when -Dgallium-xa=true > > - install pkg config file > > --- > > meson.build

<    1   2   3   4   5   6   7   8   9   10   >