diff options
author | Philippe Mathieu-Daudé | 2017-07-18 02:31:41 +0200 |
---|---|---|
committer | Alex Bennée | 2017-07-18 11:54:30 +0200 |
commit | b2e771742586b4f434608b901f1805573ab066bd (patch) | |
tree | e7f10c1384c6c629094c65a6371c9668de8ccc31 /tests | |
parent | docker: add debian/amd64 based on Stretch (diff) | |
download | qemu-b2e771742586b4f434608b901f1805573ab066bd.tar.gz qemu-b2e771742586b4f434608b901f1805573ab066bd.tar.xz qemu-b2e771742586b4f434608b901f1805573ab066bd.zip |
docker: enable virgl to extend code coverage on amd64
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[AJB: mv, comments in dockerfile]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/docker/dockerfiles/debian-amd64.docker | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/docker/dockerfiles/debian-amd64.docker b/tests/docker/dockerfiles/debian-amd64.docker index 2ab76120a4..360ecf0360 100644 --- a/tests/docker/dockerfiles/debian-amd64.docker +++ b/tests/docker/dockerfiles/debian-amd64.docker @@ -1,7 +1,8 @@ # # Docker x86_64 target # -# This docker target builds on the debian Stretch base image. +# This docker target builds on the debian Stretch base image. Further +# libraries which are not widely available are installed by hand. # FROM qemu:debian9 MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org> @@ -16,3 +17,12 @@ RUN DEBIAN_FRONTEND=noninteractive eatmydata \ librdmacm-dev \ libsnappy-dev \ libvte-dev + +# virgl +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + libegl1-mesa-dev \ + libepoxy-dev \ + libgbm-dev +RUN git clone git://anongit.freedesktop.org/virglrenderer /usr/src/virglrenderer +RUN cd /usr/src/virglrenderer && ./autogen.sh && ./configure --with-glx --disable-tests && make install |