From patchwork Tue Jul 18 10:44:52 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: 108088 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp5735593obm; Tue, 18 Jul 2017 03:55:24 -0700 (PDT) X-Received: by 10.55.20.230 with SMTP id 99mr1127833qku.236.1500375324336; Tue, 18 Jul 2017 03:55:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500375324; cv=none; d=google.com; s=arc-20160816; b=OJaVFf5JXAnM8afVMEiY4rMGugFwV/1h/oKiNUJWcZGMyX3sRko5jqKej35DCDX9FP g/P1wm459MvNT33EZeKRyXTKG9+1VUNj6dHiWwNMTOLC/LajGIJ0iySLTZTRjOyuL9Ee Hl5nkOrR0e9hQtQmorQKDDKfqtfU50kUa1sDczmZuPrT1ZCBMLacbDU1/Y3HzioQR4ye T0huDe6f8HSO/TwwFo77TnsBNtD6FRwR5Q/iiklnCeA6atq87/H20xbwPqBypgqXXpoF zJo+CNee2JrOy4sacJsQqAgp/c09A3VW/A626v6suwx3PT3H0dCvJqIzb1McgFo42oJ4 VF+Q== 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=IbjPqVeip9JKsUw0TSU4JYRhcoa8UV1ZssVFF/yJTkM=; b=W5FcyQ4pCNyTs5H2eQepqJNlqqh5G8gr6TNXe8ErBsVUStOFvF87zFH2bgcITKzKJW lQZXbFThXzg9Ic22jqOLOu8yKMHsbjpOV+rHPSfHWK5ZK6XSXoSeYMJJDIgk6nlhvc7G yxQ+qh294QjwvV7+kNpwvxF/TbMnMxUp/2YKZ3cMpGClIG5zxy7Qjfuyz/QPMIceSN8L lPZR+hDqDv3bLKKnyl6LdHKs90ZbvGFXPXEDC24Qq1z5WHcnlvBY/LpqpNRbg4xk/1E/ 28nXBaSF0vKuwmCnrXcVRcyUDafcjFOxrQGu46TUYoMAjdB27IbNG7qp1+ktbYtiDvxY LI4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.b=IBD0UU3w; 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 s129si1792244qkb.287.2017.07.18.03.55.23 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 18 Jul 2017 03:55:24 -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=IBD0UU3w; 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]:55404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXQ9x-00073z-Sf for patch@linaro.org; Tue, 18 Jul 2017 06:55:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXQ0W-0007gd-Sy for qemu-devel@nongnu.org; Tue, 18 Jul 2017 06:45:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXQ0V-0003FU-TP for qemu-devel@nongnu.org; Tue, 18 Jul 2017 06:45:36 -0400 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:32851) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXQ0V-0003F5-Mq for qemu-devel@nongnu.org; Tue, 18 Jul 2017 06:45:35 -0400 Received: by mail-wr0-x234.google.com with SMTP id a10so23441737wrd.0 for ; Tue, 18 Jul 2017 03:45:35 -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=IbjPqVeip9JKsUw0TSU4JYRhcoa8UV1ZssVFF/yJTkM=; b=IBD0UU3wWs7NKOFtiY6FAwhio4h4FD9tetuL++3ttHVXA79ix/uVXYdvBYWL5aY3WI py4ux/qv2zXrlf1VPLYDOlydGv1cGRHeEgbkrqgYJdKXPe7EO7HOduHL9om+5IhT2PyC OCDIeiC8q0PW8q9ZS4j11/KCbfKPie0dGUrrM= 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=IbjPqVeip9JKsUw0TSU4JYRhcoa8UV1ZssVFF/yJTkM=; b=BTDzE2duxykz2jeucAR9Hrh7hOVTIvu5Un7s3IuVMG9dpbNKImIhH5DW/sf3r8VcyZ RtLcyDGlXk8WLl1EnOBg9zNLw60vA4VnnmYKAzr2lpGB7BAa3jkCSlA1JigY/eERjYxH +e0kkVT2DppxszpjtcdPpxB+lzfok8jXcrh0l4rXz9RLtb7PuDRDzOM6JwzsSF2n6T82 TtXRBHYfY6i3BRnYHri4O0jfYV4ryhSTJ0OvoTl2Uo9oujAxWSIq8pH35ixJizzHv/in GQ57T5CgpP0sMMN7cfk4q2OyqXhqiNKKB7rMSCo9L8a7Fv6pJBgL+gsysTq4Wv4P8NDE qW2Q== X-Gm-Message-State: AIVw112Eg1/ckKdOxSoAU7cZMmK7eayNtB+T7idhpY0gf1hszBS7oM7K h05BG5ZKS5Xyr8Qg X-Received: by 10.28.48.68 with SMTP id w65mr1673603wmw.54.1500374734621; Tue, 18 Jul 2017 03:45:34 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id q2sm17876708wmg.3.2017.07.18.03.45.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 03:45:26 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id CC2533E05E5; Tue, 18 Jul 2017 11:45:14 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: Date: Tue, 18 Jul 2017 11:44:52 +0100 Message-Id: <20170718104513.23947-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170718104513.23947-1-alex.bennee@linaro.org> References: <20170718104513.23947-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:c0c::234 Subject: [Qemu-devel] [PULL 11/32] docker: add debian/ppc64el based on Stretch 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?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , "open list:-----------------..." Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée -- 2.13.0 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index db66b6f802..553465ef6d 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -60,6 +60,7 @@ docker-image-debian-armel-cross: docker-image-debian9 docker-image-debian-armhf-cross: docker-image-debian9 docker-image-debian-arm64-cross: docker-image-debian9 docker-image-debian-mipsel-cross: docker-image-debian9 +docker-image-debian-ppc64el-cross: docker-image-debian9 docker-image-debian-s390x-cross: docker-image-debian9 # Expand all the pre-requistes for each docker image and test combination diff --git a/tests/docker/dockerfiles/debian-ppc64el-cross.docker b/tests/docker/dockerfiles/debian-ppc64el-cross.docker new file mode 100644 index 0000000000..f44a35880a --- /dev/null +++ b/tests/docker/dockerfiles/debian-ppc64el-cross.docker @@ -0,0 +1,25 @@ +# +# Docker ppc64el cross-compiler target +# +# This docker target builds on the debian Stretch base image. +# +FROM qemu:debian9 + +# Add the foreign architecture we want and install dependencies +RUN dpkg --add-architecture ppc64el && \ + apt update +RUN apt install -yy crossbuild-essential-ppc64el + +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get build-dep -yy -a ppc64el qemu + +# Specify the cross prefix for this image (see tests/docker/common.rc) +ENV QEMU_CONFIGURE_OPTS --cross-prefix=powerpc64le-linux-gnu- + +# Install extra libraries to increase code coverage +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + libbz2-dev:ppc64el \ + liblzo2-dev:ppc64el \ + librdmacm-dev:ppc64el \ + libsnappy-dev:ppc64el