From: Lyude <lyude@redhat.com>
To: igt-dev@lists.freedesktop.org
Cc: Petri Latvala <petri.latvala@intel.com>, Daniel Vetter <daniel@ffwll.ch>
Subject: [igt-dev] [PATCH i-g-t v3 0/9] Fixes from updating igt packaging in Fedora
Date: Wed, 24 Apr 2019 16:20:24 -0400 [thread overview]
Message-ID: <20190424202033.7601-1-lyude@redhat.com> (raw)
From: Lyude Paul <lyude@redhat.com>
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(-)
--
2.20.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next reply other threads:[~2019-04-24 20:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-24 20:20 Lyude [this message]
2019-04-24 20:20 ` [igt-dev] [PATCH i-g-t v3 1/9] lib/tests: Fix test failures with meson 0.50.0 Lyude
2019-04-24 20:20 ` [igt-dev] [PATCH i-g-t v3 2/9] Use gettid() wrapper everywhere Lyude
2019-04-24 20:20 ` [igt-dev] [PATCH i-g-t v3 3/9] lib/aux: Typecast gettid() as pid_t Lyude
2019-04-24 20:20 ` [igt-dev] [PATCH i-g-t v3 4/9] meson: Don't redefine gettid if the C library provides it Lyude
2019-04-24 20:20 ` [igt-dev] [PATCH i-g-t v3 5/9] meson: Add .so versioning Lyude
2019-04-24 20:20 ` [igt-dev] [PATCH i-g-t v3 6/9] meson: Don't allow building with NDEBUG, ever Lyude
2019-04-24 20:20 ` [igt-dev] [PATCH i-g-t v3 7/9] lib/igt_core: Just use igt_can_fail() in __igt_run_subtest() Lyude
2019-04-24 20:20 ` [igt-dev] [PATCH i-g-t v3 8/9] Use pkgconfig() macros with dnf in Fedora Dockerfile Lyude
2019-04-24 20:20 ` [igt-dev] [PATCH i-g-t v3 9/9] Update Dockerfile.fedora to Fedora 29 Lyude
2019-04-24 21:14 ` [igt-dev] ✓ Fi.CI.BAT: success for Fixes from updating igt packaging in Fedora (rev2) Patchwork
2019-04-25 10:12 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190424202033.7601-1-lyude@redhat.com \
--to=lyude@redhat.com \
--cc=daniel@ffwll.ch \
--cc=igt-dev@lists.freedesktop.org \
--cc=petri.latvala@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox