From patchwork Tue Jun 19 15:44:17 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: 931718 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="QZ0kENYG"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 419Ch44dGCz9s7X for ; Wed, 20 Jun 2018 02:13:56 +1000 (AEST) Received: from localhost ([::1]:43519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVJGU-0005HH-7y for incoming@patchwork.ozlabs.org; Tue, 19 Jun 2018 12:13:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVIvV-0004Hk-7o for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:52:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVIvH-0001qt-C2 for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:52:12 -0400 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:33277) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVIvH-0001po-0n for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:51:59 -0400 Received: by mail-wm0-x229.google.com with SMTP id z6-v6so19402750wma.0 for ; Tue, 19 Jun 2018 08:51:58 -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=mgYiywWc+6/205HnB5Vr6MlHuhtWTQQxEj4zHDgE+MI=; b=QZ0kENYGs1L1Z53gOD3mvvJiRBgDOeeBDGX6oBF4XfsFF6IYZxviOZt1FXN7++wBMA 9x535e1c7IzP5H+ZZWGfZ26KYTBOKcCJGIn8kwWhR7+9GNZ68Tglqri5tiaA1L1JyBRy Y/Otp8y3JWzMhUZ9srsHa8u2lV2LzmNMRrhYw= 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=mgYiywWc+6/205HnB5Vr6MlHuhtWTQQxEj4zHDgE+MI=; b=IUH/fsv7X9Wp36uLyxFT7LSkf1VcrZ+YowDSFVnTJmDcwTXP0hA8btU8ghibZtmkaa TZl8DmWwImcBC5DL8gcopiNCHwVcUJecV00PsebWiN7qoZ49mwC9wqILLiPWfOKzOhwv C4+pwbnClhMNeTJkUCg05+5O/9FfY8q05xUllDK2n4em2tnpkB0QGyNviV0O4pAgVLr7 I2PRn2/u+ArCGkSnEM6nQIlEFJ+0ViU84dpdpRoG7qKtXH3MZLtt2j4gpPCYVC26rqMn OuTWjzozxNv18ESDaly3NcnqfOzoFcfQVORMpv0gE0l0GUv+JN0b5rXMMtOdvRRRNsNA vp+A== X-Gm-Message-State: APt69E3XxELCIXEKAS5sTb+BTqBV+N25kRSm6Tqn5aUpc1LV1U4IMtUx UYZxW888CnHQIOihrfuGpXk27w== X-Google-Smtp-Source: ADUXVKKsYlwBfHXtPUy2cs9K5Xrfp9A6OThFJx6A2+8p4CeMPw9GTTrhTS7QM0KCg09Zd8sdE2iWsA== X-Received: by 2002:a1c:4189:: with SMTP id o131-v6mr11595046wma.7.1529423517796; Tue, 19 Jun 2018 08:51:57 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id u108-v6sm29015wrc.40.2018.06.19.08.51.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jun 2018 08:51:53 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id DA16E3E0E85; Tue, 19 Jun 2018 16:44:38 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 19 Jun 2018 16:44:17 +0100 Message-Id: <20180619154435.18898-39-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180619154435.18898-1-alex.bennee@linaro.org> References: <20180619154435.18898-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:c09::229 Subject: [Qemu-devel] [PULL 38/56] 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: agraf@suse.de, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, qemu-devel@nongnu.org, f4bug@amsat.org, cota@braap.org, famz@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.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 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index a2dd307a8e..fb465e729e 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -74,6 +74,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