Skip to contentSkip to conversation

glmark2: don't build full OpenGL backends by default

PATCH New Joshua Watt 1 participant 1 message Jul 16, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glmark2: don't build full OpenGL backends by default

From: Matt Hoosier <[email protected]>

Most embedded GPU's implementations OpenGL include only the OpenGL ES APIs. Attempting to compile the {x11,wayland,drm}-gl variants of GLMark fail in those cases.

---
 meta-oe/recipes-benchmark/glmark2/glmark2_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-benchmark/glmark2/glmark2_git.bb +3 -3
index 6d20bbdaf..82821ad63 100644
@@ -24,9 +24,9 @@ inherit waf pkgconfig features_check
 
 REQUIRED_DISTRO_FEATURES += "opengl"
 
-PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11-gl x11-gles2', '', d)} \
-                  ${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'wayland-gl wayland-gles2', '', d)} \
-                  drm-gl drm-gles2"
+PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11-gles2', '', d)} \
+                  ${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'wayland-gles2', '', d)} \
+                  drm-gles2"
 
 PACKAGECONFIG[x11-gl] = ",,virtual/libgl virtual/libx11"
 PACKAGECONFIG[x11-gles2] = ",,virtual/libgles2 virtual/libx11"
Signature · 1 line
2.27.0