Skip to contentSkip to conversation

glmark2: new package

PATCH New Bernd Kuhls 2 participants 2 messages Dec 14, 2014 – Jan 10, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v6 1/1 glmark2: new package

From: Spenser Gilliland <[email protected]>

---
v6: - bumped version (Yann)
- removed patch to add support for libpng16, committed upstream (Yann)
- reworked dependencies and GLMARK2_CONFIGURE_CMDS (Yann)
v5: - renamed patch according to new naming convention
- depend on mesa3d (Yann)
v4: - rebased Spenser?s patch: http://patchwork.ozlabs.org/patch/278304/
- switched to new official repo, see https://launchpad.net/glmark2
this also removes fbdev support, since I can not test it
- removed Spencer?s SUNXI_MALI patches, due to lack of hardware I can not test it
- renamed options for virtual GL packages
- reworked dependencies, I hope I got all combinations right
- added patch to support current libpng

sq glmark2

---
 package/Config.in          |    1 +
 package/glmark2/Config.in  |   31 ++++++++++++++++++++
 package/glmark2/glmark2.mk |   67 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 99 insertions(+)
 create mode 100644 package/glmark2/Config.in
 create mode 100644 package/glmark2/glmark2.mk
package/Config.in +1 -0
index 848956a..3bb625b 100644
@@ -189,6 +189,7 @@ menu "Graphic libraries and applications (graphic/text)"
 
 comment "Graphic applications"
 	source "package/fswebcam/Config.in"
+	source "package/glmark2/Config.in"
 	source "package/gnuplot/Config.in"
 	source "package/jhead/Config.in"
 	source "package/mesa3d-demos/Config.in"
package/glmark2/Config.in new file +31 -0
new file mode 100644
index 0000000..2d799fe
@@ -0,0 +1,31 @@
+config BR2_PACKAGE_GLMARK2_EGL_GLES
+	bool
+	default y
+	depends on BR2_PACKAGE_HAS_LIBEGL
+	depends on BR2_PACKAGE_HAS_LIBGLES
+	depends on BR2_PACKAGE_MESA3D
+
+config BR2_PACKAGE_GLMARK2_GL
+	bool
+	default y
+	depends on BR2_PACKAGE_HAS_LIBGL
+	depends on BR2_PACKAGE_MESA3D
+
+comment "glmark2 needs an OpenGL or an openGL ES and EGL backend provided by mesa3d"
+	depends on BR2_LARGEFILE
+	depends on !BR2_PACKAGE_GLMARK2_GL && !BR2_PACKAGE_GLMARK2_EGL_GLES
+
+config BR2_PACKAGE_GLMARK2
+	bool "glmark2"
+	depends on BR2_LARGEFILE
+	depends on BR2_PACKAGE_GLMARK2_GL || BR2_PACKAGE_GLMARK2_EGL_GLES
+	select BR2_PACKAGE_JPEG
+	select BR2_PACKAGE_LIBPNG
+	help
+	  glmark2 is an OpenGL 2.0 and ES 2.0 benchmark.
+
+	  https://github.com/glmark2/glmark2
+
+comment "glmark2 needs udev /dev management and a toolchain w/ C++, largefile, NPTL"
+	depends on !BR2_LARGEFILE || !BR2_INSTALL_LIBSTDCPP || \
+		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_PACKAGE_HAS_UDEV
package/glmark2/glmark2.mk new file +67 -0

67 lines not on this page · raw message

Signature · 1 line
1.7.10.4
#1 lore raw

PATCH v6 1/1 glmark2: new package

Dear Bernd Kuhls,

Quoted 4 lines · Bernd Kuhls

From: Spenser Gilliland <[email protected]>

I'm sorry, but this still doesn't build for me:

BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2014.11.tar.bz2" BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17=y
BR2_TOOLCHAIN_EXTERNAL_LARGEFILE=y
BR2_TOOLCHAIN_EXTERNAL_INET_IPV6=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_GLMARK2=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_RPI_USERLAND=y

gives:

Checking for 'libdrm' : not found
The configuration failed
(complete log in /home/thomas/projets/buildroot/output/build/glmark2-499aa81a68fb4c8aac1c80f0d6a4cce05941c4cc/build/config.log) package/pkg-generic.mk:172: recipe for target '/home/thomas/projets/buildroot/output/build/glmark2-499aa81a68fb4c8aac1c80f0d6a4cce05941c4cc/.stamp_configured' failed

Can you have a look?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com