From patchwork Mon Jul 17 14:48:35 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: 107982 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp4666029obm; Mon, 17 Jul 2017 07:58:12 -0700 (PDT) X-Received: by 10.237.51.199 with SMTP id v65mr28850125qtd.75.1500303489234; Mon, 17 Jul 2017 07:58:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500303489; cv=none; d=google.com; s=arc-20160816; b=ucd4rpfXNZvqMKEaoLnmqDjeJSUbJ3jfIDoqdqrGnDfaLrwgnzLGYFO595DlIyK/Nm pg141EfTGs7UttWk3zMQJA/5Nl20H8dheWE2nG4Z8QiE43bBMuErZpUIzzWUkmAR+amK g2SJ9eIFQPqqMUxYFYAG7V2pwJUBrh8kQrGQlRZE2QTs0hYO8ar1szYzb+JgxZGb5TGI 04UhwEjgVrDcXsfGEst/NPHJS0b/PqER7EgKL7UBWFiaZ+HcOGNwidRr627uwJjolbq9 AWxBhEOKmgQCzvQfSe57/OdnvuEMwUNRklbxCDXTW5jyiGSPOou6qmUaWMT6qEQUOfgN szdA== 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=/lLR/QMlUh4V9NZmPQnTgZmVrlUOO7Fma+2aQnR1IKI=; b=lYOsgT1/ySGjC0iwi2VyDzY63Sqw2zY0FZnFxQ+0q4jzHXfcw6c3FWdkdzXiq/SnxM mVjzkV4lNdl/00jKOmm2185M528FPMU4FzQE9WGz/nO7zsgXv+O7OWw8kYvNJG77R8uq iwT7w3Iu4Bxem3jNjLH6afci0wno85HCT8GZHO0Ik/ikDccPQdE652soMCiZtdIetjIw wV1VAR7+9GzaVqm7jm/83gR4pE4DhggUA10uFfO2fZcRhaNo3M1kOM13Ak2yo8w24lig d26bW7AOQwUQhNzZq5MamYJo9yKwzArqTd39/Cu6ApKsdMuBv7FjxvVts+XMvk4YITHQ zhLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.b=MAC4vcDV; 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 l184si15469802qke.77.2017.07.17.07.58.08 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 17 Jul 2017 07:58:09 -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=MAC4vcDV; 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]:50874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX7TK-0005gt-JV for patch@linaro.org; Mon, 17 Jul 2017 10:58:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX7Kc-000639-RN for qemu-devel@nongnu.org; Mon, 17 Jul 2017 10:49:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX7Ka-0002Cd-G0 for qemu-devel@nongnu.org; Mon, 17 Jul 2017 10:49:06 -0400 Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]:36066) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dX7Ka-0002C5-92 for qemu-devel@nongnu.org; Mon, 17 Jul 2017 10:49:04 -0400 Received: by mail-wr0-x22f.google.com with SMTP id y43so2189585wrd.3 for ; Mon, 17 Jul 2017 07:49:04 -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=/lLR/QMlUh4V9NZmPQnTgZmVrlUOO7Fma+2aQnR1IKI=; b=MAC4vcDVnS3pRkG7ja19mjIBz0XqdAgYaTkztEUc+Ldv/Simf28DU3owl/0ubGJDQV U1UNPlRRDQxIASNNXLkdM3NLGB85iYMaei0xti4BWiuL7k4p+1M9EAXaASMdzoDqwGHO bEGw7EwKFQK0MY5uEaVBnS/QAGaNcX6Vt1unw= 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=/lLR/QMlUh4V9NZmPQnTgZmVrlUOO7Fma+2aQnR1IKI=; b=iot/0C5w3lZImuy5zK+zqjFFD7+aYoOqYHcPyeerlPe1UYPEv5nmVUhyKvpxOoC/dT 4hBcQjnxqCDvSYK1A24kYnuZfxEGkmVfcPWdzD/OL8pgGhMqDLQKyL0V+Ww2mD6Qaasq X7nMoC73yevzDwRCT/aUBv9cdCKuqoEhRPXQZo8YkgFzXUjPnnjj+8wmNAskXMlEpB8p miYsmKuIjADL7VS3qq3Fqlw1RvLZZ9Ofehqv33RULryLBqxGFFqnK34vmuNRqdvZhn2f JnbJClFE716cWRJEY1ZMP2suPDJf1F5SLV9eRZEmSKMQZnPkpIk5c3uxHezouwHOlxpk vPkA== X-Gm-Message-State: AIVw1103vQ2vVhcCSkoNhfLyd/RZx9p3hvt/WlIXfmdw5FQrrdsiEN6Q E+YKtTqZJZnLhaSB X-Received: by 10.223.135.185 with SMTP id b54mr11002363wrb.170.1500302943179; Mon, 17 Jul 2017 07:49:03 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id g63sm15920669wrd.11.2017.07.17.07.48.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jul 2017 07:48:55 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 19D4D3E04E4; 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:35 +0100 Message-Id: <20170717144848.11793-11-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:c0c::22f Subject: [Qemu-devel] [PATCH v1 10/23] 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?= , 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é Signed-off-by: Alex Bennée --- tests/docker/Makefile.include | 1 + .../docker/dockerfiles/debian-ppc64el-cross.docker | 24 ++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-ppc64el-cross.docker -- 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..f34f09a8cd --- /dev/null +++ b/tests/docker/dockerfiles/debian-ppc64el-cross.docker @@ -0,0 +1,24 @@ +# +# 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- + +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + libbz2-dev:ppc64el \ + liblzo2-dev:ppc64el \ + librdmacm-dev:ppc64el \ + libsnappy-dev:ppc64el