aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
AgeCommit message (Collapse)Author
2024-01-27vulkan-cts: Upgrade to 1.3.7.3Khem Raj
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>
2024-01-27vk-gl-cts: Disable Werror on amber external moduleKhem Raj
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>
2023-09-03khronos-cts.inc: respect MLPREFIX when appending DEPENDS with anonymous pythonMartin Jansa
* 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>
2023-06-14opengl-es-cts: 3.2.8.0 -> 3.2.9.3Randolph Sapp
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>
2023-04-14khronos-cts: Replace wayland feature dependancy with vulkanLinus Jacobson
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>
2023-01-25vulkan-cts,opengl-es-cts: Fix build with gcc-13Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-13khronos-cts: fix build when python3-build-native is presentRoss Burton
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>
2022-09-11vulkan-cts,opengl-es-cts: Upgrade to1.3.3.1 and 3.2.8 respectivelyKhem Raj
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>
2021-11-03recipes: Update SRC_URI branch and protocolsRichard Purdie
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>
2021-09-24vk-gl-cts: fix soname linkingTrevor Woerner
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>
2021-09-24vk-gl-cts: allow the user to specify the targetTrevor Woerner
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>
2021-08-03Convert to new override syntaxMartin Jansa
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>
2021-06-01vk-gl-cts: Fix O_TRUNC conflict with fcntl.hKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-29vk-gl-cts: Fix build with GCC 11Khem Raj
Add patches to fix with c++17 Forward port musl patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-25vulkan-cts: Update to 1.2.3.2Khem Raj
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>
2020-07-28khronos-cts: add opengl to REQUIRED_DISTRO_FEATURESMartin Jansa
* 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>
2020-07-16recipes-graphics: add Khronos OpenGL ES and Vulkan CTS recipesDmitry Baryshkov
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>