meson: honor -Detnaviv=auto
PATCH 1/1 meson: honor -Detnaviv=auto
We support that value so it should work as expected. This does not make 'auto' the default since the API is still marked as experimental.
--- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meson.build +2 -2
@@ -142,11 +142,11 @@ endif with_etnaviv = false _etnaviv = get_option('etnaviv') -if _etnaviv == 'true' +if _etnaviv != 'false' if not with_atomics error('libdrm_etnaviv requires atomics.') endif - with_etnaviv = true + with_etnaviv = _etnaviv == 'true' or ['arm', 'aarch64'].contains(host_machine.cpu_family()) endif with_exynos = get_option('exynos') == 'true'
Signature · 5 lines
2.18.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 11 lines · Guido Günther
We support that value so it should work as expected. This does not make 'auto' the default since the API is still marked as experimental.
--- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meson.build +0
-0
meson.build endif · line 147
Quoted 7 lines
meson.build +1
-1@@ -142,11 +142,11 @@ endif with_etnaviv = false _etnaviv = get_option('etnaviv') -if _etnaviv == 'true' +if _etnaviv != 'false' if not with_atomics error('libdrm_etnaviv requires atomics.')
We shouldn't error out in the 'auto' case; please modify the with_atomic if above to add _etnaviv == 'true' and .... With that, the patch is:
meson.build endif · line 149
Quoted 3 lines
meson.build +1
-1endif - with_etnaviv = true + with_etnaviv = _etnaviv == 'true' or ['arm', 'aarch64'].contains(host_machine.cpu_family())
That said, I have no idea if enabling it by default on ARM is the right thing, so I'll let Lucas and/or Christian decide this :)
(You should wait for their reply before sending your v2)
Quoted 9 lines
meson.build +0
-0endif with_exynos = get_option('exynos') == 'true'Signature · 5 lines
2.18.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel