Skip to content

Fixes from updating igt packaging in Fedora

Lyude igt-dev 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 0 repliesNew
  2. v28 patches 10 repliesSuperseded
  3. v17 patches 8 repliesSuperseded

Changes in v3 from the cover letter

* Don't get rid of assert() apparently, instead perma-ban -Db_ndebug!=false
* Fix usages of the gettid() syscall that weren't wrapped around the gettid() macro
* Also typecast gettid() correctly to pid_t and update users, to avoid introducing warnings when using new glibc's version of gettid() and for general correctness

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9lib/tests: Fix test failures with meson 0.50.0lib/igt_core.h+1 -10 replies
2/9Use gettid() wrapper everywherebenchmarks/gem_syslatency.c lib/igt_aux.h lib/igt_core.c +3 more+10 -90 replies
3/9lib/aux: Typecast gettid() as pid_tlib/igt_aux.h tests/drm_import_export.c+3 -20 replies
4/9meson: Don't redefine gettid if the C library provides itlib/igt_aux.h meson.build+7 -10 replies
5/9meson: Add .so versioninglib/meson.build tools/meson.build+4 -20 replies
6/9meson: Don't allow building with NDEBUG, evermeson.build+10 -00 replies
7/9lib/igt_core: Just use igt_can_fail() in __igt_run_subtest()lib/igt_core.c+1 -30 replies
8/9Use pkgconfig() macros with dnf in Fedora DockerfileDockerfile.fedora+23 -250 replies
9/9Update Dockerfile.fedora to Fedora 29Dockerfile.fedora+1 -10 replies

Reviews trailers per patch

5 of 9 patches have a Reviewed-by or Acked-by.

PatchDaniel VetterPetri Latvala
1/9
2/9
3/9
4/9R-b
5/9A-b A-b
6/9
7/9R-b R-b
8/9A-b R-b
9/9A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [igt-dev] [PATCH i-g-t v3 0/9] Fixes from updating igt packaging in Fedora

From: Lyude Paul <[email protected]>

For work reasons, I've been tasked with getting Fedora running portions of IGT in our own CI infrastructure. In doing so I needed to get our RPM packaging up to date, building and passing the meson unit tests on Fedora 29 and Fedora Rawhide. This ended up exposing some rather interesting bugs, and also prompted me to update the Dockerfile and Gitlab CI settings that we use for testing builds. So, here's my fixes and improvements!

Since a couple of people have been asking if I have a gitlab branch that they can check to make sure that the CI changes work, here it is:

https://gitlab.freedesktop.org/lyudess/igt-gpu-tools/tree/wip/fedora-docker-update-v3

Changes since v1
* Add one last patch that came out of package review - soversioning, which both Debian and Fedora seem to require
(see https://bugzilla.redhat.com/show_bug.cgi?id=1700559 )

Changes since v2
* Don't get rid of assert() apparently, instead perma-ban -Db_ndebug!=false
* Fix usages of the gettid() syscall that weren't wrapped around the gettid() macro
* Also typecast gettid() correctly to pid_t and update users, to avoid introducing warnings when using new glibc's version of gettid() and for general correctness

Lyude Paul (9):
lib/tests: Fix test failures with meson 0.50.0
Use gettid() wrapper everywhere
lib/aux: Typecast gettid() as pid_t
meson: Don't redefine gettid if the C library provides it
meson: Add .so versioning
meson: Don't allow building with NDEBUG, ever lib/igt_core: Just use igt_can_fail() in __igt_run_subtest() Use pkgconfig() macros with dnf in Fedora Dockerfile Update Dockerfile.fedora to Fedora 29

 Dockerfile.fedora           | 50 ++++++++++++++++++-------------------
 benchmarks/gem_syslatency.c |  1 -
 lib/igt_aux.h               | 11 +++++++-
 lib/igt_core.c              |  6 ++---
 lib/igt_core.h              |  2 +-
 lib/meson.build             |  3 ++-
 meson.build                 | 13 ++++++++++
 tests/core_auth.c           |  6 ++---
 tests/drm_import_export.c   |  2 +-
 tests/i915/gem_close_race.c |  1 -
 tools/meson.build           |  3 ++-
 11 files changed, 57 insertions(+), 41 deletions(-)
Signature · 6 lines
2.20.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev