From patchwork Fri Jun 8 12:32:54 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: 138048 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp907327lji; Fri, 8 Jun 2018 06:59:27 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIG3VMlrrMhwTVXyaG1of0zxSQbx+rU3hLrPvxW0Pgy2mXp4PGFBOtRobOe8w/pKNYMGL+0 X-Received: by 2002:aed:362a:: with SMTP id e39-v6mr5990813qtb.25.1528466367447; Fri, 08 Jun 2018 06:59:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528466367; cv=none; d=google.com; s=arc-20160816; b=MoEnmFlompEj6vvXYPTQukZbpf9AjyhKqS2Hq2Brd5SSpKmo/zKn8Pypc8XBUEECLL Pp7sKI+MvJnqFymo8JfdL9HlhrWH7gvu3tey8A/Bc9+PysK7bAgCFVCudsl3bPRfTTxO Xk6fbHNur97PWTaszsGM4iYxAs2V5vKJzDB9pDvBQCRnfB7ufFcgm5Gfx+Arv5iKrVey ZFWF8KKcqBEEwHHZrKVJPGozsEmKxvB3RqvZagtD0hEDAUTYPN9hK9+hwukTRcuAlGfc CC+ux29U1UR2O67yHHp1RZ6FU9bfMLFQLEfNBTKX8iQBw2ePeD7Lcr0F8V65E49WJyzG GS1g== 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=Bi+oVYQ485w7OJ7xsyPzx5xaJV7G+U4sgZ/3F4HFDOk=; b=lKxgzUal/O3yxb2Hwe/NVRbowm11aiKl/78GDt1OCwbdNFzSb4L98a0Ylu+4QBNSJy WKMEQ6VUMM3BRoRmgWNMBM8xJto+6GT6Px6tkXetKqcAkt8d0gTyUAy60Mgq6OAAuhsp 9W+JmtQdXgA1Kor4+BLswKbYqXg81D8UWtg1XrV3lshONzOu9Dah/efWf9uOXYyn6JPc amN2Y2x2V++YWbgRmHZNMtfPAJyIdsL8I7VhjdBmCyIK1vZKTBJmJZAILNJZsyBdhw5Z 9BGKdb/zubN+ZRhxpJ65w+0JZ2DAMc7bApGjaDKgwIJw1ZSbOVrIxhWDtSN2ls7L/UPd V8uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=cdZmjumf; 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 a17-v6si11961683qkc.297.2018.06.08.06.59.27 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Jun 2018 06:59:27 -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=cdZmjumf; 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]:35839 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRHvL-0004j6-0m for patch@linaro.org; Fri, 08 Jun 2018 09:59:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRGpQ-0005wM-Dh for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:49:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRGpP-0006hS-I1 for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:49:16 -0400 Received: from mail-wr0-x229.google.com ([2a00:1450:400c:c0c::229]:42280) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRGpP-0006fv-Ai for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:49:15 -0400 Received: by mail-wr0-x229.google.com with SMTP id w10-v6so13274185wrk.9 for ; Fri, 08 Jun 2018 05:49:15 -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=Bi+oVYQ485w7OJ7xsyPzx5xaJV7G+U4sgZ/3F4HFDOk=; b=cdZmjumfy/tVgYPrpfJ6k32Oafh/ZW/sJsU9jKmulZVzzZTcaVt/ZDUh/wttWWcXT/ 8mhTs/h0L3amLQZXKbMhSBb9+x3QvmTFPsb9m/KZ2juokb9t+jKWds/SPLn8jkMHoh5L bq1eJZ8Ucdy7SywhNw4dwiAs0lObqZ7iJSWwA= 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=Bi+oVYQ485w7OJ7xsyPzx5xaJV7G+U4sgZ/3F4HFDOk=; b=PqG7IK7g14/A7VGv3jtl+KJAjPPALIpZszd3M0erfHY1M9mORN7RgXED2SwdSJKqVL FkB5itmFL6PPHKlBsuWJRIl24WEbsidU6aWdTG2g00Yhu8gx5yYDDrqygFVeLAoTFWqo /v5yZMvWjqdC/SJsfda1t8YbkR1CIMv06gL4dkGD439XdmXSuk/zTkYN2z5l4/mlWuqB ub7vVesPoPrQwUx3Ut/11xlziYbW92QxdOpaoEVhWUJjMH3KRdbsXLgj6wN7xHGa+Wz+ y7sefx/0g9mrX7VlXFNitOiLtXzjzv1/tFMKJSEeENybE4iMPo4KaZo+mIYjhPylA0FE jWBA== X-Gm-Message-State: APt69E2zBavVvWW1pUKEmi/GnyoU4PtJcVAI0C8hBIEql1yiP1odeMmQ /39o0yoMF4dEc3//e0l/A0wZWw== X-Received: by 2002:adf:ebc3:: with SMTP id v3-v6mr4915341wrn.33.1528462154176; Fri, 08 Jun 2018 05:49:14 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id p38-v6sm59552815wrc.11.2018.06.08.05.49.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Jun 2018 05:49:12 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 4A5B63E0CE0; Fri, 8 Jun 2018 13:33:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=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, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Fri, 8 Jun 2018 13:32:54 +0100 Message-Id: <20180608123307.24773-37-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608123307.24773-1-alex.bennee@linaro.org> References: <20180608123307.24773-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::229 Subject: [Qemu-devel] [PATCH v6 36/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_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 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 -- 2.17.1 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index bad3d28103..2080a528a3 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -73,6 +73,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 # Specialist build images, sometimes very limited tools 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