From patchwork Fri May 25 14:19:06 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: 10427579 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 03AFE6025B for ; Fri, 25 May 2018 14:30:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1D6D297A7 for ; Fri, 25 May 2018 14:30:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D36402975F; Fri, 25 May 2018 14:30:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 247E32975F for ; Fri, 25 May 2018 14:30:13 +0000 (UTC) Received: from localhost ([::1]:44347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMDjQ-000126-IR for patchwork-qemu-devel@patchwork.kernel.org; Fri, 25 May 2018 10:30:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMDZ6-00019t-P4 for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMDZ5-0000b9-P6 for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:32 -0400 Received: from mail-wr0-x236.google.com ([2a00:1450:400c:c0c::236]:36860) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMDZ5-0000aX-JF for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:31 -0400 Received: by mail-wr0-x236.google.com with SMTP id k5-v6so9548601wrn.3 for ; Fri, 25 May 2018 07:19:31 -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=gt/N8AysM+qDEJCZeyIWH1Cxjh7YSk4gVpPH2dVPu9k=; b=kE9Ic9IqZ++GevQAfpbohVlwZWJevQWYf0D1X0WLQ1Nw7/dq6TfzUR58Z2fJzk3aOL xOEA4SDhiktLw2xnzpsjNOF4fcxHNXHfoDwVBWhtSmqOCM8X09yDcm4LYnCmtGCdH3+r 4uMph+xfvslcBwGMlAqDvCi1VVX1MdKs5ZLkM= 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=gt/N8AysM+qDEJCZeyIWH1Cxjh7YSk4gVpPH2dVPu9k=; b=R4wthiPZfzmXRezaUx+K0pkM4/sb/hsHQqpDvs1coWi3N9pjsYJZBdMZBEXw3dSYpt ChagFhs1CWmwpGDYoOXn3Tu4BdeeADIojX6RIf0MWGRK3HnHq0MBlZkBf6zQ/GoJ5EsY dR2X8OQ/5GZAIi0r6tUBg57FXaJn84e/VkUu8d7w6qYfecSOF+MTiGh52yY9ipEqcUjA zHMDpQAZ4OayuiIHG4+L79W57bSjmaHcOwwZP5xpq7oGMNhIjjaZYcgy5dS0XpICd20i wJ5DjDoKJnlUkYhMHS5p3pbTsh4bnuOHT5wt1SMR01ndfCMy2tXHjXkjFoh+i66FT45j boIA== X-Gm-Message-State: ALKqPwez5qE1RZRdVlRZPYAgf8fCBBhhLK9fil25mxOK47S9xErFmX6S JCIpjtnRBl51iesOSsTsizKUG4e8kJ8= X-Google-Smtp-Source: AB8JxZpeHxi1msj/pEBx8PjwbuGTBdB2mcWFWuEVBvHMGGl+avPN5bGRnHbIQLlThS4bngLE+8BYdA== X-Received: by 2002:adf:9d93:: with SMTP id p19-v6mr2669463wre.21.1527257970554; Fri, 25 May 2018 07:19:30 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y11-v6sm17803037wrc.93.2018.05.25.07.19.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 May 2018 07:19:27 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 3A8933E06C7; Fri, 25 May 2018 15:19:15 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: 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: Fri, 25 May 2018 15:19:06 +0100 Message-Id: <20180525141915.6497-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180525133851.27161-1-alex.bennee@linaro.org> References: <20180525133851.27161-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::236 Subject: [Qemu-devel] [PATCH v5 40/49] 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=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP As before, using Debian SID compilers. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- v5 - add Makefile with EXTRA_RUNS for mmap tests --- tests/docker/Makefile.include | 1 + tests/docker/dockerfiles/debian-sparc64-cross.docker | 12 ++++++++++++ tests/tcg/sparc64/Makefile.include | 2 ++ tests/tcg/sparc64/Makefile.target | 6 ++++++ 4 files changed, 21 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-sparc64-cross.docker create mode 100644 tests/tcg/sparc64/Makefile.include create mode 100644 tests/tcg/sparc64/Makefile.target diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 1eb34c1dd2..1dba05ed18 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 diff --git a/tests/tcg/sparc64/Makefile.target b/tests/tcg/sparc64/Makefile.target new file mode 100644 index 0000000000..408dace783 --- /dev/null +++ b/tests/tcg/sparc64/Makefile.target @@ -0,0 +1,6 @@ +# -*- Mode: makefile -*- +# +# sparc specific tweaks + +# On Sparc64 Linux support 8k pages +EXTRA_RUNS+=run-test-mmap-8192