tests/docker: Fix linking with VirGL
cover tests/docker: Fix linking with VirGL
We link with VirGL in our debian-amd64 (cross-host) docker image.
This series includes few fixes to keep testing it.
Philippe Mathieu-Daudé (3):
tests/docker: Update VirGL git repository URL tests/docker: Remove obsolete VirGL --with-glx configure option tests/docker: Update VirGL to v0.8.0
tests/docker/dockerfiles/debian-amd64.docker | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.21.1
PATCH 1/3 tests/docker: Update VirGL git repository URL
freedesktop.org is moving to a GitLab instance,
use the new url.
- https://www.fooishbar.org/blog/gitlab-fdo-introduction/
- https://gitlab.freedesktop.org/freedesktop/freedesktop/-/wikis/home
--- tests/docker/dockerfiles/debian-amd64.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/docker/dockerfiles/debian-amd64.docker +1 -1
@@ -27,7 +27,7 @@ RUN apt update && \ libegl1-mesa-dev \ libepoxy-dev \ libgbm-dev -RUN git clone https://anongit.freedesktop.org/git/virglrenderer.git /usr/src/virglrenderer && \ +RUN git clone https://gitlab.freedesktop.org/virgl/virglrenderer.git /usr/src/virglrenderer && \ cd /usr/src/virglrenderer && git checkout virglrenderer-0.7.0 RUN cd /usr/src/virglrenderer && ./autogen.sh && ./configure --with-glx --disable-tests && make install
Signature · 1 line
2.21.1
PATCH 2/3 tests/docker: Remove obsolete VirGL --with-glx configure option
In reply to Philippe Mathieu-DaudéThe GLX configure option has been removed in 71c75f201d [*]. We missed that when updating to v0.7.0 in commit fab3220f97.
This silents:
configure: creating ./config.status config.status: creating virglrenderer.pc ... configure: WARNING: unrecognized options: --with-glx
[*] https://gitlab.freedesktop.org/virgl/virglrenderer/commit/71c75f201d
--- tests/docker/dockerfiles/debian-amd64.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/docker/dockerfiles/debian-amd64.docker +1 -1
@@ -29,7 +29,7 @@ RUN apt update && \ libgbm-dev RUN git clone https://gitlab.freedesktop.org/virgl/virglrenderer.git /usr/src/virglrenderer && \ cd /usr/src/virglrenderer && git checkout virglrenderer-0.7.0 -RUN cd /usr/src/virglrenderer && ./autogen.sh && ./configure --with-glx --disable-tests && make install +RUN cd /usr/src/virglrenderer && ./autogen.sh && ./configure --disable-tests && make install # netmap RUN apt update && \
Signature · 1 line
2.21.1
PATCH 3/3 tests/docker: Update VirGL to v0.8.0
In reply to Philippe Mathieu-DaudéBuilding the qemu:debian-amd64 fails when building VirGL:
make[2]: Entering directory '/usr/src/virglrenderer/src/gallium/auxiliary'
CC cso_cache/cso_cache.lo
CC cso_cache/cso_hash.lo
CC os/os_misc.lo
CC util/u_debug.lo
CC util/u_debug_describe.lo
CC util/u_format.lo
GEN util/u_format_table.c
Traceback (most recent call last):
File "./util/u_format_table.py", line 168, in <module>
main()
File "./util/u_format_table.py", line 164, in main
write_format_table(formats)
File "./util/u_format_table.py", line 132, in write_format_table
print(" %s,\t/* is_array */" % (bool_map(format.is_array()),))
File "/usr/src/virglrenderer/src/gallium/auxiliary/util/u_format_parse.py", line 164, in is_array
return self.array_element() != None
File "/usr/src/virglrenderer/src/gallium/auxiliary/util/u_format_parse.py", line 73, in __eq__
return self.type == other.type and self.norm == other.norm and self.pure == other.pure and self.size == other.size AttributeError: 'NoneType' object has no attribute 'type' make[2]: Leaving directory '/usr/src/virglrenderer/src/gallium/auxiliary' make[2]: *** [Makefile:906: util/u_format_table.c] Error 1 make[1]: *** [Makefile:631: install-recursive] Error 1
VirGL commits a8962eda1..a613dcc82 fix this problem. Update to VirGL 0.8.0 which contains them.
--- tests/docker/dockerfiles/debian-amd64.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/docker/dockerfiles/debian-amd64.docker +1 -1
@@ -28,7 +28,7 @@ RUN apt update && \ libepoxy-dev \ libgbm-dev RUN git clone https://gitlab.freedesktop.org/virgl/virglrenderer.git /usr/src/virglrenderer && \ - cd /usr/src/virglrenderer && git checkout virglrenderer-0.7.0 + cd /usr/src/virglrenderer && git checkout virglrenderer-0.8.0 RUN cd /usr/src/virglrenderer && ./autogen.sh && ./configure --disable-tests && make install # netmap
Signature · 1 line
2.21.1
Quoted 3 lines · Philippe Mathieu-Daudé
We link with VirGL in our debian-amd64 (cross-host) docker image.
This series includes few fixes to keep testing it.
ping?
Quoted 9 lines
Philippe Mathieu-Daudé (3):
tests/docker: Update VirGL git repository URL tests/docker: Remove obsolete VirGL --with-glx configure option tests/docker: Update VirGL to v0.8.0tests/docker/dockerfiles/debian-amd64.docker | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
ping ping?
Quoted 16 lines · Philippe Mathieu-Daudé
Quoted 3 lines · Philippe Mathieu-Daudé
We link with VirGL in our debian-amd64 (cross-host) docker image.
This series includes few fixes to keep testing it.
ping?
Quoted 9 lines
Philippe Mathieu-Daudé (3):
tests/docker: Update VirGL git repository URL tests/docker: Remove obsolete VirGL --with-glx configure option tests/docker: Update VirGL to v0.8.0tests/docker/dockerfiles/debian-amd64.docker | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Quoted 1 line · Philippe Mathieu-Daudé
ping ping?
Queued to testing/next, thanks.
Quoted 17 lines · Philippe Mathieu-Daudé
Quoted 15 lines · Philippe Mathieu-Daudé
Quoted 3 lines
We link with VirGL in our debian-amd64 (cross-host) docker image.
This series includes few fixes to keep testing it.
ping?
Quoted 9 lines
Philippe Mathieu-Daudé (3):
tests/docker: Update VirGL git repository URL tests/docker: Remove obsolete VirGL --with-glx configure option tests/docker: Update VirGL to v0.8.0tests/docker/dockerfiles/debian-amd64.docker | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
Alex Bennée