[PATCH libdrm] meson: honor -Detnaviv=auto
Guido Günther
agx at sigxcpu.org
Fri Sep 21 15:30:42 UTC 2018
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(-)
diff --git a/meson.build b/meson.build
index 75c7bdff..8001a9cc 100644
--- a/meson.build
+++ b/meson.build
@@ -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'
--
2.18.0
More information about the dri-devel
mailing list