From patchwork Tue Apr 24 15:24:01 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: 134136 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp2425704lji; Tue, 24 Apr 2018 09:12:39 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/tVUxIPTrsoaAyETmw/sMOimPOMa4uKThqTJVc7n5NG0TAaJZJR/W9XpsHa+ySkXydZNAu X-Received: by 10.55.33.17 with SMTP id h17mr27167667qkh.427.1524586359219; Tue, 24 Apr 2018 09:12:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524586359; cv=none; d=google.com; s=arc-20160816; b=tPqin9KxCG+FVdGkRVG4sAMZjWnHtG/Dl0AdP9PiIJqEsKwqpMJ6KTb4SF1AV23jQN EtLrBXmxBVAkBCAWn6M6j9hoEftGG9ZzITnkgHroLJ5y4lQzOc5nm7PJ2lAXJTOiZv06 Bk3cLs2/VhH1YYpNGu7ZkRDFomcyRYoBKRwn7j2hziD/PUljhyoCwDztdgf+d0m5z5mJ gcb3AH2xCRNnqDZPg99sXrlHfWKd+e6SRukn/16mnNEcV7pFjP2GXcC3ryjbAXHA6aMw WKPLxwSiBSALd63vt3Nvn9QVWMgYRrATLs//67ZQW2XwXMpq1UIgLVZ/Nd5oC/TVPOTd KhoA== 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=eAQ3luGPSIEFULeEFh4q8NIcFvtZLiXMM1SHLCzt1LQ=; b=nihB5ol351VQn/f7AbuFhx6U2pVrxfAkj8mkm9FmhItEcehtEmUaClmFXZ+e+q2+QO T4veypeCDSFOXgNxMxx4hS2uoZSZ0icUtRr5OzPhe2TaIHGNqw2+lvTpDBzc/rHYp1CL np1S2kOIVy2ATEeUENE3q3rcXGRd5Gpp7dRpRYtyPKzCJMLw5zyejB6Ggy8jjKbqIlLk VF2zwiDNM95Bb5I0t/ACGlxogeLoJjxpIHV7BB2XXkot33l6aG1DcwH0Wpip2TGmhn0O vdy6LSIN7UwdZpU+Q214QzYT/99aCjJ3q9PynqKJMEUn67xiwzTrGJWr9zmdwOP5ryId 382w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=j8wX2ZTd; 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 93si4845826qks.350.2018.04.24.09.12.39 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 24 Apr 2018 09:12:39 -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=j8wX2ZTd; 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]:59391 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB0YY-0003dG-Ig for patch@linaro.org; Tue, 24 Apr 2018 12:12:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAzwa-00064N-Pf for qemu-devel@nongnu.org; Tue, 24 Apr 2018 11:33:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAzwZ-0001eB-Um for qemu-devel@nongnu.org; Tue, 24 Apr 2018 11:33:24 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:53634) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fAzwZ-0001cw-OH for qemu-devel@nongnu.org; Tue, 24 Apr 2018 11:33:23 -0400 Received: by mail-wm0-x243.google.com with SMTP id 66so1857803wmd.3 for ; Tue, 24 Apr 2018 08:33:23 -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=eAQ3luGPSIEFULeEFh4q8NIcFvtZLiXMM1SHLCzt1LQ=; b=j8wX2ZTd+qlaGjDkPTaByx11KxOfZZ5xRwyqyIdtKbzK8CealfA9RJTPJawFiKn+fX mto5rTRxMXz9CmmNnWF1cr3k44mb2UFgzRXa1N8NFwIlwaPE0blRyWBrC4nqM/yUCylk Y/DfjQGxkSZK/UkLTyWdIh6+PBOJpssgDZLLg= 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=eAQ3luGPSIEFULeEFh4q8NIcFvtZLiXMM1SHLCzt1LQ=; b=m4G4OMPCreDoYi8QMvJ0DbF253sWxZNg22CqVxJfNt0kr8WZOtCL30Dyer+C41Ulwi fh7KvV9d/Xrfrvb2DkwWViZvVBkMNbcghxrA8bO2kP4f2JU7nPg/vlYzISoaCXvYjq2T yMZnLLb6c7u8qa66jENGClpfjjBTHEuBYFqtoqNLPnbt9QTsJOleppL1JFVkLfcbhH/9 PcKL8UQHFndtHZudM1TqCL3hWyBi6zt+OrEbaosfdbmTHIdt16irJ8CKkfKNk7biYfoc QhmnrGbNm5JQS81ffDLI7SLMWUOudx3lOsjD5A192tRrpu3AoOaqVbpJwxfT5azpj2YE ZBzw== X-Gm-Message-State: ALQs6tBkyPfod1FRuz3De4jsAMrFr9yHCm/pOROPgq5P+L3mv5njbQLI /+m3szezCvtzX3ZfklmABscyEw== X-Received: by 10.28.182.70 with SMTP id g67mr13038059wmf.88.1524584002632; Tue, 24 Apr 2018 08:33:22 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id d9sm17586942wmh.38.2018.04.24.08.33.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 08:33:17 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id BF79A3E1689; 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:01 +0100 Message-Id: <20180424152405.10304-43-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:c09::243 Subject: [Qemu-devel] [PATCH v3 42/46] tests/tcg: enable building for mips64 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: Yongbok Kim , =?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-mips64-cross.docker | 12 ++++++++++++ tests/tcg/mips/Makefile.include | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-mips64-cross.docker -- 2.17.0 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 62d1f4dec0..f58afb8c5d 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -67,6 +67,7 @@ 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-debian-mips64-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-mips64-cross.docker b/tests/docker/dockerfiles/debian-mips64-cross.docker new file mode 100644 index 0000000000..ed1ce0e919 --- /dev/null +++ b/tests/docker/dockerfiles/debian-mips64-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-mips64-linux-gnuabi64 \ + libc6-dev-mips64-cross diff --git a/tests/tcg/mips/Makefile.include b/tests/tcg/mips/Makefile.include index a9beceb623..4a14fc078d 100644 --- a/tests/tcg/mips/Makefile.include +++ b/tests/tcg/mips/Makefile.include @@ -8,6 +8,9 @@ ifeq ($(TARGET_NAME),mips64el) DOCKER_IMAGE=debian-mips64el-cross DOCKER_CROSS_COMPILER=mips64el-linux-gnuabi64-gcc +else ifeq ($(TARGET_NAME),mips64) +DOCKER_IMAGE=debian-mips64-cross +DOCKER_CROSS_COMPILER=mips64-linux-gnuabi64-gcc else ifeq ($(TARGET_NAME),mipsel) DOCKER_IMAGE=debian-mipsel-cross DOCKER_CROSS_COMPILER=mipsel-linux-gnu-gcc