python3-numpy: upgrade 1.26.4 -> 2.0.1
PATCH 1/2 python3-numpy: upgrade 1.26.4 -> 2.0.1
- This release contains numerous API changes and bug fixes.
Changelog: https://github.com/numpy/numpy/releases/tag/v2.0.1
- Notably, the build backend has switched to mesonpy.
- Patch 0001-numpy-core-Define-RISCV-32-support.patch had to be updated to change the paths for the target files. It's still waiting to be merged upstream and will need a rebase, so I've added a comment on the PR:
https://github.com/numpy/numpy/pull/17780
Note that the riscv32 test build didn't complete because openssl failed on do_compile, but the patch applies cleanly now.
- For numpy, add 'pkgconfig' to inherit to avoid the following error at do_compile:
| Found Pkg-config: NO | Run-time dependency python found: YES 3.12 | Has header "Python.h" with dependency python: NO | | ../numpy-2.0.0/meson.build:44:2: ERROR: Problem encountered: Cannot compile `Python.h`. Perhaps you need to install python-dev|python-devel | | A full log can be found at /home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/python3-numpy/2.0.0/build/meson-logs/meson-log.txt
- Also modify the FILES:${PN}-staticdev line to fix a QA issue at the end.
License-Update: Change copyright year to 2024
---
...1-numpy-core-Define-RISCV-32-support.patch | 28 +++++++++++--------
...numpy_1.26.4.bb => python3-numpy_2.0.1.bb} | 10 ++++---
2 files changed, 22 insertions(+), 16 deletions(-)
rename meta/recipes-devtools/python/{python3-numpy_1.26.4.bb => python3-numpy_2.0.1.bb} (84%)meta/recipes-devtools/python/python3-numpy/0001-numpy-core-Define-RISCV-32-support.patch +16 -12
@@ -1,4 +1,4 @@ -From eb6d6579150bf4684603ce377c51e90ad3bb8109 Mon Sep 17 00:00:00 2001 +From df38843aaa7184115d262f14eae23ff38a20372a Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sun, 15 Nov 2020 15:32:39 -0800 Subject: [PATCH] numpy/core: Define RISCV-32 support
@@ -7,15 +7,19 @@ Helps compile on riscv32 Upstream-Status: Submitted [https://github.com/numpy/numpy/pull/17780] Signed-off-by: Khem Raj <[email protected]> + +Update the patch with the new paths for numpy release 2.0.0. + +Signed-off-by: Trevor Gamblin <[email protected]> --- - numpy/core/include/numpy/npy_cpu.h | 3 +++ - numpy/core/include/numpy/npy_endian.h | 1 + + numpy/_core/include/numpy/npy_cpu.h | 3 +++ + numpy/_core/include/numpy/npy_endian.h | 1 + 2 files changed, 4 insertions(+) -diff --git a/numpy/core/include/numpy/npy_cpu.h b/numpy/core/include/numpy/npy_cpu.h -index 78d229e..04be511 100644 ---- a/numpy/core/include/numpy/npy_cpu.h -+++ b/numpy/core/include/numpy/npy_cpu.h +diff --git a/numpy/_core/include/numpy/npy_cpu.h b/numpy/_core/include/numpy/npy_cpu.h +index a19f8e6bbd..d824d4efb6 100644 +--- a/numpy/_core/include/numpy/npy_cpu.h ++++ b/numpy/_core/include/numpy/npy_cpu.h @@ -19,6 +19,7 @@ * NPY_CPU_ARCEB * NPY_CPU_RISCV64
@@ -33,10 +37,10 @@ index 78d229e..04be511 100644 #elif defined(__loongarch__) #define NPY_CPU_LOONGARCH #elif defined(__EMSCRIPTEN__) -diff --git a/numpy/core/include/numpy/npy_endian.h b/numpy/core/include/numpy/npy_endian.h -index 5e58a7f..0926212 100644 ---- a/numpy/core/include/numpy/npy_endian.h -+++ b/numpy/core/include/numpy/npy_endian.h +diff --git a/numpy/_core/include/numpy/npy_endian.h b/numpy/_core/include/numpy/npy_endian.h +index 5e58a7f52c..09262120bf 100644 +--- a/numpy/_core/include/numpy/npy_endian.h ++++ b/numpy/_core/include/numpy/npy_endian.h @@ -49,6 +49,7 @@ || defined(NPY_CPU_PPC64LE) \ || defined(NPY_CPU_ARCEL) \
@@ -46,5 +50,5 @@ index 5e58a7f..0926212 100644 || defined(NPY_CPU_WASM) #define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN -- -2.20.1 +2.45.2
meta/recipes-devtools/python/python3-numpy_2.0.1.bb renamed from meta/recipes-devtools/python/python3-numpy_1.26.4.bb +6 -4
@@ -3,7 +3,7 @@ HOMEPAGE = "https://numpy.org/" DESCRIPTION = "NumPy is the fundamental package needed for scientific computing with Python." SECTION = "devel/python" LICENSE = "BSD-3-Clause & BSD-2-Clause & PSF-2.0 & Apache-2.0 & MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a752eb20459cf74a9d84ee4825e8317c" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1de863c37a83e71b1e97b64d036ea78b" SRCNAME = "numpy"
@@ -13,14 +13,14 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ file://fix_reproducibility.patch \ file://run-ptest \ " -SRC_URI[sha256sum] = "2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010" +SRC_URI[sha256sum] = "485b87235796410c3519a699cfe1faab097e509e90ebb05dcd098db2ae87e7b3" GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases" UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$" DEPENDS += "python3-cython-native" -inherit ptest setuptools3 github-releases +inherit ptest python_mesonpy pkgconfig github-releases S = "${WORKDIR}/numpy-${PV}"
@@ -30,7 +30,9 @@ do_compile:prepend() { export NPY_DISABLE_SVML=1 } -FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a ${PYTHON_SITEPACKAGES_DIR}/numpy/random/lib/*.a" +FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/_core/lib/*.a \ + ${PYTHON_SITEPACKAGES_DIR}/numpy/random/lib/*.a \ +" # install what is needed for numpy.test() RDEPENDS:${PN} = "python3-unittest \
Signature · 1 line
2.39.2
PATCH 2/2 piglit: upgrade 22eaf6a91c -> c11c9374c1
Commit 766669895d fixes builds with numpy 2.x.
Patch '0001-utils-Include-libgen.h-on-musl-linux-systems.patch' dropped because it is now upstream in commit 9c941dfc36.
Changelog:
c11c9374c (HEAD -> main, origin/main, origin/HEAD) arb_bindless_texture: test image/sampler constructors f11abb664 Revert "arb_bindless_texture: add another function param bindless test"
045343687 arb_gpu_shader5: add linker version of function overloads test4b1116f3a arb_bindless_texture: add another function param bindless test4a62c2672 glsl: test function linking with implicit param conversions9f280db77 arb_bindless_texture: add basic function param bindless tests
766669895 generated_tests: fix numpy overflow warnings that are errors in numpy 2.05214915dc generated_tests: print mako exceptions41bd119f2 arb_texture_buffer_object: don't leak src strings582f5490a gl-1.0: Add a test for glPushAttrib/glPopAttrib647d07250 ext_texture_format_bgra8888: test GL_BGRA8_EXT as welldee2a233f perf: port glsl-compile-time perf-test from mesa demos18333c568 perf: port vertexrate perf-test from mesa demose932fa2f5 perf: port vbo perf-test from mesa demosf9cf4788a perf: port teximage perf-test from mesa demos20ccc1c10 perf: port readpixels perf-test from mesa demos556a9c96d perf: port genmipmap perf-test from mesa demos225b6bfb6 perf: port fill perf-test from mesa demosdae4a13f9 perf: port fbobind perf-test from mesa demoscd0f812b3 perf: port copytex perf-test from mesa demosfdf3fc09d cl: add missing errors01b64dd06 glsl-1.10: test a complex partial unroll scenariocf8daaf5b glsl-bug-110796: detect missing ES 3.2 support using EGL_BAD_MATCH30d34daf7 glsl-bug-110796: distinguish which context creation failed3ea14414a Sync .mailmap from Mesa7accec34a glsl-bug-110796: check for GL ES 3.2 support12ebd71c7 egl-terminate-then-unbind-context: simplify69bc38a77 egl_khr_create_context: improve skip reporting209becf6d arb_blend_func_extended: simplify MAX_DUAL_SOURCE_DRAW_BUFFERS detection800abe232 arb_blend_func_extended: gles: follow the specification requirements1cad6ee20 arb_texture_multisample: require geometry shaders59bdc8c4e egl: missing EGLconfig isn't stderr materialcee2190b5 ext_external_objects: avoid stderr when we skip the test8cbefab52 util: remove handwritten defines and drop FIXME11e7aa044 texsubimage: fix low bpp formats by expecting less than 8 bits of precision e180f9623 Use GBM_LDFLAGS to get all options3bddb36e8 fix vk_vert_buf_reuse cleanup8f6e71975 arb_texture_view: test for NaN in more cases446c20f3e ext_direct_state_access: Fix deprecated-non-prototype warnings8a6ce9c6f arb_fragment_layer_viewport: don't test out-of-range gl_Layer values8d5af6c51 glsl-1.30: Test uint to float conversion of sign extended value7aa7bc1b0 arb_draw_buffers_blend: Fix deprecated-non-prototype warnings3d3a20a2b arb_sample_shading: do not actually run mask_in_one if it's not supported759cc6454 clear-stencil: new test to check for problems clearing stencils2c64a91bb read_depth_offset: new test to check depth offset calculation869a1b6e8 replayer: create bin/ everytime9be2db198 Reduce precision in depth clear precision check7f40f35a3 Add float from half functionf7ece74a1 tests/gbm: Add gbm_device_get_fd() testfd4a6c521 wayland: Add Wayland dmabuf driver-name testdf0d0ae79 conversion-explicit: use a different value for normalized +/- mina482803ac cmake: if we specify PIGLIT_BUILD_GL_TESTS OPENGL_FOUND is always true67b89b3e3 README: recommend Ninja by default and switch to cmake --buildefd111853 cmake: build is compatible up to 3.28e84aca9b5 cmake: add workaround for CMP01482e70ca91e README: ccmake is not that common, regular cmake is enough to builde39ba99e5 README: update requirementsd945707b9 cmake: WGL doesn't need Waffle, pass the definition without it938a9dc9f cmake: remove this 12 years old workaround taking too many lines7e5ca052d cmake: implement switch for the EGL tests and simplify test conditionscd9d15364 cmake: make PIGLIT_BUILD_DMA_BUF_TESTS aligned with GBM dependency4af47af27 cmake: depend on WGL_TESTS being enabled to build WGLa222d50bb cmake: implement GBM and Wayland controls4230c7e9f cmake: fix unusually formated statementd958b70d1 cmake: implement X11 option (required for GLX)4319b9fc8 cmake: move GLX and WGL option to the beggining of the file44e1c29bf cmake: move first batch of option() at the beggining of the file96241ea22 cmake: rename default values with prefix DEFAULT_21374d8d3 cmake: move defaults into the per-platform section86d3f1132 cmake: predefine defaults depending on the system381221a81 cmake: drop unused CMP0042 policy99eade7cd cmake: respect indentationdd6f7eaf8 texturing: add a test for GPU/CPU sync when creating textures025e462ae util: fix multisample_texture_fs_templatef9e26b98b tests: add a test for GL_APPLE_syncb24c834d9 ci: codespell ignore list is lowercase0a842edd0 more spelling fixes accross the whole codebase2c473ea73 ci: bump distribution tag7cd28b970 arb_multisample: Fix bitwise-instead-of-logical warning19e58247e ext_texture_storage: Fix memory leak on error pathd0b5d0c1f arb_internalformat_query2: fix internalformat selection for max_layers subtest 74064b1d4 arb_clear_texture: only test float depth textures when supported9c941dfc3 properly check for libgen.hc55e22a5c arb_copy_image-formats: avoid undefined behavior537831d48 intel/ppgtt: Use getpagesize fallback with MinGWb32186ee5 README: add Vulkan into the generic description1e631479c fix arb_query_buffer_object-qbo to warn on invalid GS results instead of fail 62938a9bc tests: Fix cl test program@execute@[email protected] issue about tolerance.
--- ...clude-libgen.h-on-musl-linux-systems.patch | 83 ------------------- meta/recipes-graphics/piglit/piglit_git.bb | 3 +- 2 files changed, 1 insertion(+), 85 deletions(-) delete mode 100644 meta/recipes-graphics/piglit/piglit/0001-utils-Include-libgen.h-on-musl-linux-systems.patch
meta/recipes-graphics/piglit/piglit/0001-utils-Include-libgen.h-on-musl-linux-systems.patch deleted +0 -83
@@ -1,83 +0,0 @@ -From 6c852e6ac292008137a6f3a8aa908090bb5b4b11 Mon Sep 17 00:00:00 2001 -From: Erik Faye-Lund <[email protected]> -Date: Tue, 19 Mar 2024 16:34:02 +0100 -Subject: [PATCH] properly check for libgen.h - -Some users are reporting that basename is not available when building on -Linux with musl libc. And since the POSIX spec[1] says that basename is -defined in libgen.h, we should include that when available. - -So let's properly detect the header, and include it if it exists. This -should hopefully make things a bit more robust. - -Since we're also including this from the CL program-tester, let's -rearrange the includes a bit so we know that config.h has been included. - -Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/888] -Reviewed-by: David Heidelberg <[email protected]> -Signed-off-by: Khem Raj <[email protected]> ---- - CMakeLists.txt | 1 + - tests/cl/program/program-tester.c | 5 ++++- - tests/util/config.h.in | 1 + - tests/util/piglit-util.h | 4 ++-- - 4 files changed, 8 insertions(+), 3 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index dd2bf67125..5563fe0e20 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -492,6 +492,7 @@ check_include_file(unistd.h HAVE_UNISTD_H) - check_include_file(fcntl.h HAVE_FCNTL_H) - check_include_file(linux/sync_file.h HAVE_LINUX_SYNC_FILE_H) - check_include_file(endian.h HAVE_ENDIAN_H) -+check_include_file(libgen.h HAVE_LIBGEN_H) - - if(DEFINED PIGLIT_INSTALL_VERSION) - set(PIGLIT_INSTALL_VERSION_SUFFIX -diff --git a/tests/cl/program/program-tester.c b/tests/cl/program/program-tester.c -index 97fe64906d..e47fb5aacc 100644 ---- a/tests/cl/program/program-tester.c -+++ b/tests/cl/program/program-tester.c -@@ -31,10 +31,13 @@ - #include <inttypes.h> - #include <math.h> - #include <regex.h> --#include <libgen.h> - - #include "piglit-framework-cl-program.h" - -+#ifdef HAVE_LIBGEN_H -+#include <libgen.h> -+#endif -+ - /* Regexes */ - - /* -diff --git a/tests/util/config.h.in b/tests/util/config.h.in -index 8ed5af1709..437eb91418 100644 ---- a/tests/util/config.h.in -+++ b/tests/util/config.h.in -@@ -16,3 +16,4 @@ - #cmakedefine HAVE_SYS_RESOURCE_H 1 - #cmakedefine HAVE_UNISTD_H 1 - #cmakedefine HAVE_ENDIAN_H 1 -+#cmakedefine HAVE_LIBGEN_H 1 -diff --git a/tests/util/piglit-util.h b/tests/util/piglit-util.h -index 4d3606c708..de999980b6 100644 ---- a/tests/util/piglit-util.h -+++ b/tests/util/piglit-util.h -@@ -52,8 +52,8 @@ extern "C" { - #include <math.h> - #include <float.h> - --#if defined(__APPLE__) || defined(__MINGW32__) --# include "libgen.h" // for basename -+#ifdef HAVE_LIBGEN_H -+# include <libgen.h> // for basename - #elif defined(_MSC_VER) - - static inline char * --- -GitLab -
meta/recipes-graphics/piglit/piglit_git.bb +1 -2
@@ -10,11 +10,10 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=ma file://0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \ file://0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch \ file://0001-tests-Fix-narrowing-errors-seen-with-clang.patch \ - file://0001-utils-Include-libgen.h-on-musl-linux-systems.patch \ " UPSTREAM_CHECK_COMMITS = "1" -SRCREV = "22eaf6a91cfd57f7bb3df4e5068c2ac1472d4ec1" +SRCREV = "c11c9374c1448d01b31e7f724921cc1f4ee2c84c" # (when PV goes above 1.0 remove the trailing r) PV = "1.0+gitr"
Signature · 1 line
2.39.2
Re: [OE-core][PATCH 2/2] piglit: upgrade 22eaf6a91c -> c11c9374c1
Hello,
This fails to build:
https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/5190/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/9375/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/9387/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/9207/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/108/builds/6285/steps/11/logs/stdio
and configure:
https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/9360/steps/11/logs/errors
Quoted 222 lines · Trevor Gamblin
Commit
766669895dfixes builds with numpy 2.x.Patch '0001-utils-Include-libgen.h-on-musl-linux-systems.patch' dropped because it is now upstream in commit
9c941dfc36.Changelog:
c11c9374c(HEAD -> main, origin/main, origin/HEAD)arb_bindless_texture: test image/sampler constructorsf11abb664Revert "arb_bindless_texture: add another function param bindless test"
045343687arb_gpu_shader5: add linker version of function overloads test4b1116f3aarb_bindless_texture: add another function param bindless test4a62c2672glsl: test function linking with implicit param conversions9f280db77arb_bindless_texture: add basic function param bindless tests
766669895generated_tests: fix numpy overflow warnings that are errors in numpy 2.05214915dcgenerated_tests: print mako exceptions41bd119f2arb_texture_buffer_object: don't leak src strings582f5490agl-1.0: Add a test for glPushAttrib/glPopAttrib647d07250ext_texture_format_bgra8888: testGL_BGRA8_EXTas welldee2a233fperf: port glsl-compile-time perf-test from mesa demos18333c568perf: port vertexrate perf-test from mesa demose932fa2f5perf: port vbo perf-test from mesa demosf9cf4788aperf: port teximage perf-test from mesa demos20ccc1c10perf: port readpixels perf-test from mesa demos556a9c96dperf: port genmipmap perf-test from mesa demos225b6bfb6perf: port fill perf-test from mesa demosdae4a13f9perf: port fbobind perf-test from mesa demoscd0f812b3perf: port copytex perf-test from mesa demosfdf3fc09dcl: add missing errors01b64dd06glsl-1.10: test a complex partial unroll scenariocf8daaf5bglsl-bug-110796: detect missing ES 3.2 support usingEGL_BAD_MATCH30d34daf7glsl-bug-110796: distinguish which context creation failed3ea14414aSync .mailmap from Mesa7accec34aglsl-bug-110796: check for GL ES 3.2 support12ebd71c7egl-terminate-then-unbind-context: simplify69bc38a77egl_khr_create_context: improve skip reporting209becf6darb_blend_func_extended: simplifyMAX_DUAL_SOURCE_DRAW_BUFFERSdetection800abe232arb_blend_func_extended: gles: follow the specification requirements1cad6ee20arb_texture_multisample: require geometry shaders59bdc8c4eegl: missing EGLconfig isn't stderr materialcee2190b5ext_external_objects: avoid stderr when we skip the test8cbefab52util: remove handwritten defines and drop FIXME11e7aa044texsubimage: fix low bpp formats by expecting less than 8 bits of precisione180f9623UseGBM_LDFLAGSto get all options3bddb36e8fixvk_vert_buf_reusecleanup8f6e71975arb_texture_view: test for NaN in more cases446c20f3eext_direct_state_access: Fix deprecated-non-prototype warnings8a6ce9c6farb_fragment_layer_viewport: don't test out-of-rangegl_Layervalues8d5af6c51glsl-1.30: Test uint to float conversion of sign extended value7aa7bc1b0arb_draw_buffers_blend: Fix deprecated-non-prototype warnings3d3a20a2barb_sample_shading: do not actually runmask_in_oneif it's not supported759cc6454clear-stencil: new test to check for problems clearing stencils2c64a91bbread_depth_offset: new test to check depth offset calculation869a1b6e8replayer: create bin/ everytime9be2db198Reduce precision in depth clear precision check7f40f35a3Add float from half functionf7ece74a1tests/gbm: Addgbm_device_get_fd()testfd4a6c521wayland: Add Wayland dmabuf driver-name testdf0d0ae79conversion-explicit: use a different value for normalized +/- mina482803accmake: if we specifyPIGLIT_BUILD_GL_TESTSOPENGL_FOUNDis always true67b89b3e3README: recommend Ninja by default and switch to cmake --buildefd111853cmake: build is compatible up to 3.28e84aca9b5cmake: add workaround for CMP01482e70ca91eREADME: ccmake is not that common, regular cmake is enough to builde39ba99e5README: update requirementsd945707b9cmake: WGL doesn't need Waffle, pass the definition without it938a9dc9fcmake: remove this 12 years old workaround taking too many lines7e5ca052dcmake: implement switch for the EGL tests and simplify test conditionscd9d15364cmake: makePIGLIT_BUILD_DMA_BUF_TESTSaligned with GBM dependency4af47af27cmake: depend onWGL_TESTSbeing enabled to build WGLa222d50bbcmake: implement GBM and Wayland controls4230c7e9fcmake: fix unusually formated statementd958b70d1cmake: implement X11 option (required for GLX)4319b9fc8cmake: move GLX and WGL option to the beggining of the file44e1c29bfcmake: move first batch ofoption()at the beggining of the file96241ea22cmake: rename default values with prefixDEFAULT_21374d8d3cmake: move defaults into the per-platform section86d3f1132cmake: predefine defaults depending on the system381221a81cmake: drop unused CMP0042 policy99eade7cdcmake: respect indentationdd6f7eaf8texturing: add a test for GPU/CPU sync when creating textures025e462aeutil: fixmultisample_texture_fs_templatef9e26b98btests: add a test forGL_APPLE_syncb24c834d9ci: codespell ignore list is lowercase0a842edd0more spelling fixes accross the whole codebase2c473ea73ci: bump distribution tag7cd28b970arb_multisample: Fix bitwise-instead-of-logical warning19e58247eext_texture_storage: Fix memory leak on error pathd0b5d0c1farb_internalformat_query2: fix internalformat selection formax_layerssubtest74064b1d4arb_clear_texture: only test float depth textures when supported9c941dfc3properly check forlibgen.hc55e22a5carb_copy_image-formats: avoid undefined behavior537831d48intel/ppgtt: Use getpagesize fallback with MinGWb32186ee5README: add Vulkan into the generic description1e631479cfix arb_query_buffer_object-qbo to warn on invalid GS results instead of fail62938a9bctests: Fix cl test program@execute@[email protected] issue about tolerance.Signed-off-by Trevor Gamblin <[email protected]>--- ...clude-libgen.h-on-musl-linux-systems.patch | 83 ------------------- meta/recipes-graphics/piglit/piglit_git.bb | 3 +- 2 files changed, 1 insertion(+), 85 deletions(-) delete mode 100644 meta/recipes-graphics/piglit/piglit/0001-utils-Include-libgen.h-on-musl-linux-systems.patchmeta/recipes-graphics/piglit/piglit/0001-utils-Include-libgen.h-on-musl-linux-systems.patch deleted +0
-83@@ -1,83 +0,0 @@ -From 6c852e6ac292008137a6f3a8aa908090bb5b4b11 Mon Sep 17 00:00:00 2001 -From: Erik Faye-Lund <[email protected]> -Date: Tue, 19 Mar 2024 16:34:02 +0100 -Subject: [PATCH] properly check for libgen.h - -Some users are reporting that basename is not available when building on -Linux with musl libc. And since the POSIX spec[1] says that basename is -defined in libgen.h, we should include that when available. - -So let's properly detect the header, and include it if it exists. This -should hopefully make things a bit more robust. - -Since we're also including this from the CL program-tester, let's -rearrange the includes a bit so we know that config.h has been included. - -Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/888] -Reviewed-by: David Heidelberg <[email protected]> -Signed-off-by: Khem Raj <[email protected]> ---- - CMakeLists.txt | 1 + - tests/cl/program/program-tester.c | 5 ++++- - tests/util/config.h.in | 1 + - tests/util/piglit-util.h | 4 ++-- - 4 files changed, 8 insertions(+), 3 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index dd2bf67125..5563fe0e20 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -492,6 +492,7 @@ check_include_file(unistd.h HAVE_UNISTD_H) - check_include_file(fcntl.h HAVE_FCNTL_H) - check_include_file(linux/sync_file.h HAVE_LINUX_SYNC_FILE_H) - check_include_file(endian.h HAVE_ENDIAN_H) -+check_include_file(libgen.h HAVE_LIBGEN_H) - - if(DEFINED PIGLIT_INSTALL_VERSION) - set(PIGLIT_INSTALL_VERSION_SUFFIX -diff --git a/tests/cl/program/program-tester.c b/tests/cl/program/program-tester.c -index 97fe64906d..e47fb5aacc 100644 ---- a/tests/cl/program/program-tester.c -+++ b/tests/cl/program/program-tester.c -@@ -31,10 +31,13 @@ - #include <inttypes.h> - #include <math.h> - #include <regex.h> --#include <libgen.h> - - #include "piglit-framework-cl-program.h" - -+#ifdef HAVE_LIBGEN_H -+#include <libgen.h> -+#endif -+ - /* Regexes */ - - /* -diff --git a/tests/util/config.h.in b/tests/util/config.h.in -index 8ed5af1709..437eb91418 100644 ---- a/tests/util/config.h.in -+++ b/tests/util/config.h.in -@@ -16,3 +16,4 @@ - #cmakedefine HAVE_SYS_RESOURCE_H 1 - #cmakedefine HAVE_UNISTD_H 1 - #cmakedefine HAVE_ENDIAN_H 1 -+#cmakedefine HAVE_LIBGEN_H 1 -diff --git a/tests/util/piglit-util.h b/tests/util/piglit-util.h -index 4d3606c708..de999980b6 100644 ---- a/tests/util/piglit-util.h -+++ b/tests/util/piglit-util.h -@@ -52,8 +52,8 @@ extern "C" { - #include <math.h> - #include <float.h> - --#if defined(__APPLE__) || defined(__MINGW32__) --# include "libgen.h" // for basename -+#ifdef HAVE_LIBGEN_H -+# include <libgen.h> // for basename - #elif defined(_MSC_VER) - - static inline char * --- -GitLab -meta/recipes-graphics/piglit/piglit_git.bb +1
-2@@ -10,11 +10,10 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=ma file://0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \ file://0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch \ file://0001-tests-Fix-narrowing-errors-seen-with-clang.patch \ - file://0001-utils-Include-libgen.h-on-musl-linux-systems.patch \ " UPSTREAM_CHECK_COMMITS = "1" -SRCREV = "22eaf6a91cfd57f7bb3df4e5068c2ac1472d4ec1" +SRCREV = "c11c9374c1448d01b31e7f724921cc1f4ee2c84c" # (when PV goes above 1.0 remove the trailing r) PV = "1.0+gitr"Signature · 11 lines
2.39.2 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#203232): https://lists.openembedded.org/g/openembedded-core/message/203232 Mute This Topic: https://lists.openembedded.org/mt/107862182/3617179 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Re: [OE-core][PATCH 2/2] piglit: upgrade 22eaf6a91c -> c11c9374c1
Quoted 11 lines · Alexandre Belloni
Hello,
This fails to build:
https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/5190/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/9375/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/9387/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/9207/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/108/builds/6285/steps/11/logs/stdioand configure:
https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/9360/steps/11/logs/errors
Is that with the python3-numpy upgrade as well? I see it in your master-next branch.
Quoted 225 lines · Trevor Gamblin
Quoted 220 lines
Commit
766669895dfixes builds with numpy 2.x.Patch '0001-utils-Include-libgen.h-on-musl-linux-systems.patch' dropped because it is now upstream in commit
9c941dfc36.Changelog:
c11c9374c(HEAD -> main, origin/main, origin/HEAD)arb_bindless_texture: test image/sampler constructorsf11abb664Revert "arb_bindless_texture: add another function param bindless test"
045343687arb_gpu_shader5: add linker version of function overloads test4b1116f3aarb_bindless_texture: add another function param bindless test4a62c2672glsl: test function linking with implicit param conversions9f280db77arb_bindless_texture: add basic function param bindless tests
766669895generated_tests: fix numpy overflow warnings that are errors in numpy 2.05214915dcgenerated_tests: print mako exceptions41bd119f2arb_texture_buffer_object: don't leak src strings582f5490agl-1.0: Add a test for glPushAttrib/glPopAttrib647d07250ext_texture_format_bgra8888: testGL_BGRA8_EXTas welldee2a233fperf: port glsl-compile-time perf-test from mesa demos18333c568perf: port vertexrate perf-test from mesa demose932fa2f5perf: port vbo perf-test from mesa demosf9cf4788aperf: port teximage perf-test from mesa demos20ccc1c10perf: port readpixels perf-test from mesa demos556a9c96dperf: port genmipmap perf-test from mesa demos225b6bfb6perf: port fill perf-test from mesa demosdae4a13f9perf: port fbobind perf-test from mesa demoscd0f812b3perf: port copytex perf-test from mesa demosfdf3fc09dcl: add missing errors01b64dd06glsl-1.10: test a complex partial unroll scenariocf8daaf5bglsl-bug-110796: detect missing ES 3.2 support usingEGL_BAD_MATCH30d34daf7glsl-bug-110796: distinguish which context creation failed3ea14414aSync .mailmap from Mesa7accec34aglsl-bug-110796: check for GL ES 3.2 support12ebd71c7egl-terminate-then-unbind-context: simplify69bc38a77egl_khr_create_context: improve skip reporting209becf6darb_blend_func_extended: simplifyMAX_DUAL_SOURCE_DRAW_BUFFERSdetection800abe232arb_blend_func_extended: gles: follow the specification requirements1cad6ee20arb_texture_multisample: require geometry shaders59bdc8c4eegl: missing EGLconfig isn't stderr materialcee2190b5ext_external_objects: avoid stderr when we skip the test8cbefab52util: remove handwritten defines and drop FIXME11e7aa044texsubimage: fix low bpp formats by expecting less than 8 bits of precisione180f9623UseGBM_LDFLAGSto get all options3bddb36e8fixvk_vert_buf_reusecleanup8f6e71975arb_texture_view: test for NaN in more cases446c20f3eext_direct_state_access: Fix deprecated-non-prototype warnings8a6ce9c6farb_fragment_layer_viewport: don't test out-of-rangegl_Layervalues8d5af6c51glsl-1.30: Test uint to float conversion of sign extended value7aa7bc1b0arb_draw_buffers_blend: Fix deprecated-non-prototype warnings3d3a20a2barb_sample_shading: do not actually runmask_in_oneif it's not supported759cc6454clear-stencil: new test to check for problems clearing stencils2c64a91bbread_depth_offset: new test to check depth offset calculation869a1b6e8replayer: create bin/ everytime9be2db198Reduce precision in depth clear precision check7f40f35a3Add float from half functionf7ece74a1tests/gbm: Addgbm_device_get_fd()testfd4a6c521wayland: Add Wayland dmabuf driver-name testdf0d0ae79conversion-explicit: use a different value for normalized +/- mina482803accmake: if we specifyPIGLIT_BUILD_GL_TESTSOPENGL_FOUNDis always true67b89b3e3README: recommend Ninja by default and switch to cmake --buildefd111853cmake: build is compatible up to 3.28e84aca9b5cmake: add workaround for CMP01482e70ca91eREADME: ccmake is not that common, regular cmake is enough to builde39ba99e5README: update requirementsd945707b9cmake: WGL doesn't need Waffle, pass the definition without it938a9dc9fcmake: remove this 12 years old workaround taking too many lines7e5ca052dcmake: implement switch for the EGL tests and simplify test conditionscd9d15364cmake: makePIGLIT_BUILD_DMA_BUF_TESTSaligned with GBM dependency4af47af27cmake: depend onWGL_TESTSbeing enabled to build WGLa222d50bbcmake: implement GBM and Wayland controls4230c7e9fcmake: fix unusually formated statementd958b70d1cmake: implement X11 option (required for GLX)4319b9fc8cmake: move GLX and WGL option to the beggining of the file44e1c29bfcmake: move first batch ofoption()at the beggining of the file96241ea22cmake: rename default values with prefixDEFAULT_21374d8d3cmake: move defaults into the per-platform section86d3f1132cmake: predefine defaults depending on the system381221a81cmake: drop unused CMP0042 policy99eade7cdcmake: respect indentationdd6f7eaf8texturing: add a test for GPU/CPU sync when creating textures025e462aeutil: fixmultisample_texture_fs_templatef9e26b98btests: add a test forGL_APPLE_syncb24c834d9ci: codespell ignore list is lowercase0a842edd0more spelling fixes accross the whole codebase2c473ea73ci: bump distribution tag7cd28b970arb_multisample: Fix bitwise-instead-of-logical warning19e58247eext_texture_storage: Fix memory leak on error pathd0b5d0c1farb_internalformat_query2: fix internalformat selection formax_layerssubtest74064b1d4arb_clear_texture: only test float depth textures when supported9c941dfc3properly check forlibgen.hc55e22a5carb_copy_image-formats: avoid undefined behavior537831d48intel/ppgtt: Use getpagesize fallback with MinGWb32186ee5README: add Vulkan into the generic description1e631479cfix arb_query_buffer_object-qbo to warn on invalid GS results instead of fail62938a9bctests: Fix cl test program@execute@[email protected] issue about tolerance.Signed-off-by Trevor Gamblin <[email protected]>--- ...clude-libgen.h-on-musl-linux-systems.patch | 83 ------------------- meta/recipes-graphics/piglit/piglit_git.bb | 3 +- 2 files changed, 1 insertion(+), 85 deletions(-)delete mode 100644
meta/recipes-graphics/piglit/piglit/0001-utils-Include-libgen.h-on-musl-linux-systems.patchmeta/recipes-graphics/piglit/piglit/0001-utils-Include-libgen.h-on-musl-linux-systems.patch deleted +0
-83@@ -1,83 +0,0 @@ -From 6c852e6ac292008137a6f3a8aa908090bb5b4b11 Mon Sep 17 00:00:00 2001 -From: Erik Faye-Lund <[email protected]> -Date: Tue, 19 Mar 2024 16:34:02 +0100 -Subject: [PATCH] properly check for libgen.h - -Some users are reporting that basename is not available when building on -Linux with musl libc. And since the POSIX spec[1] says that basename is -defined in libgen.h, we should include that when available. - -So let's properly detect the header, and include it if it exists. This -should hopefully make things a bit more robust. - -Since we're also including this from the CL program-tester, let's -rearrange the includes a bit so we know that config.h has been included. - -Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/888] -Reviewed-by: David Heidelberg <[email protected]> -Signed-off-by: Khem Raj <[email protected]> ---- - CMakeLists.txt | 1 + - tests/cl/program/program-tester.c | 5 ++++- - tests/util/config.h.in | 1 + - tests/util/piglit-util.h | 4 ++-- - 4 files changed, 8 insertions(+), 3 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index dd2bf67125..5563fe0e20 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -492,6 +492,7 @@ check_include_file(unistd.h HAVE_UNISTD_H) - check_include_file(fcntl.h HAVE_FCNTL_H) - check_include_file(linux/sync_file.h HAVE_LINUX_SYNC_FILE_H) - check_include_file(endian.h HAVE_ENDIAN_H) -+check_include_file(libgen.h HAVE_LIBGEN_H) - - if(DEFINED PIGLIT_INSTALL_VERSION) - set(PIGLIT_INSTALL_VERSION_SUFFIX -diff --git a/tests/cl/program/program-tester.c b/tests/cl/program/program-tester.c -index 97fe64906d..e47fb5aacc 100644 ---- a/tests/cl/program/program-tester.c -+++ b/tests/cl/program/program-tester.c -@@ -31,10 +31,13 @@ - #include <inttypes.h> - #include <math.h> - #include <regex.h> --#include <libgen.h> - - #include "piglit-framework-cl-program.h" - -+#ifdef HAVE_LIBGEN_H -+#include <libgen.h> -+#endif -+ - /* Regexes */ - - /* -diff --git a/tests/util/config.h.in b/tests/util/config.h.in -index 8ed5af1709..437eb91418 100644 ---- a/tests/util/config.h.in -+++ b/tests/util/config.h.in -@@ -16,3 +16,4 @@ - #cmakedefine HAVE_SYS_RESOURCE_H 1 - #cmakedefine HAVE_UNISTD_H 1 - #cmakedefine HAVE_ENDIAN_H 1 -+#cmakedefine HAVE_LIBGEN_H 1 -diff --git a/tests/util/piglit-util.h b/tests/util/piglit-util.h -index 4d3606c708..de999980b6 100644 ---- a/tests/util/piglit-util.h -+++ b/tests/util/piglit-util.h -@@ -52,8 +52,8 @@ extern "C" { - #include <math.h> - #include <float.h> - --#if defined(__APPLE__) || defined(__MINGW32__) --# include "libgen.h" // for basename -+#ifdef HAVE_LIBGEN_H -+# include <libgen.h> // for basename - #elif defined(_MSC_VER) - - static inline char * --- -GitLab -meta/recipes-graphics/piglit/piglit_git.bb +1
-2@@ -10,11 +10,10 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=ma file://0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \ file://0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch \ file://0001-tests-Fix-narrowing-errors-seen-with-clang.patch \ - file://0001-utils-Include-libgen.h-on-musl-linux-systems.patch \ " UPSTREAM_CHECK_COMMITS = "1" -SRCREV = "22eaf6a91cfd57f7bb3df4e5068c2ac1472d4ec1" +SRCREV = "c11c9374c1448d01b31e7f724921cc1f4ee2c84c" # (when PV goes above 1.0 remove the trailing r) PV = "1.0+gitr"Signature · 9 lines
2.39.2 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#203232): https://lists.openembedded.org/g/openembedded-core/message/203232 Mute This Topic: https://lists.openembedded.org/mt/107862182/3617179 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH 2/2] piglit: upgrade 22eaf6a91c -> c11c9374c1
Quoted 11 lines · Trevor Gamblin
Quoted 9 lines · Alexandre Belloni
Hello,
This fails to build:
https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/5190/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/9375/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/9387/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/9207/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/108/builds/6285/steps/11/logs/stdio
Quoted 4 lines
Quoted 2 lines
and configure:
https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/9360/steps/11/logs/errorsIs that with the python3-numpy upgrade as well? I see it in your master-next branch.
Yes, as the commit log said it was fixing issues with it.
Quoted 223 lines
Quoted 223 lines · Trevor Gamblin
Quoted 218 lines
Commit
766669895dfixes builds with numpy 2.x.Patch '0001-utils-Include-libgen.h-on-musl-linux-systems.patch' dropped because it is now upstream in commit
9c941dfc36.Changelog:
c11c9374c(HEAD -> main, origin/main, origin/HEAD)arb_bindless_texture: test image/sampler constructorsf11abb664Revert "arb_bindless_texture: add another function param bindless test"
045343687arb_gpu_shader5: add linker version of function overloads test4b1116f3aarb_bindless_texture: add another function param bindless test4a62c2672glsl: test function linking with implicit param conversions9f280db77arb_bindless_texture: add basic function param bindless tests
766669895generated_tests: fix numpy overflow warnings that are errors in numpy 2.05214915dcgenerated_tests: print mako exceptions41bd119f2arb_texture_buffer_object: don't leak src strings582f5490agl-1.0: Add a test for glPushAttrib/glPopAttrib647d07250ext_texture_format_bgra8888: testGL_BGRA8_EXTas welldee2a233fperf: port glsl-compile-time perf-test from mesa demos18333c568perf: port vertexrate perf-test from mesa demose932fa2f5perf: port vbo perf-test from mesa demosf9cf4788aperf: port teximage perf-test from mesa demos20ccc1c10perf: port readpixels perf-test from mesa demos556a9c96dperf: port genmipmap perf-test from mesa demos225b6bfb6perf: port fill perf-test from mesa demosdae4a13f9perf: port fbobind perf-test from mesa demoscd0f812b3perf: port copytex perf-test from mesa demosfdf3fc09dcl: add missing errors01b64dd06glsl-1.10: test a complex partial unroll scenariocf8daaf5bglsl-bug-110796: detect missing ES 3.2 support usingEGL_BAD_MATCH30d34daf7glsl-bug-110796: distinguish which context creation failed3ea14414aSync .mailmap from Mesa7accec34aglsl-bug-110796: check for GL ES 3.2 support12ebd71c7egl-terminate-then-unbind-context: simplify69bc38a77egl_khr_create_context: improve skip reporting209becf6darb_blend_func_extended: simplifyMAX_DUAL_SOURCE_DRAW_BUFFERSdetection800abe232arb_blend_func_extended: gles: follow the specification requirements1cad6ee20arb_texture_multisample: require geometry shaders59bdc8c4eegl: missing EGLconfig isn't stderr materialcee2190b5ext_external_objects: avoid stderr when we skip the test8cbefab52util: remove handwritten defines and drop FIXME11e7aa044texsubimage: fix low bpp formats by expecting less than 8 bits of precisione180f9623UseGBM_LDFLAGSto get all options3bddb36e8fixvk_vert_buf_reusecleanup8f6e71975arb_texture_view: test for NaN in more cases446c20f3eext_direct_state_access: Fix deprecated-non-prototype warnings8a6ce9c6farb_fragment_layer_viewport: don't test out-of-rangegl_Layervalues8d5af6c51glsl-1.30: Test uint to float conversion of sign extended value7aa7bc1b0arb_draw_buffers_blend: Fix deprecated-non-prototype warnings3d3a20a2barb_sample_shading: do not actually runmask_in_oneif it's not supported759cc6454clear-stencil: new test to check for problems clearing stencils2c64a91bbread_depth_offset: new test to check depth offset calculation869a1b6e8replayer: create bin/ everytime9be2db198Reduce precision in depth clear precision check7f40f35a3Add float from half functionf7ece74a1tests/gbm: Addgbm_device_get_fd()testfd4a6c521wayland: Add Wayland dmabuf driver-name testdf0d0ae79conversion-explicit: use a different value for normalized +/- mina482803accmake: if we specifyPIGLIT_BUILD_GL_TESTSOPENGL_FOUNDis always true67b89b3e3README: recommend Ninja by default and switch to cmake --buildefd111853cmake: build is compatible up to 3.28e84aca9b5cmake: add workaround for CMP01482e70ca91eREADME: ccmake is not that common, regular cmake is enough to builde39ba99e5README: update requirementsd945707b9cmake: WGL doesn't need Waffle, pass the definition without it938a9dc9fcmake: remove this 12 years old workaround taking too many lines7e5ca052dcmake: implement switch for the EGL tests and simplify test conditionscd9d15364cmake: makePIGLIT_BUILD_DMA_BUF_TESTSaligned with GBM dependency4af47af27cmake: depend onWGL_TESTSbeing enabled to build WGLa222d50bbcmake: implement GBM and Wayland controls4230c7e9fcmake: fix unusually formated statementd958b70d1cmake: implement X11 option (required for GLX)4319b9fc8cmake: move GLX and WGL option to the beggining of the file44e1c29bfcmake: move first batch ofoption()at the beggining of the file96241ea22cmake: rename default values with prefixDEFAULT_21374d8d3cmake: move defaults into the per-platform section86d3f1132cmake: predefine defaults depending on the system381221a81cmake: drop unused CMP0042 policy99eade7cdcmake: respect indentationdd6f7eaf8texturing: add a test for GPU/CPU sync when creating textures025e462aeutil: fixmultisample_texture_fs_templatef9e26b98btests: add a test forGL_APPLE_syncb24c834d9ci: codespell ignore list is lowercase0a842edd0more spelling fixes accross the whole codebase2c473ea73ci: bump distribution tag7cd28b970arb_multisample: Fix bitwise-instead-of-logical warning19e58247eext_texture_storage: Fix memory leak on error pathd0b5d0c1farb_internalformat_query2: fix internalformat selection formax_layerssubtest74064b1d4arb_clear_texture: only test float depth textures when supported9c941dfc3properly check forlibgen.hc55e22a5carb_copy_image-formats: avoid undefined behavior537831d48intel/ppgtt: Use getpagesize fallback with MinGWb32186ee5README: add Vulkan into the generic description1e631479cfix arb_query_buffer_object-qbo to warn on invalid GS results instead of fail62938a9bctests: Fix cl test program@execute@[email protected] issue about tolerance.Signed-off-by Trevor Gamblin <[email protected]>--- ...clude-libgen.h-on-musl-linux-systems.patch | 83 ------------------- meta/recipes-graphics/piglit/piglit_git.bb | 3 +- 2 files changed, 1 insertion(+), 85 deletions(-)delete mode 100644
meta/recipes-graphics/piglit/piglit/0001-utils-Include-libgen.h-on-musl-linux-systems.patchmeta/recipes-graphics/piglit/piglit/0001-utils-Include-libgen.h-on-musl-linux-systems.patch deleted +0
-83@@ -1,83 +0,0 @@ -From 6c852e6ac292008137a6f3a8aa908090bb5b4b11 Mon Sep 17 00:00:00 2001 -From: Erik Faye-Lund <[email protected]> -Date: Tue, 19 Mar 2024 16:34:02 +0100 -Subject: [PATCH] properly check for libgen.h - -Some users are reporting that basename is not available when building on -Linux with musl libc. And since the POSIX spec[1] says that basename is -defined in libgen.h, we should include that when available. - -So let's properly detect the header, and include it if it exists. This -should hopefully make things a bit more robust. - -Since we're also including this from the CL program-tester, let's -rearrange the includes a bit so we know that config.h has been included. - -Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/888] -Reviewed-by: David Heidelberg <[email protected]> -Signed-off-by: Khem Raj <[email protected]> ---- - CMakeLists.txt | 1 + - tests/cl/program/program-tester.c | 5 ++++- - tests/util/config.h.in | 1 + - tests/util/piglit-util.h | 4 ++-- - 4 files changed, 8 insertions(+), 3 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index dd2bf67125..5563fe0e20 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -492,6 +492,7 @@ check_include_file(unistd.h HAVE_UNISTD_H) - check_include_file(fcntl.h HAVE_FCNTL_H) - check_include_file(linux/sync_file.h HAVE_LINUX_SYNC_FILE_H) - check_include_file(endian.h HAVE_ENDIAN_H) -+check_include_file(libgen.h HAVE_LIBGEN_H) - - if(DEFINED PIGLIT_INSTALL_VERSION) - set(PIGLIT_INSTALL_VERSION_SUFFIX -diff --git a/tests/cl/program/program-tester.c b/tests/cl/program/program-tester.c -index 97fe64906d..e47fb5aacc 100644 ---- a/tests/cl/program/program-tester.c -+++ b/tests/cl/program/program-tester.c -@@ -31,10 +31,13 @@ - #include <inttypes.h> - #include <math.h> - #include <regex.h> --#include <libgen.h> - - #include "piglit-framework-cl-program.h" - -+#ifdef HAVE_LIBGEN_H -+#include <libgen.h> -+#endif -+ - /* Regexes */ - - /* -diff --git a/tests/util/config.h.in b/tests/util/config.h.in -index 8ed5af1709..437eb91418 100644 ---- a/tests/util/config.h.in -+++ b/tests/util/config.h.in -@@ -16,3 +16,4 @@ - #cmakedefine HAVE_SYS_RESOURCE_H 1 - #cmakedefine HAVE_UNISTD_H 1 - #cmakedefine HAVE_ENDIAN_H 1 -+#cmakedefine HAVE_LIBGEN_H 1 -diff --git a/tests/util/piglit-util.h b/tests/util/piglit-util.h -index 4d3606c708..de999980b6 100644 ---- a/tests/util/piglit-util.h -+++ b/tests/util/piglit-util.h -@@ -52,8 +52,8 @@ extern "C" { - #include <math.h> - #include <float.h> - --#if defined(__APPLE__) || defined(__MINGW32__) --# include "libgen.h" // for basename -+#ifdef HAVE_LIBGEN_H -+# include <libgen.h> // for basename - #elif defined(_MSC_VER) - - static inline char * --- -GitLab -meta/recipes-graphics/piglit/piglit_git.bb +1
-2@@ -10,11 +10,10 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=ma file://0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \ file://0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch \ file://0001-tests-Fix-narrowing-errors-seen-with-clang.patch \ - file://0001-utils-Include-libgen.h-on-musl-linux-systems.patch \ " UPSTREAM_CHECK_COMMITS = "1" -SRCREV = "22eaf6a91cfd57f7bb3df4e5068c2ac1472d4ec1" +SRCREV = "c11c9374c1448d01b31e7f724921cc1f4ee2c84c" # (when PV goes above 1.0 remove the trailing r) PV = "1.0+gitr"Signature · 9 lines
2.39.2 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#203232): https://lists.openembedded.org/g/openembedded-core/message/203232 Mute This Topic: https://lists.openembedded.org/mt/107862182/3617179 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Re: [OE-core][PATCH 2/2] piglit: upgrade 22eaf6a91c -> c11c9374c1
Quoted 11 lines · Alexandre Belloni
Quoted 10 lines · Trevor Gamblin
Quoted 9 lines · Alexandre Belloni
Hello,
This fails to build:
https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/5190/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/9375/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/9387/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/9207/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/108/builds/6285/steps/11/logs/stdio
Quoted 5 lines
Quoted 4 lines
Quoted 2 lines
and configure:
https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/9360/steps/11/logs/errorsIs that with the python3-numpy upgrade as well? I see it in your master-next branch.
Yes, as the commit log said it was fixing issues with it.
Haven't been able to reproduce it locally yet. Tried lib32 for qemux86-64 and qemux86, along with musl. Still trying...
Quoted 222 lines
Quoted 222 lines
Quoted 222 lines · Trevor Gamblin
Quoted 218 lines
Commit
766669895dfixes builds with numpy 2.x.Patch '0001-utils-Include-libgen.h-on-musl-linux-systems.patch' dropped because it is now upstream in commit
9c941dfc36.Changelog:
c11c9374c(HEAD -> main, origin/main, origin/HEAD)arb_bindless_texture: test image/sampler constructorsf11abb664Revert "arb_bindless_texture: add another function param bindless test"
045343687arb_gpu_shader5: add linker version of function overloads test4b1116f3aarb_bindless_texture: add another function param bindless test4a62c2672glsl: test function linking with implicit param conversions9f280db77arb_bindless_texture: add basic function param bindless tests
766669895generated_tests: fix numpy overflow warnings that are errors in numpy 2.05214915dcgenerated_tests: print mako exceptions41bd119f2arb_texture_buffer_object: don't leak src strings582f5490agl-1.0: Add a test for glPushAttrib/glPopAttrib647d07250ext_texture_format_bgra8888: testGL_BGRA8_EXTas welldee2a233fperf: port glsl-compile-time perf-test from mesa demos18333c568perf: port vertexrate perf-test from mesa demose932fa2f5perf: port vbo perf-test from mesa demosf9cf4788aperf: port teximage perf-test from mesa demos20ccc1c10perf: port readpixels perf-test from mesa demos556a9c96dperf: port genmipmap perf-test from mesa demos225b6bfb6perf: port fill perf-test from mesa demosdae4a13f9perf: port fbobind perf-test from mesa demoscd0f812b3perf: port copytex perf-test from mesa demosfdf3fc09dcl: add missing errors01b64dd06glsl-1.10: test a complex partial unroll scenariocf8daaf5bglsl-bug-110796: detect missing ES 3.2 support usingEGL_BAD_MATCH30d34daf7glsl-bug-110796: distinguish which context creation failed3ea14414aSync .mailmap from Mesa7accec34aglsl-bug-110796: check for GL ES 3.2 support12ebd71c7egl-terminate-then-unbind-context: simplify69bc38a77egl_khr_create_context: improve skip reporting209becf6darb_blend_func_extended: simplifyMAX_DUAL_SOURCE_DRAW_BUFFERSdetection800abe232arb_blend_func_extended: gles: follow the specification requirements1cad6ee20arb_texture_multisample: require geometry shaders59bdc8c4eegl: missing EGLconfig isn't stderr materialcee2190b5ext_external_objects: avoid stderr when we skip the test8cbefab52util: remove handwritten defines and drop FIXME11e7aa044texsubimage: fix low bpp formats by expecting less than 8 bits of precisione180f9623UseGBM_LDFLAGSto get all options3bddb36e8fixvk_vert_buf_reusecleanup8f6e71975arb_texture_view: test for NaN in more cases446c20f3eext_direct_state_access: Fix deprecated-non-prototype warnings8a6ce9c6farb_fragment_layer_viewport: don't test out-of-rangegl_Layervalues8d5af6c51glsl-1.30: Test uint to float conversion of sign extended value7aa7bc1b0arb_draw_buffers_blend: Fix deprecated-non-prototype warnings3d3a20a2barb_sample_shading: do not actually runmask_in_oneif it's not supported759cc6454clear-stencil: new test to check for problems clearing stencils2c64a91bbread_depth_offset: new test to check depth offset calculation869a1b6e8replayer: create bin/ everytime9be2db198Reduce precision in depth clear precision check7f40f35a3Add float from half functionf7ece74a1tests/gbm: Addgbm_device_get_fd()testfd4a6c521wayland: Add Wayland dmabuf driver-name testdf0d0ae79conversion-explicit: use a different value for normalized +/- mina482803accmake: if we specifyPIGLIT_BUILD_GL_TESTSOPENGL_FOUNDis always true67b89b3e3README: recommend Ninja by default and switch to cmake --buildefd111853cmake: build is compatible up to 3.28e84aca9b5cmake: add workaround for CMP01482e70ca91eREADME: ccmake is not that common, regular cmake is enough to builde39ba99e5README: update requirementsd945707b9cmake: WGL doesn't need Waffle, pass the definition without it938a9dc9fcmake: remove this 12 years old workaround taking too many lines7e5ca052dcmake: implement switch for the EGL tests and simplify test conditionscd9d15364cmake: makePIGLIT_BUILD_DMA_BUF_TESTSaligned with GBM dependency4af47af27cmake: depend onWGL_TESTSbeing enabled to build WGLa222d50bbcmake: implement GBM and Wayland controls4230c7e9fcmake: fix unusually formated statementd958b70d1cmake: implement X11 option (required for GLX)4319b9fc8cmake: move GLX and WGL option to the beggining of the file44e1c29bfcmake: move first batch ofoption()at the beggining of the file96241ea22cmake: rename default values with prefixDEFAULT_21374d8d3cmake: move defaults into the per-platform section86d3f1132cmake: predefine defaults depending on the system381221a81cmake: drop unused CMP0042 policy99eade7cdcmake: respect indentationdd6f7eaf8texturing: add a test for GPU/CPU sync when creating textures025e462aeutil: fixmultisample_texture_fs_templatef9e26b98btests: add a test forGL_APPLE_syncb24c834d9ci: codespell ignore list is lowercase0a842edd0more spelling fixes accross the whole codebase2c473ea73ci: bump distribution tag7cd28b970arb_multisample: Fix bitwise-instead-of-logical warning19e58247eext_texture_storage: Fix memory leak on error pathd0b5d0c1farb_internalformat_query2: fix internalformat selection formax_layerssubtest74064b1d4arb_clear_texture: only test float depth textures when supported9c941dfc3properly check forlibgen.hc55e22a5carb_copy_image-formats: avoid undefined behavior537831d48intel/ppgtt: Use getpagesize fallback with MinGWb32186ee5README: add Vulkan into the generic description1e631479cfix arb_query_buffer_object-qbo to warn on invalid GS results instead of fail62938a9bctests: Fix cl test program@execute@[email protected] issue about tolerance.Signed-off-by Trevor Gamblin <[email protected]>--- ...clude-libgen.h-on-musl-linux-systems.patch | 83 ------------------- meta/recipes-graphics/piglit/piglit_git.bb | 3 +- 2 files changed, 1 insertion(+), 85 deletions(-)delete mode 100644
meta/recipes-graphics/piglit/piglit/0001-utils-Include-libgen.h-on-musl-linux-systems.patchmeta/recipes-graphics/piglit/piglit/0001-utils-Include-libgen.h-on-musl-linux-systems.patch deleted +0
-83@@ -1,83 +0,0 @@ -From 6c852e6ac292008137a6f3a8aa908090bb5b4b11 Mon Sep 17 00:00:00 2001 -From: Erik Faye-Lund <[email protected]> -Date: Tue, 19 Mar 2024 16:34:02 +0100 -Subject: [PATCH] properly check for libgen.h - -Some users are reporting that basename is not available when building on -Linux with musl libc. And since the POSIX spec[1] says that basename is -defined in libgen.h, we should include that when available. - -So let's properly detect the header, and include it if it exists. This -should hopefully make things a bit more robust. - -Since we're also including this from the CL program-tester, let's -rearrange the includes a bit so we know that config.h has been included. - -Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/888] -Reviewed-by: David Heidelberg <[email protected]> -Signed-off-by: Khem Raj <[email protected]> ---- - CMakeLists.txt | 1 + - tests/cl/program/program-tester.c | 5 ++++- - tests/util/config.h.in | 1 + - tests/util/piglit-util.h | 4 ++-- - 4 files changed, 8 insertions(+), 3 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index dd2bf67125..5563fe0e20 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -492,6 +492,7 @@ check_include_file(unistd.h HAVE_UNISTD_H) - check_include_file(fcntl.h HAVE_FCNTL_H) - check_include_file(linux/sync_file.h HAVE_LINUX_SYNC_FILE_H) - check_include_file(endian.h HAVE_ENDIAN_H) -+check_include_file(libgen.h HAVE_LIBGEN_H) - - if(DEFINED PIGLIT_INSTALL_VERSION) - set(PIGLIT_INSTALL_VERSION_SUFFIX -diff --git a/tests/cl/program/program-tester.c b/tests/cl/program/program-tester.c -index 97fe64906d..e47fb5aacc 100644 ---- a/tests/cl/program/program-tester.c -+++ b/tests/cl/program/program-tester.c -@@ -31,10 +31,13 @@ - #include <inttypes.h> - #include <math.h> - #include <regex.h> --#include <libgen.h> - - #include "piglit-framework-cl-program.h" - -+#ifdef HAVE_LIBGEN_H -+#include <libgen.h> -+#endif -+ - /* Regexes */ - - /* -diff --git a/tests/util/config.h.in b/tests/util/config.h.in -index 8ed5af1709..437eb91418 100644 ---- a/tests/util/config.h.in -+++ b/tests/util/config.h.in -@@ -16,3 +16,4 @@ - #cmakedefine HAVE_SYS_RESOURCE_H 1 - #cmakedefine HAVE_UNISTD_H 1 - #cmakedefine HAVE_ENDIAN_H 1 -+#cmakedefine HAVE_LIBGEN_H 1 -diff --git a/tests/util/piglit-util.h b/tests/util/piglit-util.h -index 4d3606c708..de999980b6 100644 ---- a/tests/util/piglit-util.h -+++ b/tests/util/piglit-util.h -@@ -52,8 +52,8 @@ extern "C" { - #include <math.h> - #include <float.h> - --#if defined(__APPLE__) || defined(__MINGW32__) --# include "libgen.h" // for basename -+#ifdef HAVE_LIBGEN_H -+# include <libgen.h> // for basename - #elif defined(_MSC_VER) - - static inline char * --- -GitLab -meta/recipes-graphics/piglit/piglit_git.bb +1
-2@@ -10,11 +10,10 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=ma file://0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \ file://0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch \ file://0001-tests-Fix-narrowing-errors-seen-with-clang.patch \ - file://0001-utils-Include-libgen.h-on-musl-linux-systems.patch \ " UPSTREAM_CHECK_COMMITS = "1" -SRCREV = "22eaf6a91cfd57f7bb3df4e5068c2ac1472d4ec1" +SRCREV = "c11c9374c1448d01b31e7f724921cc1f4ee2c84c" # (when PV goes above 1.0 remove the trailing r) PV = "1.0+gitr"Signature · 9 lines
2.39.2 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#203232): https://lists.openembedded.org/g/openembedded-core/message/203232 Mute This Topic: https://lists.openembedded.org/mt/107862182/3617179 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-