Age | Commit message (Collapse) | Author |
|
Adjust for different patches between vulkan-cts and opengl-es-cts
Use gcc to compile vulkan-cts for now, it does not like libc++ headers
from clang-18
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
When compiling with clang-18 it finds more warnings which becomes errors
so disable the warnings as errors in this module for now.
Fixes
/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/opengl-es-cts/3.2.9.3/git/external/amber/src/src/engine.cc:35:3: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
35 | switch (type) {
| ^
1 error generated.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
* this causes 2 issues:
lib32-opengl-es-cts depending on 64bit wayland and wayland-protocols:
$ bitbake-getvar -r lib32-opengl-es-cts DEPENDS
#
# $DEPENDS [14 operations]
# set /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:309
# ""
# set /OE/build/oe-core/openembedded-core/meta/conf/documentation.conf:137
# [doc] "Lists a recipe's build-time dependencies (i.e. other recipe files)."
# :prepend /OE/build/oe-core/openembedded-core/meta/classes-global/base.bbclass:57
# "${BASEDEPENDS} "
# :prepend /OE/build/oe-core/openembedded-core/meta/classes-recipe/pkgconfig.bbclass:7
# "pkgconfig-native "
# :prepend /OE/build/oe-core/openembedded-core/meta/classes-recipe/cmake.bbclass:10
# "cmake-native "
# :append /OE/build/oe-core/openembedded-core/meta/classes-recipe/python3native.bbclass:11
# " python3-native "
# append /OE/build/oe-core/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc:28
# "python3-lxml-native libpng zlib virtual/libgles2 qemu-native"
# :append[libc-musl] /OE/build/oe-core/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc:38
# " libexecinfo"
# rename (to) classextend.py:108 [map_depends_variable]
# "DEPENDS_NONML"
# set classextend.py:109 [map_depends_variable]
# "${@oe.classextend.get_depends('DEPENDS', d)}"
# append classextend.py:110 [map_depends_variable]
# [vardeps] " DEPENDS_NONML"
# append cmake.bbclass:25 [__anon_30__OE_build_oe_core_openembedded_core_meta_classes_recipe_cmake_bbclass]
# " ninja-native"
# append khronos-cts.inc:77 [__anon_80__OE_build_oe_core_meta_openembedded_meta_oe_recipes_graphics_vk_gl_cts_khronos_cts_inc]
# " wayland-native wayland wayland-protocols"
# append khronos-cts.inc:79 [__anon_80__OE_build_oe_core_meta_openembedded_meta_oe_recipes_graphics_vk_gl_cts_khronos_cts_inc]
# " virtual/libx11 virtual/egl "
# pre-expansion value:
# "${@oe.classextend.get_depends('DEPENDS', d)} ninja-native wayland-native wayland wayland-protocols virtual/libx11 virtual/egl "
DEPENDS="cmake-native lib32-libpng pkgconfig-native python3-lxml-native python3-native qemu-native virtual/lib32-arm-oemllib32-linux-gnueabi-compilerlibs virtual/arm-oemllib32-linux-gnueabi-gcc virtual/lib32-libc virtual/lib32-libgles2 lib32-zlib ninja-native wayland-native wayland wayland-protocols virtual/libx11 virtual/egl "
* lib32-opengl-es-cts-dev runtime depending on 64bit wayland-dev wayland-protocols-dev
as caught by multilib QA check:
ERROR: QA Issue: lib32-opengl-es-cts package lib32-opengl-es-cts-dev - suspicious values 'wayland-dev wayland-protocols-dev' in RRECOMMENDS [multilib]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Bump the opengl-es-cts version to latest since this package is currently
incompatible with Weston 10 due to changes in wayland-protocols.
I would bump the vulkan-cts test revision here as well, but
unfortunately newer versions of vulkan-cts add video encode/decode tests
from Nvidia that break on any arch other than amd64 in their current
format.
Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Khronos-cts.inc is used for building vulkan-cts or opengl-es-cts. Even
though vulkan-cts depends on vulkan-loader, which automatically
requires vulkan distro feature, it is more explicitly stated if written
here next to opengl.
Some systems do not support a windowing service (like wayland) but still
might use standard khronos GPU libraries. For these cases, wayland
dependancy is invalid.
Patch replaces the invalid wayland distro feature dependancy with
vulkan for clarity.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
This recipe has a python script which *appends* a local directory to
sys.path and then tries to include a local module called build. However
if python3-build-native is present that is included instead.
Fix by prepending the local directory to sys.path instead.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Add needed depednency on vulkan-docs, jsoncpp and python3-xml-native as they are
added newly in these versions.
Delete patches already applied in this release
Backport one amber patch to fix compile with clang
Forward port the remaining patches
Add mechanism to run target test binaries using qemu usermode
Override WAYLAND_SCANNER and WAYLAND_PROTOCOLS_DIR
Let these variables be set via cmake cmdline before enquiring via pkg-config
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
The code/build explicitly links to the GL library names instead of their
sonames. Update the names that are used for linking so the libraries are
found at runtime.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
When building opengl-es-cts (for example), instead of hard-coding a
specific target to build (surfaceless), leave the choice empty by default
which instructs the package's build system to search the sysroot and try to
determine which target to use (i.e. the "Default" target).
Provide overrides (in the form of PACAKGECONFIGs) to allow the user to
specify a specific target to build (if they don't want the target selected
automatically).
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Add patches to fix with c++17
Forward port musl patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Expand SRCREV_FORMAT to cover all repos in SRC_URI
Drop using tags since they force bitbake to enquire remote, use
corresponding SRCREV instead
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
|
|
* depends on virtual/libgles2, virtual/egl and in DISTROs without opengl causes:
ERROR: Nothing PROVIDES 'virtual/libgles2' (but meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb DEPENDS on or otherwise requires it)
ERROR: Nothing PROVIDES 'virtual/egl' (but meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb DEPENDS on or otherwise requires it)
ERROR: Nothing RPROVIDES 'opengl-es-cts-dev' (but meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb RDEPENDS on or otherwise requires it)
ERROR: Nothing RPROVIDES 'opengl-es-cts' (but meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb RDEPENDS on or otherwise requires it)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Add recipes packaging OpenGL ES and Vulkan conformance test suite
recipes.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|