aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/piglit/piglit_git.bb
AgeCommit message (Collapse)Author
2018-10-08piglit: inherit pkgconfigPascal Bach
The CMakeLists.txt of piglit uses pkgconfig internally. This makes sure pkgconfig-native is available in any case. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-10-08piglit: correctly find wayland include dirsPascal Bach
Builds include host /usr/include as the wrong wayland variable was used. The issue only surfaces if CMAKE_SYSROOT is properly set. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-16piglit: Upgrade to version from 2018-08-13Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-27piglit: upgrade to latest revisionMaxin B. John
Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-01piglit: upgrade to current git masterMaxin B. John
Upgrade to revision: 4ce0887e2f7f848d2be2e435a2d0f3c80e44ea3b remove backported patch: 0001-tests-egl-egl-context-priority.c-Use-piglit_egl_get_.patch Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-20python: fix RDEPENDS on several recipes, due to non-existent packagesAlejandro Hernandez
The packaging has been altered slightly so ensure the dependencies are all still valid. Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-01-17piglit: override install target name instead of do_installRoss Burton
Simply override the install target, instead of reimplementing do_install. Apart from being neater, this also stops the recipe expecting that cmake is using the Make backend. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-09recipes-graphics/piglit: Add patch to fix build in some platformsAníbal Limón
The entry point is not guaranteed to exist, so use the piglit_egl_get_default_display() helper which does the correct thing. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-11-29oe-core: take UPSTREAM_CHECK_COMMITS into use where possibleAlexander Kanavin
This greatly reduces the amount of recipes for which upstream version check fails: from about 30 to about 8. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-08-16selftest: fix distrodata.py to use per-recipe UPSTREAM_VERSION_UNKNOWN settingAlexander Kanavin
... instead of a global exception list which was problematic. [YOCTO #11896] Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-11piglit: Update to current git masterJussi Kukkonen
Update, remove backported patches. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-06piglit: fix building issues regarding gbm_bo_map and a MESA testDaniel Díaz
These patches fix a few building problems but are not being taken into consideration at the moment, even though they have been reviewed upstream with most of them merged (and accepted already in OE-core master): 1.- CMake: define GBM_BO_MAP only when symbol is found 2.- util/egl: Honour Surfaceless MESA in get_default_display 3.- egl_mesa_platform_surfaceless: Don't use eglGetPlatformDisplay directly 4.- egl_mesa_platform_surfaceless: Use EXT functions for surfaces Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-30piglit: depend on virtual/eglDaniel Díaz
While building for Hikey using Mali 450 driver (r6p0), an error like the following appears while linking: [ 1%] Linking C shared library ../../../../lib/libpiglitutil.so [...] [...]/aarch64-linaro-linux/gcc/aarch64-linaro-linux/6.3.1/ld: cannot find -lEGL collect2: error: ld returned 1 exit status make[2]: *** [lib/libpiglitutil.so.0] Error 1 Mesa generally provides virtual/egl (along with virtual/libgl, which satisfies Piglit's current DEPENDS) but that is not the implementation to use with Mali. Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-23piglit: Upgrade to current masterJussi Kukkonen
Remove backported patches. Add runtime dependency for netserver (as socketserver was recently moved there) and depend on libxkbcommon (this is really only needed for wayland support which could be made configurable). (From OE-Core rev: 5a3fa55f397bb89f75fb714b1d93aa76125cc09a) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-05piglit: add opengl to REQUIRED_DISTRO_FEATURESChristopher Larson
This recipe depend on virtual/libgl, whose providers require the opengl distro feature. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-14piglit: Backport linker flag patchJussi Kukkonen
Use the correct build system patch instead of adding linker flags in recipe. Also update upstream status for the other build patch. Fixes [YOCTO #9851]. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-25piglit: Add python3-argparse module to RDEPENDSFabio Berton
Python module argparse was removed from python3-misc package, so we need to add new python3-argparse package to RDEPENDS. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-10piglit: fix build failure with gold linkerMaxin B. John
When we use gold linker while DISTRO set to "nodistro", piglit build fails with the following error: | ../../../../lib/libpiglitutil_gl.so.0: error: undefined reference to 'dlsym' | ../../../../lib/libpiglitutil_gl.so.0: error: undefined reference to 'dlerror' | ../../../../lib/libpiglitutil_gl.so.0: error: undefined reference to 'dlopen' | collect2: error: ld returned 1 exit status Fix it by providing '-ldl' to LDFLAGS. [YOCTO #9851] Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-25piglit: Add build fix patchJussi Kukkonen
Fixes [YOCTO #9851] (fingers crossed). Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20piglit: Fix build on musl/armKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20piglit: Upgrade version, use python3Jussi Kukkonen
* Remove backported patch * Update dependencies to use python3 modules, add depencies added in the new version * Install only stripped binaries to keep size down * Fix bash-completion install location Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-02-11piglit: upgrade SRCREVRoss Burton
Upgrade the SRVREV to a slightly more up-to-date revision, this time from 2015-02-19. This commit in particular was chosen as it's the one before Piglit gained a hard dependnecy on python-six, which isn't yet in oe-core. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11piglit: add missing dependency on python-xmlRoss Burton
Piglit uses ElementTree so ensure that python-xml is a dependency. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-04piglit: don't use /tmp to write generated sources toRoss Burton
If there are multiple builds on the same machine then piglit writing it's generated sources to /tmp will race. Instead, export TEMP to tell the tempfile module to use a temporary directory under ${B}. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-16meta: more removals of redunant FILES_${PN}-dbgRoss Burton
In some recipes overly-split -dbg packages were merged into PN-dbg. Unless there's a very good reason, recipes should have a single -dev and -dbg package. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-16piglit: Fix floating dependency on freeglutRoy Li
71158fa1a623125[fix floating dependence on freeglut] is incomplete, so continue by removing glut.h header file when not enable freeglut Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-26piglit: fix floating dependence on freeglutRoy Li
cmake can not handle "ifdef" and make floating dependence on freeglut_ext.h when make_depend, so remove to include freeglut_ext.h from header file if freegult is not in PACKAGECONFIG to fix this issue Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-18piglit: Add missing inclusion of Xutil.hOtavio Salvador
The EGL tests rely on Xutil.h being included. Some EGL implementation does not explitly include it by default and than the build fail. This fixes the build in imx53qsb board, of meta-fsl-arm, but is a generic fix. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-11piglit: upgrade to more recent srvrevRoss Burton
Upgrade to 126c7d from December 2014. Still not the latest but it's got no added build dependencies and importantly handles installs out of the box instead of us having to hack and kludge, and builds with cmake 3.x. The usage has changed: now there's a "piglit" binary that has run/resume/summary subcommands, for example: $ piglit run quick quick-results/ For reference the quick test suite on a IvyBridge NUC results in: [27714/27714] crash: 3, fail: 326, pass: 18275, skip: 9107, warn: 3 - Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-04-06piglit: add PACKAGECONFIG for freeglutRobert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-03piglit: add x11 to required DISTRO_FEATURESMartin Jansa
* there is some pending work to resolve this unnecessary x11 dependency, this can be reverted together with x11 dependency removal Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-03piglit: add bash to RDEPENDS_piglitRobert Yang
Bash: piglit/usr/lib/piglit/tests/asmparsertest/make_test_list.sh:#!/bin/bash piglit/usr/lib/piglit/tests/asmparsertest/vp-tex.sh:#!/bin/bash piglit/usr/lib/piglit/tests/spec/glsl-1.10/variable-index-read.sh:#!/bin/bash piglit/usr/lib/piglit/tests/spec/glsl-1.10/variable-index-write.sh:#!/bin/bash piglit/usr/lib/piglit/tests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh:#!/bin/bash piglit/usr/lib/piglit/tests/spec/glsl-1.20/execution/outerProduct-const.sh:#!/bin/bash piglit/usr/lib/piglit/tests/spec/glsl-1.20/execution/outerProduct.sh:#!/bin/bash piglit/usr/lib/piglit/tests/spec/glsl-1.20/compiler/built-in-functions/outerProduct-invalid-parameters.sh:#!/bin/bash piglit/usr/lib/piglit/tests/glslparsertest/glsl2/make_tex_lod_tests.sh:#!/bin/bash piglit/usr/lib/piglit/tests/glslparsertest/glsl2/make_tex_rect_tests.sh:#!/bin/bash The bash scripts are in the tests directory, we had planned to move the tests into the ptest pkg, but that would make piglit unusable without installing piglit-ptest. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-17piglit: add dependency on libxrenderMartin Jansa
* fixes floating dependency: piglit/piglit/latest lost dependency on libxrender Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-25piglit: ship files with correct permissionsValentin Popa
Adress the warning | warning: group pulse does not exist - using root Piglit files from framework/ generated_tests/ tests/ and templates/ belong to xuser/pulse. Don't keep the permissions while shipping the files, they should be root/root. [YOCTO #6028] Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14piglit: add (from meta-oe)Ross Burton
Piglit is an OpenGL testing tool. This recipe is taken directly from meta-oe. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>