From patchwork Thu May 17 17:47:12 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: 136203 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp272457lji; Thu, 17 May 2018 11:22:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrOEIOeM2y8/WoCgDDUASyIjQFctsiv62alMy23da9mzRk25p5DeA2MQVvLfjVqmWBELusl X-Received: by 2002:aed:3ccb:: with SMTP id e11-v6mr6635757qtf.131.1526581358539; Thu, 17 May 2018 11:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526581358; cv=none; d=google.com; s=arc-20160816; b=TKoWduulZza+R3woXpYwV+S52fECCT5Dav10x19t1pcxlNjRH8ei22WTsGoz413Ckv dQwm2juxRhaPVv5KjcvoyoDT/U7LL0ILmTCx74MyTHKUHCYpadqrnX9bPXNx9ps/K4H9 jD6mIxdmtQw/ChG37yksl/n3bscme6NRBV11tli77JVXkR0F9k5DVg1GM5eUvIjLCQna afxYkPFsFOL7owySOU+rAyVh3IJ8gUo/29pJf9mmiKeBhrtmlU/UKcsf68wShzNBgoiZ 5wsRKUDzlOiqUrThxS5zLwEEQEmanI8/YkitTLUQjRh0jxASm8X/jevPzBi/EcQcsYas RD1g== 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=wCNNSZ7ALsf7FhaNnkbAlyDcvxbjamZP7ijrahBklBwTzdq9jC81xW+N9P44Ak9gXj /N4YxaWhUF3ImBQUMiS/y58MgodssgcceZYN/dsEYoFhQNKLTFmDD8un3D1+CsFZRSgj UnaJj5cRSFg4UyciAxduA66nzgvrSSFHwtH4djJuE1VR+kBySybr4TSxfao3pB54A1XA OtR7ypMoXesnTn1EPS0QKv7mBwumtJ5UGm2/qsz5+C2tPCTV1xuL5yMnWLYy0C+V/Nju YVunqn8DyDgis1rGALLUgfRaeFOnMnSZeur417dZySr3F0mnY1+rXcmKslO3PxnEohqM DMAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=YdtUCCmJ; 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 73-v6si5715076qkp.330.2018.05.17.11.22.38 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 17 May 2018 11:22:38 -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=YdtUCCmJ; 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]:38621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJNXx-0001SN-VR for patch@linaro.org; Thu, 17 May 2018 14:22:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJN6b-0003dj-BJ for qemu-devel@nongnu.org; Thu, 17 May 2018 13:54:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJN6X-0007Jg-Pa for qemu-devel@nongnu.org; Thu, 17 May 2018 13:54:21 -0400 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:40024) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJN6X-0007JH-Im for qemu-devel@nongnu.org; Thu, 17 May 2018 13:54:17 -0400 Received: by mail-wm0-x235.google.com with SMTP id j5-v6so10610808wme.5 for ; Thu, 17 May 2018 10:54:17 -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=YdtUCCmJNFHHKWn32rKDs5H8Bcua396ZH/w1ZoGylJWN5/qMNF8CGubCsOGb1KVvo5 CYaVEv6LMk3S2eFNcmmD6px+1hoQvLo/pUgfnnQHUCn4N2lRuN4vtsfQGbpkLc15E7ms xceLDWzi0gx5c8O+nH28JYQ4b/qo8tGc5MB4E= 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=N5Oi+GpR7HrT5FNCgNyOTZPDU/UA4PJGn4Pl9OEHn6ncxE164Hf5b0PntZBZZKIQwr D8M9uANGajJ6Fl4sWzuBsaH3ktFsdW4Ll+EwrYbZySPk5EVH+ndsm5LIbqoqzUdTTSC9 gWdbxZnUgbKyuCzPhALXEWP9P8iSkHtxSTd52YrDTldCzCtledoTa2Xu3CBNh1O4lLh6 Lv/6jlzeDkgKCC9Q8MSPaCY15Wr3lrpfA8H67JYiR/W8SVbnQah+JU62d2VtDVTXnuya 0BApM1tP10pOWiw39vi5bcRB26I5iVhHMzpJkvmwv1XmDHh7oq/l32Sdcw6XAY5DqUDI I4lQ== X-Gm-Message-State: ALKqPwdoZM02u/nWXYoT7aDhdzmS69u+itoQQtofWPngmjoVL5GnfS/g oPtiq2HgsH9bvDLv6qdZaLChwg== X-Received: by 2002:a1c:2856:: with SMTP id o83-v6mr2784283wmo.3.1526579656314; Thu, 17 May 2018 10:54:16 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id b123-v6sm5278836wme.22.2018.05.17.10.54.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 May 2018 10:54:13 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 6C7433E0F9D; Thu, 17 May 2018 18:47:22 +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 Date: Thu, 17 May 2018 18:47:12 +0100 Message-Id: <20180517174718.10107-44-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180517174718.10107-1-alex.bennee@linaro.org> References: <20180517174718.10107-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::235 Subject: [Qemu-devel] [PATCH v4 43/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 --- 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 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé 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