package/libdrm: disable tests
PATCH 1/1 package/libdrm: disable tests
Disable tests to avoid the following build failure with amdgpu and gcc 5 if cunit is built before libdrm:
In file included from ../tests/amdgpu/shader_test_util.c:10:0:../tests/amdgpu/shader_code.h:113:2: error: initializer element is not constant
ps_##_ps##_shader_patchinfo_code_size_gfx##_n, \
^
tests can be disabled since
https://gitlab.freedesktop.org/mesa/drm/-/commit/46d1e99a5d291b22d86ac52710b079491beedff8
Fixes:
- http://autobuild.buildroot.org/results/612aad1fa642993da36bbec6c16c9020ac283e34
--- package/libdrm/libdrm.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
package/libdrm/libdrm.mk +2 -1
@@ -17,7 +17,8 @@ LIBDRM_DEPENDENCIES = \ LIBDRM_CONF_OPTS = \ -Dcairo-tests=disabled \ - -Dman-pages=disabled + -Dman-pages=disabled \ + -Dtests=false ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y) LIBDRM_DEPENDENCIES += libatomic_ops
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 8 lines · Fabrice Fontaine
Disable tests to avoid the following build failure with amdgpu and gcc 5 if cunit is built before libdrm:
In file included from
../tests/amdgpu/shader_test_util.c:10:0:../tests/amdgpu/shader_code.h:113:2: error: initializer element is not constantps_##_ps##_shader_patchinfo_code_size_gfx##_n, \ ^
Quoted 7 lines
tests can be disabled since
https://gitlab.freedesktop.org/mesa/drm/-/commit/46d1e99a5d291b22d86ac52710b079491beedff8Fixes:
- http://autobuild.buildroot.org/results/612aad1fa642993da36bbec6c16c9020ac283e34Signed-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Regards,
Arnout
Quoted 9 lines
--- package/libdrm/libdrm.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)package/libdrm/libdrm.mk +0
-0
package/libdrm/libdrm.mk LIBDRM_DEPENDENCIES = \ · line 24
Quoted 9 lines
package/libdrm/libdrm.mk +2
-1@@ -17,7 +17,8 @@ LIBDRM_DEPENDENCIES = \ LIBDRM_CONF_OPTS = \ -Dcairo-tests=disabled \ - -Dman-pages=disabled + -Dman-pages=disabled \ + -Dtests=false ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y) LIBDRM_DEPENDENCIES += libatomic_ops
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Disable tests to avoid the following build failure with amdgpu and gcc 5 if cunit is built before libdrm:
In file included from
../tests/amdgpu/shader_test_util.c:10:0:../tests/amdgpu/shader_code.h:113:2: error: initializer element is not constant
ps_##_ps##_shader_patchinfo_code_size_gfx##_n, \
^
Quoted 7 lines
tests can be disabled since
https://gitlab.freedesktop.org/mesa/drm/-/commit/46d1e99a5d291b22d86ac52710b079491beedff8Fixes:
- http://autobuild.buildroot.org/results/612aad1fa642993da36bbec6c16c9020ac283e34Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2024.02.x, 2023.02.x and 2023.11.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 14 lines
Quoted 13 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
"Peter" == Peter Korsgaard <[email protected]> writes:
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Disable tests to avoid the following build failure with amdgpu and gcc 5 if cunit is built before libdrm:
In file included from
../tests/amdgpu/shader_test_util.c:10:0:../tests/amdgpu/shader_code.h:113:2: error: initializer element is not constant ps_##_ps##_shader_patchinfo_code_size_gfx##_n, \
^tests can be disabled since
https://gitlab.freedesktop.org/mesa/drm/-/commit/46d1e99a5d291b22d86ac52710b079491beedff8
Quoted 6 lines
Quoted 4 lines
Fixes:
- http://autobuild.buildroot.org/results/612aad1fa642993da36bbec6c16c9020ac283e34Signed-off-by Fabrice Fontaine <[email protected]>Committed to 2024.02.x, 2023.02.x and 2023.11.x, thanks.
Hmm, I think I was too fast here. The libdrm tests also include the handy utilities like modetest and modeprint, so it is not great to unconditionally disable them.
Maybe we should add a suboption for it? It is too late for 2024.02.1, but I will revert the change for 2023.02.x and 2023.11.x so I can get those released (and EOL'ed).
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
A message that is not in the archive (sent off-list or not yet received): [email protected]
Am Tue, 26 Mar 2024 16:01:40 +0100 schrieb Peter Korsgaard:
Quoted 1 line
Maybe we should add a suboption for it?
Hi Peter,
such an option already exists:
$ grep TESTS package/libdrm/Config.in config BR2_PACKAGE_LIBDRM_INSTALL_TESTS
To fix the problem with missing utils I sent this patch:
https://patchwork.ozlabs.org/project/buildroot/patch/
[email protected]/
Regards, Bernd
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot