From patchwork Mon Jul 17 14:48:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 107984 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp4667019obm; Mon, 17 Jul 2017 07:59:07 -0700 (PDT) X-Received: by 10.55.82.139 with SMTP id g133mr28046411qkb.2.1500303547524; Mon, 17 Jul 2017 07:59:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500303547; cv=none; d=google.com; s=arc-20160816; b=A6HPh0556g7QpGjOXyF9WaOrukuJMoRdifUUzuMvj0cepAQ/5FhYiFGhLYjbYT/tEE c4Tw+h7XJRKkksH38iJJO04kLe0pNXTOt1jjV8lygJFBjncmHFSkgad1Nl6z6QswfMuS 2QMwn6VorD1Irgclc7mqZ0mjg77rztcNYlDR/1nU4nci6qjr0636AD/l0Hm5GwOqcZhi 5XKpRC+7V93NGiLai5Vd9vWW7dXVHaN6MXdRAGnCPXYanK3hX+DitFKM0Yd3hZEDbb2w ei6xk1yke/ZxOtQGgVgLjjz3U9EqsdJwfQcSKLQylGcC82IbF/vNCWIvso7SMlAZCWDw tfng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=7Ih2iRLeo4nYAdxNt6oNmgPqeEvgCf5W2jPd43+c4Q8=; b=c+wWm0pT6RLQDlVknWEY3M9qQ4vOEFn5uHuNUAwfp0RAJ8IAIyD20zCyCw9sEiOxTM 2GIcR/fo8/xesB3fpgCultC395qLO7++t9Y4wZ5WmQ/nHmU81wo0g4dBUJKYbLFwKtPs CWAabhqjQ0pMYgOWVJUb/n+V3OFkC7Dlb7KU1MFvNZZFzjzmF4bCcLQ+9ktz1/p1wAsa NUsGWFKSmQY7mkUMfEMQhZAKwjrHS1/QA2beouIUnJ/wB63YahxORg4qihNsYZDYiUHJ ceGnrsMIWH1OiDBY22Svmec2Q/7qcVtLWTBZpDTnohq9H/n4aGquUXyj97m9fi6/uYkk YGuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.b=NZsu9ZdV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id h67si15188470qkf.310.2017.07.17.07.59.06 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 17 Jul 2017 07:59:07 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.b=NZsu9ZdV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:50884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX7UG-0006oH-RQ for patch@linaro.org; Mon, 17 Jul 2017 10:59:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX7Ke-00064e-50 for qemu-devel@nongnu.org; Mon, 17 Jul 2017 10:49:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX7Kd-0002EK-B0 for qemu-devel@nongnu.org; Mon, 17 Jul 2017 10:49:08 -0400 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:36092) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dX7Kd-0002Dm-4G for qemu-devel@nongnu.org; Mon, 17 Jul 2017 10:49:07 -0400 Received: by mail-wm0-x233.google.com with SMTP id t70so17889308wmt.1 for ; Mon, 17 Jul 2017 07:49:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7Ih2iRLeo4nYAdxNt6oNmgPqeEvgCf5W2jPd43+c4Q8=; b=NZsu9ZdVEXP2gMJEQYn2ecAmlxmwOxgFdelXHxfvWDA+Rj+9zAtyBT1brmn5xFwb3v PgTHal9oPQ/iRl4HgNq8f/9qAis9CpO33BeMdo0A/1pbVqmO8K5UFlDRm0khnEGPRU3y S8vTdEPab6rMy4jvOCb9YtlsgO0viWVKA745Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7Ih2iRLeo4nYAdxNt6oNmgPqeEvgCf5W2jPd43+c4Q8=; b=bEjaVTyx4brAl2HpRJR00wQEaQofxUmyQAxpWmVFl3w+1wMrcZr51JcppuC/PDr4f2 lUIW8OOfKETlza7H/zZqRNNGgwpw6arozQoLTmO7LgQz4ydDh79EWyLgcFDKzQB/dKZF 7OXpDpnBdSh7ho3xOXpesaI4enK5LoXyNIjn3MBrVwBV41/EJXQ78K2fDKwNafeGL1bF DpRMYeiR3eqO0aw+P6D39qbxWiBkZUUf6OVUwjBu8bqIlFy9OsfNHkRT6wWahOb5DqTT 5zQBG9KpP+2GZhEkxxZyYUWXD8+sg6Mo1eJ4nbsFJ+dDVbdOiRjKd6M+wSdX1GI1VuXN Bi/A== X-Gm-Message-State: AIVw112bP6BtQztosQ+//SiVl6hdx+lU081M1Jjre+hgbuu93uKK5AKn 5TaTC2NYoZkVxe0lRnHjmw== X-Received: by 10.28.216.21 with SMTP id p21mr4908891wmg.29.1500302944418; Mon, 17 Jul 2017 07:49:04 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id g66sm10537647wmc.6.2017.07.17.07.48.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jul 2017 07:48:56 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 3DB583E04F1; Mon, 17 Jul 2017 15:48:49 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Mon, 17 Jul 2017 15:48:37 +0100 Message-Id: <20170717144848.11793-13-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170717144848.11793-1-alex.bennee@linaro.org> References: <20170717144848.11793-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::233 Subject: [Qemu-devel] [PATCH v1 12/23] docker: enable virgl to extend code coverage on amd64 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé [AJB: mv, comments in dockerfile] Signed-off-by: Alex Bennée --- tests/docker/dockerfiles/debian-amd64.docker | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) -- 2.13.0 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é @@ -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