I don't suppose someone would like to ack this?
Quoting Dylan Baker (2017-12-04 14:05:12)
> Fixes: 5e71efef44b992b5d70b ("meson: Add lmsensors support")
> Signed-off-by: Dylan Baker
> ---
> src/gallium/targets/libgl-xlib/meson.build | 2 +-
> 1 file chang
Quoting Eric Engestrom (2017-12-07 09:37:47)
> On Thursday, 2017-12-07 09:16:24 -0800, Dylan Baker wrote:
> > Quoting Eric Engestrom (2017-12-07 04:17:58)
> > > On Tuesday, 2017-12-05 09:40:53 -0800, Dylan Baker wrote:
> > > > Signed-off-by: Dylan Baker
> &
Quoting Eric Engestrom (2017-12-07 09:49:30)
> On Thursday, 2017-12-07 09:32:39 -0800, Dylan Baker wrote:
> > I don't suppose someone would like to ack this?
> >
> > Quoting Dylan Baker (2017-12-04 14:05:12)
> > > Fixes: 5e71efef44b992b5d70b ("meson: Add
Quoting Eric Engestrom (2017-12-07 10:13:27)
> On Thursday, 2017-12-07 09:57:19 -0800, Dylan Baker wrote:
> > Quoting Eric Engestrom (2017-12-07 09:37:47)
> > > On Thursday, 2017-12-07 09:16:24 -0800, Dylan Baker wrote:
> > > > Quoting Eric Engestrom (2017-12-07
Signed-off-by: Dylan Baker
---
src/gallium/drivers/r600/meson.build | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/r600/meson.build
b/src/gallium/drivers/r600/meson.build
index 2132dbb33ad..5899518a2e8 100644
--- a/src/gallium/drivers/r600
This enables the SWR driver, but doesn't actually hook it up to any of
the targets yet. I felt like this patch was big and complicated enough
without adding that.
Signed-off-by: Dylan Baker
---
meson.build| 12 +-
meson_option
generators), but
it's mostly contained in the relevant driver/state_tracker/target code.
Dylan Baker (4):
meson: Build SWR driver
meson: Turn on swr for relevant targets
meson: set opencl flags for r600
meson: build clover
include/meson.build
Currently that's dri, libgl-xlib, and osmesa.
CC: George Kyriazis
Signed-off-by: Dylan Baker
---
src/gallium/meson.build| 1 -
src/gallium/targets/dri/meson.build| 4 ++--
src/gallium/targets/libgl-xlib/meson.build | 2 +-
src/gallium/targets/osmesa/meson.
This has only been compile tested.
cc: Curro Jerez
Signed-off-by: Dylan Baker
---
include/meson.build | 19
meson.build | 27 +-
meson_options.txt | 12 +++
src/gallium/meson.build
Quoting Eric Engestrom (2017-12-11 07:49:07)
> > +if with_gallium_swr
> > + if meson.version().version_compare('< 0.44.0')
> > +error('SWR requires meson 0.44.0 or greater.')
> > + endif
>
> Mixed feelings about this, but I guess I'd rather land this now and
> remove these three lines later.
Quoting Eric Engestrom (2017-12-11 07:55:30)
> On Friday, 2017-12-08 16:27:21 -0800, Dylan Baker wrote:
> > Signed-off-by: Dylan Baker
>
> Should come after the current 4/4, but
> Reviewed-by: Eric Engestrom
>
> > ---
> > src/gallium/drivers/r600/meson.build |
Quoting Eric Engestrom (2017-12-11 08:17:50)
> On Friday, 2017-12-08 16:27:22 -0800, Dylan Baker wrote:
> > This has only been compile tested.
> >
> > cc: Curro Jerez
> > Signed-off-by: Dylan Baker
> > ---
> > include/meson.build
Quoting Emil Velikov (2017-12-11 12:06:35)
> On 7 December 2017 at 17:25, Dylan Baker wrote:
> > Quoting Emil Velikov (2017-12-07 08:40:27)
> >> On 7 December 2017 at 14:51, Eric Engestrom
> >> wrote:
> >> > Bugzilla: https://bugs.freedesktop.org/show
This test should rely on dispatch.h being generated, but it doesn't.
Signed-off-by: Dylan Baker
---
src/glx/tests/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/glx/tests/meson.build b/src/glx/tests/meson.build
index d81b76906da..51b2843fc90 100644
---
CC: Nicolai Hähnle
CC: Reviewed-by: Ian Romanick
CC: Mark Janes
Fixes: 46b21b8f906 ("mesa: add GL_ARB_gl_spirv boilerplate")
Signed-off-by: Dylan Baker
---
src/mesa/main/tests/dispatch_sanity.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/main/tests/dispatch_san
Quoting Eric Engestrom (2017-12-12 06:15:58)
> On Monday, 2017-12-11 11:50:01 -0800, Dylan Baker wrote:
> > Quoting Eric Engestrom (2017-12-11 07:55:30)
> > > On Friday, 2017-12-08 16:27:21 -0800, Dylan Baker wrote:
> > > > Signed-off-by: Dylan Baker
> > >
Quoting Emil Velikov (2017-12-12 07:04:09)
> On 11 December 2017 at 22:22, Dylan Baker wrote:
> > Quoting Emil Velikov (2017-12-11 12:06:35)
> >> On 7 December 2017 at 17:25, Dylan Baker wrote:
> >> > Quoting Emil Velikov (2017-12-07 08:40:27)
> >> >>
I fixed the copy and pasta for idr that included the r-b tag (I copied and
pasted from the git log), and added the bugzilla entry that Vinson opened
locally.
Quoting Dylan Baker (2017-12-12 11:50:30)
> CC: Nicolai Hähnle
> CC: Reviewed-by: Ian Romanick
> CC: Mark Janes
> Fixes:
Quoting Jan Vesely (2017-12-12 15:00:28)
> I can try to give it a go before my travels start on Thursday. Dylan,
> are there any prerequisites to this series?
>
> Jan
>
Just meson 0.44.0, which came out Sunday.
Dylan
signature.asc
Description: signature
___
Currently that's dri, libgl-xlib, and osmesa.
v2: - put drivers on a separate line from normal dependencies (Eric E)
Signed-off-by: Dylan Baker
Reviewed-by: Eric Engestrom
---
src/gallium/meson.build| 1 -
src/gallium/targets/dri/meson.build| 4 ++--
src/ga
or' (Eric E)
- Use variables to hold files instead of looking above the current
meson build (Eric E)
- Use foreach loops to reduce the number of unique generators
- Add comment about why some generators have names and some are just
added to a list
CC: George Kyr
This has only been compile tested.
v2: - Have a single option for opencl (Eric E)
- fix typo "tgis" -> "tgsi" (Curro)
- Don't add "lib" prefix to pipe loader libraries, which matches the
autotools behavior
cc: Curro Jerez
cc: Jan Vesely
cc: A
Signed-off-by: Dylan Baker
---
src/gallium/drivers/r600/meson.build | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/r600/meson.build
b/src/gallium/drivers/r600/meson.build
index 2132dbb33ad..5899518a2e8 100644
--- a/src/gallium/drivers/r600
cc: Jason Ekstrand
Signed-off-by: Dylan Baker
---
meson.build | 9 +
1 file changed, 9 insertions(+)
diff --git a/meson.build b/meson.build
index 6e5ae4d24e9..b00c1ffc3dc 100644
--- a/meson.build
+++ b/meson.build
@@ -29,6 +29,15 @@ project(
default_options : ['buil
Quoting Jan Vesely (2017-12-13 12:53:25)
> On Wed, 2017-12-13 at 09:47 -0800, Dylan Baker wrote:
> > +if (with_gallium_va or with_gallium_vdpau or with_gallium_omx or
> > +with_gallium_xvmc or with_dri)
> > + pipe_loader_link_with += libgalliumvl
> > +else
&
Quoting Francisco Jerez (2017-12-13 13:01:29)
> Jan Vesely writes:
> > meson asked for libdrm_amdgpu dependency even though I'm only building
> > clover+r600g driver.
> > after a bit of fiddling with PATH and PK_CONFIG_PATH to pick up the latest
> > llvm/liblclc
> > linking failed with:
> > src/
Quoting Jan Vesely (2017-12-13 13:36:25)
> On Wed, 2017-12-13 at 13:01 -0800, Francisco Jerez wrote:
> > Jan Vesely writes:
> >
>
> autotools build works OK with no-rtti build of llvm, I've been running
> like that for some time. LLVM_CXXFLAGS which include fno-rtti are only
> used to build libc
Quoting Eric Engestrom (2017-12-13 13:43:24)
> On Wednesday, 2017-12-13 10:33:05 -0800, Dylan Baker wrote:
> > cc: Jason Ekstrand
> > Signed-off-by: Dylan Baker
> > ---
> > meson.build | 9 +
> > 1 file changed, 9 insertions(+)
> >
> > dif
Quoting Jan Vesely (2017-12-13 14:23:21)
> On Wed, 2017-12-13 at 13:54 -0800, Dylan Baker wrote:
> > Quoting Jan Vesely (2017-12-13 12:53:25)
> > > On Wed, 2017-12-13 at 09:47 -0800, Dylan Baker wrote:
> > > > +if (with_gallium_va or with_galliu
Quoting Jan Vesely (2017-12-14 11:58:03)
>
> I use a symlink from install target to build dir to make it work on
> autotools build.
> My point was that meson defines PIPE_SEARCH_DIR to be relative path
> '-DPIPE_SEARCH_DIR="lib64/gallium-pipe"'
> even if I configure meson using --prefix=$HOME/.loc
e PIPE_SEARCH_DIR an absolute path
cc: Curro Jerez
cc: Jan Vesely
cc: Aaron Watry
Signed-off-by: Dylan Baker
---
include/meson.build | 19
meson.build | 29 +-
meson_options.txt | 7 ++
src/gal
Currently that's dri, libgl-xlib, and osmesa.
v2: - put drivers on a separate line from normal dependencies (Eric E)
cc: George Kyriazis
cc: Tim Rowley
cc: Bruce Cherniak
Signed-off-by: Dylan Baker
Reviewed-by: Eric Engestrom
---
George, Tim, and Bruce,
I don't know if you guy
or' (Eric E)
- Use variables to hold files instead of looking above the current
meson build (Eric E)
- Use foreach loops to reduce the number of unique generators
- Add comment about why some generators have names and some are just
added to a list
v3: - Remove trailing white
Signed-off-by: Dylan Baker
---
src/gallium/drivers/r600/meson.build | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/r600/meson.build
b/src/gallium/drivers/r600/meson.build
index 2132dbb33ad..5899518a2e8 100644
--- a/src/gallium/drivers/r600
Quoting Emil Velikov (2017-12-15 09:35:03)
> On 15 December 2017 at 16:49, Eric Engestrom
> wrote:
> > On Friday, 2017-12-15 17:17:55 +0100, Juan A. Suarez Romero wrote:
> >> Travis CI has moved to LLVM 5.0, and meson is detecting automatically
> >> the available version.
> >>
> >> So just let's
Quoting Emil Velikov (2017-12-15 09:35:03)
>
> Not to mention that distributions (Debian for example) allow multiple
> versions to coexist, naming the binary - llvm-config-$version.
>
Just to add information, meson will try (with 0.44.0):
llvm-config, reversed(llvm-config-${3.5-5.0}), reversed(l
Quoting Gert Wollny (2017-12-15 11:30:07)
> Am Freitag, den 15.12.2017, 18:49 +0100 schrieb Gert Wollny:
> > Am Freitag, den 15.12.2017, 17:17 +0100 schrieb Juan A. Suarez
> > Romero:
> > > Travis CI has moved to LLVM 5.0, and meson is detecting
> > > automatically
> > > the available version.
> >
Quoting Eric Engestrom (2017-12-18 08:33:18)
> From: Brendan King
>
> DRI modules store the address of the dispatch table in a TLS variable,
> _glapi_tls_Dispatch.
>
> Changes to the way libEGL is built in d884d8d0077c16d459b1 resulted in
> it being statically linked against libglapi, and thus c
ping.
Quoting Dylan Baker (2017-12-15 10:54:18)
> This has only been compile tested.
>
> v2: - Have a single option for opencl (Eric E)
> - fix typo "tgis" -> "tgsi" (Curro)
> - Don't add "lib" to pipe loader libraries, which matches t
Fixes a race condition in the build which causes sporadic failures when
-Dbuild-tests=true and a significant number of cores is present.
Fixes: d1992255bb29 ("meson: Add build Intel "anv" vulkan driver")
CC: Mark Janes
Signed-off-by: Dylan Baker
---
src/compiler/
iring everything which depends on nir gather
> up a bunch of random generator dependencies seems a bit fragile.
>
> On Wed, Jan 3, 2018 at 9:28 AM, Dylan Baker wrote:
>
> Fixes a race condition in the build which causes sporadic failures when
> -Dbuild-tests=true and a sign
a wrapped dependency wit ext_foo
variables. This means it can be used to build a mesa that requires a
newer libdrm than the system provides (which can be especially useful if
you can't install packages on that system) and for testing.
This has been build tested only.
Dylan Baker (3):
Add
I have tested that a tarball generated by autotools can be built with meson.
Signed-off-by: Dylan Baker
---
Makefile.am | 30 +-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 7b86214..66f70ca 100644
--- a/Makefile.am
This patch adds a complete meson build system, including tests and
install. It has the necessary hooks to allow it be used as a subproject
for other meson based builds such as mesa.
Signed-off-by: Dylan Baker
---
.editorconfig | 4 +-
amdgpu/.editorconfig| 5 +-
amdgpu
Signed-off-by: Dylan Baker
---
README | 21 ++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/README b/README
index 26cab9d..58e55bc 100644
--- a/README
+++ b/README
@@ -15,9 +15,24 @@ with an older kernel.
Compiling
-
-libdrm is a standard
Quoting Dylan Baker (2018-01-03 13:31:28)
> diff --git a/freedreno/meson.build b/freedreno/meson.build
> new file mode 100644
> index 000..47d6e44
> --- /dev/null
> +++ b/freedreno/meson.build
> @@ -0,0 +1,82 @@
> +# Copyright © 2017 Intel Corporation
> +
> +# P
Quoting Igor Gnatenko (2018-01-03 15:22:36)
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> On Wed, 2018-01-03 at 13:31 -0800, Dylan Baker wrote:
> > This patch adds a complete meson build system, including tests and
> > install. It has the necessary hooks
Signed-off-by: Dylan Baker
---
Makefile.am | 30 +-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 7b86214..66f70ca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -135,7 +135,35 @@ if HAVE_VMWGFX
klibdrminclude_HEADERS
- build and install modetest (this was missed in the first version for
some reason)
- install amdgpu.ids as 644 instead of 444
Dylan Baker (3):
Add meson build system
autotools: Include meson.build files in tarball
README: Add note about meson
.editorconfig | 4 +-
Signed-off-by: Dylan Baker
---
README | 21 ++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/README b/README
index 26cab9d..58e55bc 100644
--- a/README
+++ b/README
@@ -15,9 +15,24 @@ with an older kernel.
Compiling
-
-libdrm is a standard
This patch adds a complete meson build system, including tests and
install. It has the necessary hooks to allow it be used as a subproject
for other meson based builds such as mesa.
v4: - fix freedreno kgls check
Signed-off-by: Dylan Baker
---
.editorconfig | 4 +-
amdgpu
Quoting Igor Gnatenko (2018-01-04 13:43:51)
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> On Thu, 2018-01-04 at 10:28 -0800, Dylan Baker wrote:
> > This patch adds a complete meson build system, including tests and
> > install. It has the necessary hooks
Quoting Eric Engestrom (2018-01-05 05:49:25)
> On Thursday, 2018-01-04 10:28:42 -0800, Dylan Baker wrote:
> > Signed-off-by: Dylan Baker
>
> Couple nitpicks, but:
> Reviewed-by: Eric Engestrom
>
> > ---
> > README | 21 ++---
> > 1 file
Quoting Eric Engestrom (2018-01-05 06:02:52)
> On Thursday, 2018-01-04 10:28:41 -0800, Dylan Baker wrote:
> > Signed-off-by: Dylan Baker
>
> Do we really want to use autotools' `dist` to package libdrm once meson
> has landed?
> I would've though we would switch t
Quoting Eric Engestrom (2018-01-05 05:34:53)
> On Wednesday, 2018-01-03 13:31:28 -0800, Dylan Baker wrote:
> > This patch adds a complete meson build system, including tests and
> > install. It has the necessary hooks to allow it be used as a subproject
> > for other meson
generates
during compilation)
- Don't assign file lists to variables when possible. In a few cases
files need to be conditionally added, but if we're not in one of
those cases just put the lists directly in the exectuable or library
declaration.
Dylan Baker (3):
Add
This patch adds a complete meson build system, including tests and
install. It has the necessary hooks to allow it be used as a subproject
for other meson based builds such as mesa.
Signed-off-by: Dylan Baker
Reviewed-and-tested-by: Igor Gnatenko
---
.editorconfig | 4
Signed-off-by: Dylan Baker
---
README | 24 +---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/README b/README
index 26cab9d..f3df9ac 100644
--- a/README
+++ b/README
@@ -15,9 +15,27 @@ with an older kernel.
Compiling
-
-libdrm is a standard
Signed-off-by: Dylan Baker
---
Makefile.am | 30 +-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 7b86214..66f70ca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -135,7 +135,35 @@ if HAVE_VMWGFX
klibdrminclude_HEADERS
Quoting Greg V (2017-12-31 08:55:22)
> ---
> meson.build | 43 ++-
> 1 file changed, 22 insertions(+), 21 deletions(-)
>
> diff --git a/meson.build b/meson.build
> index d9f7ea9b2c..af62baf437 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -199,12 +199
We absolutely can't merge this as-is, it will break all of the these since
they'll end up linking the backend and frontend, which we're not supposed to do.
The bug you linked to has nothing to do with the problem you describe either,
that issue is that `dependency("threads")` is special in meson,
Quoting Juan A. Suarez Romero (2018-01-05 04:42:05)
> On Fri, 2018-01-05 at 10:35 +0100, Gert Wollny wrote:
> > On Sun, 2017-12-31 at 19:55 +0300, Greg V wrote:
> > > > When LLVM is built inside of a git repo (even way below, e.g.
> > > > /usr/ports/.git
> > > > exists, and LLVM is built in /usr/p
Please add a comment that svn suffixes are stripped by meson as of 0.43, and git
suffixes are strippped as of 0.44. With that,
Reviewed-by: Dylan Baker
Quoting Greg V (2017-12-31 08:55:24)
> When LLVM is built inside of a git repo (even way below, e.g. /usr/ports/.git
> exists, and L
Quoting Greg V (2017-12-31 08:55:25)
> ---
> src/gallium/drivers/radeonsi/meson.build | 2 +-
> src/mesa/meson.build | 1 +
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeonsi/meson.build
> b/src/gallium/drivers/radeonsi/meson.build
Reviewed-by: Dylan Baker
Quoting Greg V (2017-12-31 08:55:28)
> ---
> src/compiler/glsl/meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/compiler/glsl/meson.build b/src/compiler/glsl/meson.build
> index 6aaa9bab05..9e7589c325 100644
&g
Thanks so much for working on this, especially the meson bits!
Quoting Greg V (2017-12-31 08:55:14)
> Hello everyone and happy new year! :)
>
> This set of patches makes the Meson build work on FreeBSD, including
> RADV, ANV, wayland-egl, VAAPI, VDPAU.
>
> I also managed to get SWR working, but
Quoting Jan Vesely (2018-01-05 14:16:41)
> Hi,
>
>
> sorry for the delay. I was mostly traveling during the holidays.
No worries, I was also away over the holidays and didn't look at this until
today.
>
> On Fri, 2017-12-15 at 10:54 -0800, Dylan Baker wrote:
> &g
Don't use intermediate variables, use consistent whitespace.
Signed-off-by: Dylan Baker
---
src/broadcom/qpu/meson.build| 12 ++-
src/compiler/glsl/tests/meson.build | 90 --
src/compiler/nir/meson.build| 19 ++---
src/egl/wa
Currently the meosn build has a mix of two styles:
arg : [foo, ...
bar],
and
arg :[
foo, ...,
bar,
]
For consistency let's pick one. I've picked the later style, which I
think is more readable, and is more common in the mesa code base.
Signed-off-by: Dylan Baker
---
src/a
Otherwise this could be undefined in the egl directory.
Signed-off-by: Dylan Baker
---
src/meson.build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/meson.build b/src/meson.build
index 5fc14ac..730b2ff 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -67,6 +67,8 @@ subdir
nir and nir's generated headers. This
should make the code easier to maintain going forward.
Dylan Baker (8):
meson: Use consistent style
meson: Use include variables
meson: Use consistent style for tests
meson: don't use intermediate variables that are immediately discarded
high.
Signed-off-by: Dylan Baker
---
src/amd/common/meson.build| 5 +++--
src/amd/vulkan/meson.build| 6 +++---
src/broadcom/compiler/meson.build | 4 ++--
src/compiler/glsl/meson.build | 3 ++-
src/compiler/meson.build
For things like:
loop
x = func()
list += x
end
just do:
loop
list += func()
end
Signed-off-by: Dylan Baker
---
src/broadcom/cle/meson.build | 3 +--
src/intel/genxml/meson.build | 3 +--
src/intel/isl/meson.build | 6 ++
src/intel/vulkan
Signed-off-by:
---
include/meson.build | 1 +
src/glx/meson.build | 10 ++
src/glx/tests/meson.build | 4 ++--
3 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/include/meson.build b/include/meson.build
index e4dae91..9b34490 100644
--- a/include/meson.build
++
This simplifies the build by removing the need to link targets against
libsensors.
Suggested-by: Emil Velikov
Signed-off-by: Dylan Baker
---
src/gallium/auxiliary/meson.build | 2 +-
src/gallium/drivers/etnaviv/meson.build | 2 +-
src/gallium/drivers/freedreno/meson.build | 1
These were added after adderlib was mesonified, but it still good to use
them instead of open coding them.
Signed-off-by: Dylan Baker
---
src/amd/addrlib/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/addrlib/meson.build b/src/amd/addrlib/meson.build
On January 5, 2018 5:12:15 PM PST, Greg V wrote:
>
>On 01/06/2018 01:06, Dylan Baker wrote:
>> Quoting Greg V (2017-12-31 08:55:22)
>>> +is_like_linux = host_machine.system() == 'linux' or
>host_machine.system().contains('bsd') # FIXME: illumos?
>
On January 5, 2018 5:00:59 PM PST, Greg V wrote:
>On 01/06/2018 01:36, Dylan Baker wrote:
>> Quoting Greg V (2017-12-31 08:55:25)
>>> ---
>>> src/gallium/drivers/radeonsi/meson.build | 2 +-
>>> src/mesa/meson.build | 1 +
>>>
Quoting Jan Vesely (2018-01-06 15:18:54)
> On Fri, 2018-01-05 at 15:26 -0800, Dylan Baker wrote:
> > Quoting Jan Vesely (2018-01-05 14:16:41)
> > > Hi,
> > >
> > >
> > > sorry for the delay. I was mostly traveling during the holidays.
> >
&g
I'm not sure off the top of my head. I don't have an r600 anymore, but I have an
SI and a nouveau machine, so I'll see if I can reproduce the problem there and
fix it.
Dylan
Quoting Marc Dietrich (2018-01-09 02:38:33)
> Hi Dylan,
>
> just found that vdpau does not work on r600 with meson build.
ocation of make or ninja. I think this can be
fixed upstream, but in the mean time this adds support for using
translations.
Signed-off-by: Dylan Baker
---
src/util/xmlpool/gen_translations.py | 91 +-
src/util/xmlpool/meson.build | 31 +++---
2 files ch
I forgot to CC you on this like you asked,
Dylan
Quoting Dylan Baker (2018-01-05 12:00:57)
> This is a fifth iteration of the meson build system for libdrm. This
> version is significantly cleaned up from the last version and uses a
> style more like the build system in mesa.
>
>
I also prefer Jason's approach of moving just the creation of the mako Template
inside the if __main__ block, but leaving the actual string at the top level.
Alternatively we could split anv_extensions.py into two files: one that has the
constant data, and one that generates anv_extensions.c. I th
Reviewed-by: Dylan Baker
Quoting Andres Gomez (2018-01-10 13:11:51)
> anv_extensions usage from anv_icd was bringing the unwanted dependency
> of mako templates for the latter. We don't want that since it will
> force the dependency even for distributable tarballs which was not
Please make sure the new .c file is added in the meson build as well before
pushing.
Dylan
Quoting Christian König (2018-01-10 05:03:44)
> My last status was that Leo wanted to commit this.
>
> Leo are you still waiting for something?
>
> Christian.
>
> Am 10.01.2018 um 10:29 schrieb Julien Is
ython, no more
diff, pwd or sh. It's also no longer tied to autotools implementation
details, like the environment variables $srcdir and $abs_builddir,
though the autotools shell wrapper still uses those, which makes it
possible to run the test in meson.
Signed-off-by: Dylan Baker
---
src/com
Signed-off-by: Dylan Baker
---
src/compiler/glsl/tests/meson.build | 5 +
1 file changed, 5 insertions(+)
diff --git a/src/compiler/glsl/tests/meson.build
b/src/compiler/glsl/tests/meson.build
index 11fb4fb..d5e6b5f 100644
--- a/src/compiler/glsl/tests/meson.build
+++ b/src/compiler/glsl
This ports glcpp-test.sh and glcpp-test-cr-lf.sh to a python script that
accepts arguments for each line ending type. This should allow for
better reporting to users.
Signed-off-by: Dylan Baker
---
src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh | 148 +--
src/compiler/glsl/glcpp
-Wl,-whole-archive where autotools doesn't.
Quoting Eric Engestrom (2018-01-11 08:58:32)
> On Tuesday, 2018-01-09 10:09:16 -0800, Dylan Baker wrote:
> > I'm not sure off the top of my head. I don't have an r600 anymore, but I
> > have an
> > SI and a nouve
Signed-off-by: Dylan Baker
---
src/compiler/glsl/tests/compare_ir.py | 58 +
1 file changed, 58 deletions(-)
delete mode 100644 src/compiler/glsl/tests/compare_ir.py
diff --git a/src/compiler/glsl/tests/compare_ir.py
b/src/compiler/glsl/tests/compare_ir.py
deleted
This patch converts optimization-test.sh to python, in this process it
removes external shell dependencies including diff. It replaces the
python script that generates shell scripts with a python library that
generates test cases and runs them using subprocess.
Signed-off-by: Dylan Baker
This is somewhat insufficient, it might run okay with python3, but the behavior
will be different between the two. Please add `from __future__ import
print_function`, so that the behavior will be the same, not just the syntax.
Also, the StringTable, InteTable, Field, and Reg classes is also an old
not meant to
be run directly, just to wrap the python scripts for autotools.
Dylan Baker (10):
glsl/tests: reimplement warnings-test in python
meson: run glsl compiler warnings test
glsl/tests: Convert optimization-test.sh to pure python
meson: enable optimization-test
glsl/tests: Remove
Signed-off-by: Dylan Baker
---
src/gallium/targets/vdpau/meson.build | 16 +---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/src/gallium/targets/vdpau/meson.build
b/src/gallium/targets/vdpau/meson.build
index 67f1469fb0f..432a32a7340 100644
--- a/src/gallium
Signed-off-by: Dylan Baker
---
src/compiler/glsl/glcpp/meson.build | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/src/compiler/glsl/glcpp/meson.build
b/src/compiler/glsl/glcpp/meson.build
index 17ee1a2..9f869da 100644
--- a/src/compiler/glsl/glcpp
Signed-off-by: Dylan Baker
---
src/gallium/tests/meson.build | 1 +-
src/gallium/tests/unit/meson.build | 31 +++-
2 files changed, 32 insertions(+)
create mode 100644 src/gallium/tests/unit/meson.build
diff --git a/src/gallium/tests/meson.build b/src/gallium
Signed-off-by: Dylan Baker
---
src/compiler/glsl/tests/meson.build | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/compiler/glsl/tests/meson.build
b/src/compiler/glsl/tests/meson.build
index 27f3407..11fb4fb 100644
--- a/src/compiler/glsl/tests/meson.build
They're already done.
Signed-off-by: Dylan Baker
---
src/mesa/meson.build | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/mesa/meson.build b/src/mesa/meson.build
index ab6bc27..ce612fb 100644
--- a/src/mesa/meson.build
+++ b/src/mesa/meson.build
@@ -18,8 +18,6 @@
# OUT OF
Signed-off-by: Dylan Baker
---
meson.build | 2 +--
src/gallium/meson.build | 6 --
src/gallium/tests/meson.build | 21 -
src/gallium/tests/trivial/meson.build | 29 -
4 files changed, 54
S_PATH (I can never remember). Running with 'strace -f'
> can help figure this stuff out.
>
> -ilia
>
> On Thu, Jan 11, 2018 at 12:21 PM, Dylan Baker wrote:
> > I couldn't reproduce with nouveau, vdpauinfo seems hardcoded to look for
> > vdpau_nvidia, and j
701 - 800 of 2581 matches
Mail list logo