From patchwork Mon Feb 27 14:30:27 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: 94552 Delivered-To: patch@linaro.org Received: by 10.140.20.113 with SMTP id 104csp899438qgi; Mon, 27 Feb 2017 07:03:10 -0800 (PST) X-Received: by 10.31.149.15 with SMTP id x15mr6350041vkd.130.1488207790561; Mon, 27 Feb 2017 07:03:10 -0800 (PST) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id c27si5269377uaa.7.2017.02.27.07.03.10 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 27 Feb 2017 07:03:10 -0800 (PST) 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; 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]:53439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciMpQ-00035g-7P for patch@linaro.org; Mon, 27 Feb 2017 10:03:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciMJw-000156-3h for qemu-devel@nongnu.org; Mon, 27 Feb 2017 09:30:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciMJs-0007Zi-5Q for qemu-devel@nongnu.org; Mon, 27 Feb 2017 09:30:36 -0500 Received: from mail-wr0-x232.google.com ([2a00:1450:400c:c0c::232]:35457) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ciMJr-0007Yd-Uw for qemu-devel@nongnu.org; Mon, 27 Feb 2017 09:30:32 -0500 Received: by mail-wr0-x232.google.com with SMTP id g10so53383021wrg.2 for ; Mon, 27 Feb 2017 06:30:31 -0800 (PST) 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=vRO5FYXbrYsL/YZalT5o03UUAsmQuH02eaGcxNCQ6aM=; b=AK8PK7t+4Q5KsAJLZz48RjeIY2NhDz8FEYFJ45vArvAqmdzbHG/86Mod6aRhJyFezD lFREczayxpt7rjz9bMkbsYUVdpxaqLwxluhU9XPosykyfbXeVQocZa6xSkLqqJUJCoHf +fB0y7PK+uK4Ef5A7lu+Nz+GYRvUOSvM8cQ0s= 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=vRO5FYXbrYsL/YZalT5o03UUAsmQuH02eaGcxNCQ6aM=; b=d6G2EGXqUygkYYNImyXWHYtz5RQY3getwIfJd39lBMceVaoQPjIhgS/BndJTaZWzCj hVKPr8RFT8SFwLuNiGFPsqnEC2fN/4JxRzv0epTkcmEY5tHnxGyZrtlrAYgXvclZA3Pn zqzN5vZeYVqkSncbNOr85cMxMeJM1CNttBytD9ewA6HAs9950JqX+VQU9UDnrApAY/g/ LCqo6o0WG8AISZgK+8oLUf9/5AYTxbTn0rseHZic653OxkffGzG4cD9CZvbnuZpsTIf7 JBZwyCpwk1Tu2aZfxkYCXdcK0lKI5YH1b0jSzA2pINJWIFY+GUauQTlEsXVTp26t7rdH OKow== X-Gm-Message-State: AMke39k9HFstHTrdZrDAM250vfLSmmXtqMYe88+wMTSOy80/+Feh2fHHyYnTPQ6tWDlOfm3G X-Received: by 10.223.136.253 with SMTP id g58mr8393171wrg.10.1488205830299; Mon, 27 Feb 2017 06:30:30 -0800 (PST) Received: from zen.linaro.local (host109-151-54-100.range109-151.btcentralplus.com. [109.151.54.100]) by smtp.gmail.com with ESMTPSA id 63sm14530930wmg.22.2017.02.27.06.30.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Feb 2017 06:30:29 -0800 (PST) Received: from zen.home (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id C0EFE3E037F; Mon, 27 Feb 2017 14:30:28 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: famz@redhat.com Date: Mon, 27 Feb 2017 14:30:27 +0000 Message-Id: <20170227143028.16428-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170227143028.16428-1-alex.bennee@linaro.org> References: <20170227143028.16428-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::232 Subject: [Qemu-devel] [PATCH v1 1/2] new: dockerfiles/debian-s390-cross 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: Christian Borntraeger , =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This adds an s390 cross build target to our library of docker setups. There is an issue with the xfslibs-dev:s390x package having a clash so we do a || apt-get -f install to fixup the rest of the dependencies. This doesn't build on the debian.docker file as we are using the multilib compiler which is only available in stretch (the current testing repo). Signed-off-by: Alex Bennée CC: Christian Borntraeger --- tests/docker/dockerfiles/debian-s390x-cross.docker | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-s390x-cross.docker -- 2.11.0 Tested-by: Philippe Mathieu-Daudé diff --git a/tests/docker/dockerfiles/debian-s390x-cross.docker b/tests/docker/dockerfiles/debian-s390x-cross.docker new file mode 100644 index 0000000000..bbb21ed088 --- /dev/null +++ b/tests/docker/dockerfiles/debian-s390x-cross.docker @@ -0,0 +1,22 @@ +# +# Docker s390 cross-compiler target +# +# This docker target is based on stretch (testing) as the stable build +# doesn't have the cross compiler available. +# +FROM debian:testing-slim + +# Duplicate deb line as deb-src +RUN cat /etc/apt/sources.list | sed "s/deb/deb-src/" >> /etc/apt/sources.list + +# Add the s390x architecture +RUN dpkg --add-architecture s390x + +# Grab the updated list of packages +RUN apt update +RUN apt dist-upgrade -yy +RUN apt-get build-dep -yy -a s390x qemu || apt-get -f install +RUN apt install -yy gcc-multilib-s390x-linux-gnu binutils-multiarch + +# Specify the cross prefix for this image (see tests/docker/common.rc) +ENV QEMU_CONFIGURE_OPTS --cross-prefix=s390x-linux-gnu- From patchwork Mon Feb 27 14:30:28 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: 94550 Delivered-To: patch@linaro.org Received: by 10.140.20.113 with SMTP id 104csp893079qgi; Mon, 27 Feb 2017 06:47:49 -0800 (PST) X-Received: by 10.55.24.22 with SMTP id j22mr10751083qkh.96.1488206869525; Mon, 27 Feb 2017 06:47:49 -0800 (PST) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 52si11906578qtv.302.2017.02.27.06.47.48 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 27 Feb 2017 06:47:49 -0800 (PST) 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; 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]:53346 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciMaY-0006R4-VM for patch@linaro.org; Mon, 27 Feb 2017 09:47:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciMJw-000158-3v for qemu-devel@nongnu.org; Mon, 27 Feb 2017 09:30:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciMJt-0007au-JG for qemu-devel@nongnu.org; Mon, 27 Feb 2017 09:30:36 -0500 Received: from mail-wr0-x232.google.com ([2a00:1450:400c:c0c::232]:34712) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ciMJt-0007aJ-Dr for qemu-devel@nongnu.org; Mon, 27 Feb 2017 09:30:33 -0500 Received: by mail-wr0-x232.google.com with SMTP id l37so9382498wrc.1 for ; Mon, 27 Feb 2017 06:30:33 -0800 (PST) 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=jAjT88M+/5WOkdYatcYhhq5lWv2YonCURtcrrUZ+N34=; b=M4LuZfHCi6fxMnI9vf0nnZ9wp1875A31BX0EfIke3C7T9W0n9Kpn+O5ujI8ZHipSva vPXMgFNCTMuX+3AJOs8Zb3HYei8Qk0S+Cb6d8XA1dc7cz8ZgnASkjdUzXhaAQlIUIUfy TZODWqV0PypTTy5eziS+k4lQxOmzNw7U3qTVc= 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=jAjT88M+/5WOkdYatcYhhq5lWv2YonCURtcrrUZ+N34=; b=Zr2ObB2qNnNd5pGhhtDZ4CUAsD23V5u6sj2TnCxLy+Wpkc7BU2pn7MEh1J8jPm9857 +IxHMcCqfMJxLLUp/R3mIaGfSIen20qyRQ/kpZg8YAM4vNqABVvE7Zz+/5GddXIefTqp 1grlZFDm69K7ngdXNGgSm0cW9DuFLWiPZNRz9ZLyzNu+rzqghC+4ciYFDP7V6eXyIKhG YEsaPSwCueGT2/Two7GYI+Vn9eXahDfMoaZ6B1i/Qo8OSOXh7RiQLx6VD6wwZAJg+iBt udF0IbLNDfktPnbILEm3z20icogrb8v1OrwpgiygdW/kM90gqUiQJV1vv0T0Pgy7xa2J 8PIQ== X-Gm-Message-State: AMke39n3ccBb9SdmiupNIqnEZdsFET1yBfl89Za3yA+2Q4PduK4sw0UhZnrY9IxnKgQqRDu9 X-Received: by 10.223.135.237 with SMTP id c42mr6037826wrc.139.1488205832445; Mon, 27 Feb 2017 06:30:32 -0800 (PST) Received: from zen.linaro.local (host109-151-54-100.range109-151.btcentralplus.com. [109.151.54.100]) by smtp.gmail.com with ESMTPSA id y65sm14508060wmb.5.2017.02.27.06.30.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Feb 2017 06:30:29 -0800 (PST) Received: from zen.home (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id D1BF33E04B2; Mon, 27 Feb 2017 14:30:28 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: famz@redhat.com Date: Mon, 27 Feb 2017 14:30:28 +0000 Message-Id: <20170227143028.16428-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170227143028.16428-1-alex.bennee@linaro.org> References: <20170227143028.16428-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::232 Subject: [Qemu-devel] [PATCH v1 2/2] .shippable: add s390x-cross target 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Use the new debian-s390x-cross.docker target to cross compile for s390. Signed-off-by: Alex Bennée --- .shippable.yml | 2 ++ 1 file changed, 2 insertions(+) -- 2.11.0 diff --git a/.shippable.yml b/.shippable.yml index 1a1fd7a91d..653bd750fe 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -5,6 +5,8 @@ env: TARGET_LIST=arm-softmmu,arm-linux-user - IMAGE=debian-arm64-cross TARGET_LIST=aarch64-softmmu,aarch64-linux-user + - IMAGE=debian-s390x-cross + TARGET_LIST=s390x-softmmu,s390x-linux-user build: pre_ci: - make docker-image-${IMAGE}