From patchwork Tue Apr 24 15:24:00 2018 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: 134139 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp2430885lji; Tue, 24 Apr 2018 09:17:09 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+LmY54NtFddQLTc+dCSMFjFv8M3JEX57+BNTLRAZ24ZmRNMz9o1nRXHEvneVsWHyZxyF08 X-Received: by 10.55.191.131 with SMTP id p125mr25822818qkf.99.1524586629757; Tue, 24 Apr 2018 09:17:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524586629; cv=none; d=google.com; s=arc-20160816; b=kvu8qBBUlfWUMsE3mgGUe5n908kLu998btOz4S/gQhei/Tsdlk82hqIT+hxqWrqVx2 NhVPfYgRFFy7a64Y9N96HMxGMCwBmOEUNKlp4pk9/qjyuje7PnFrKJMkuHvb0fqV9XVK 7L7QGZbNikLfSNsgG2QjrPfpt2Uy2KMSbi+hesf63ftB6aW41CbHeRLl/1rP5NvF+yv3 mwFJP1hwp2fYbHFDHkj4YICl2sDVGLjfeBMR6/gMVMxr3EpozRbDoc0+Kzi3Lm7cnOFc 11dcSssds50VFfYmLkY4DCWjxtRXe+qA2IN3oEHlNM09s2Tt2UQHjKfnISWqjlsmoZu1 IZng== 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=T3ZbpXoixNm/vlT54qPwb9JEP2Bdb4yOQ2LifTvn+2Y=; b=vUcNycKu3ngPCGUkKW9ce9N/GT49X6Z5q7wALxmB4arR0VRY4VnOq/2uXFubXQ2mSP xvPw383k+0P9OUsDsVCs1c6P9/2EqQ66qyBxusb9y9tLQCRTBXJmDLFw2bnu7vJb5miO 7JKJlCGtaWCoVoZq73VfPpdNNWb+uSpTPHv9/NDAF2PVZICkZjDQkMxxjilXEz1cKnXB 9bw5wPRDybmJ5sKgQQJJRRggyPNrb+Yz9I6sRLC0PgBPr9va1SXUEQG7arWx2I/sTar4 pLaCI6DW8o1oyFVCJZ2AndFTQF90fCaB/w+vc76v/gN/splgWScZjJtbHd0MBbaRG8W1 U/6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=REJN0SWR; 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 p27-v6si757134qte.207.2018.04.24.09.17.09 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 24 Apr 2018 09:17: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.s=google header.b=REJN0SWR; 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]:59412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB0cv-0006T0-5U for patch@linaro.org; Tue, 24 Apr 2018 12:17:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAzwZ-00063i-T5 for qemu-devel@nongnu.org; Tue, 24 Apr 2018 11:33:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAzwV-0001Xl-BG for qemu-devel@nongnu.org; Tue, 24 Apr 2018 11:33:23 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:34460) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fAzwV-0001Wy-4y for qemu-devel@nongnu.org; Tue, 24 Apr 2018 11:33:19 -0400 Received: by mail-wr0-x243.google.com with SMTP id p18-v6so31210223wrm.1 for ; Tue, 24 Apr 2018 08:33:19 -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=T3ZbpXoixNm/vlT54qPwb9JEP2Bdb4yOQ2LifTvn+2Y=; b=REJN0SWRngklEB7TNVe8XYULaU8qu063ZBgMP/Xqjtk+fJ0G2/fV7FXGjOPmKQceGu NThKYucrTPd2QSI7O4Hsejw7DBuGRlu5mpg30ezAl8YQit/miJWYCBPPdBWqy9UrOY2C WRqRLINROae0wZR6PLg+Um6rbC8KGIP2QRPpk= 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=T3ZbpXoixNm/vlT54qPwb9JEP2Bdb4yOQ2LifTvn+2Y=; b=iKqQhKLPI/3Wlnmk2GxrYxu2TCN48FqtOVfYjBb4eHMyM9FOXGV8gMZwvYG86lgZv+ cA5V63ARHbBiI1Z/xd8ZL7Y1jNT11FVL6Ri1Njm+ZQtrCf3+eQtDKE7PpTX4VRHTQZhN IO3ua3Is77azFcLQ35U3MLKXmvo0IiloBLtcSlYbnM2XCFz+9Re1Av11cMmX1fqd7OUZ I3O15avZQCUZHNjWRkg9waFHse85KkC+NtJePUDb8eOGmZU0SbENzFQKRF9QUclFE384 MngepQPN2YUfXduBlQaQ/5adXJsOtUkFyedGjKIAe5I0Snfmi0eTX4j/TPLBoUtqhmbD pEKA== X-Gm-Message-State: ALQs6tBB91eHQRL8Uv0/xkgiolJh+OLSCqgPAvVG5U0YyiXgxLN3VGd8 bFWgyeI4k7f9oE5znm5431GR4A== X-Received: by 2002:adf:a6f8:: with SMTP id t111-v6mr21432580wrc.161.1524583998006; Tue, 24 Apr 2018 08:33:18 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id g7-v6sm12603406wrb.60.2018.04.24.08.33.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 08:33:14 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id A61383E1640; Tue, 24 Apr 2018 16:24:08 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org, cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Tue, 24 Apr 2018 16:24:00 +0100 Message-Id: <20180424152405.10304-42-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180424152405.10304-1-alex.bennee@linaro.org> References: <20180424152405.10304-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::243 Subject: [Qemu-devel] [PATCH v3 41/46] tests/tcg: enable building for sparc64 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" As before, using Debian SID compilers. Signed-off-by: Alex Bennée --- tests/docker/Makefile.include | 1 + tests/docker/dockerfiles/debian-sparc64-cross.docker | 12 ++++++++++++ tests/tcg/sparc64/Makefile.include | 2 ++ 3 files changed, 15 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-sparc64-cross.docker create mode 100644 tests/tcg/sparc64/Makefile.include -- 2.17.0 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index c08f32ca58..62d1f4dec0 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -66,6 +66,7 @@ docker-image-debian-alpha-cross: docker-image-debian-sid docker-image-debian-hppa-cross: docker-image-debian-sid docker-image-debian-m68k-cross: docker-image-debian-sid docker-image-debian-sh4-cross: docker-image-debian-sid +docker-image-debian-sparc64-cross: docker-image-debian-sid docker-image-travis: NOUSER=1 # Expand all the pre-requistes for each docker image and test combination diff --git a/tests/docker/dockerfiles/debian-sparc64-cross.docker b/tests/docker/dockerfiles/debian-sparc64-cross.docker new file mode 100644 index 0000000000..1e2c809274 --- /dev/null +++ b/tests/docker/dockerfiles/debian-sparc64-cross.docker @@ -0,0 +1,12 @@ +# +# Docker cross-compiler target +# +# This docker target builds on the debian sid base image which +# contains cross compilers for Debian "ports" targets. +# +FROM qemu:debian-sid + +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + gcc-sparc64-linux-gnu \ + libc6-dev-sparc64-cross diff --git a/tests/tcg/sparc64/Makefile.include b/tests/tcg/sparc64/Makefile.include new file mode 100644 index 0000000000..95fc8dee9f --- /dev/null +++ b/tests/tcg/sparc64/Makefile.include @@ -0,0 +1,2 @@ +DOCKER_IMAGE=debian-sparc64-cross +DOCKER_CROSS_COMPILER=sparc64-linux-gnu-gcc