Fix building AMD MM/GL with EL7
authorJeremy Newton <Jeremy.Newton@amd.com>
Wed, 25 Aug 2021 21:03:23 +0000 (17:03 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 27 Aug 2021 19:05:25 +0000 (19:05 +0000)
commit80b5f4ff088d878378c1907a8703659ac838d97b
tree77f93aeebfaaa781b473bf23668f8342626da3ad
parent4b8f2b99e852986551661f166d16f8eccfe9e560
Fix building AMD MM/GL with EL7

This partially reverts commit 4d9acfa5331be6140e84badff7a232dbf07b69b4.

The original patch said:

"Python 3 handles unicode strings by default, so we can drop all that."

But this breaks building on RHEL 7 (or similiar) since python3 support
on is much more limited than newer distros. Backporting all the needed
python 3 libraries to EL7 is a pretty big task, and isn't very easy to
maintain.

For workstation purposes, we need the AMD MM/GL driver building on RHEL
7, so only src/util/driconf_static.py needs to be reverted.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12549>
src/util/driconf_static.py