Message ID | 20180608123307.24773-39-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp846007lji; Fri, 8 Jun 2018 06:02:55 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJEmSr7KLO5VKB8/u5mkheY3r1rZnDAuswYzj/kRgIsMtHAGtuzwZpB70N/o+QJKX0+CapV X-Received: by 2002:a0c:bd9b:: with SMTP id n27-v6mr5463504qvg.187.1528462975488; Fri, 08 Jun 2018 06:02:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528462975; cv=none; d=google.com; s=arc-20160816; b=itBm1PCz1vX2DKUCW0Sg1EREZNgSR0wiZ7+FPfNrlhWjpFm/ccX5MsYrEzki6Wyd4D MR/TF1DLsLzSv4rtqg4EHS0SvWzfIz4XvCtyzDco+bP84Lx9uEY9rkvZjeHGwMS/2Zpb 5WSWl5xqpGX3EFfDi9ZW5idSMdWXh0lYsNqOiBlhEMbwZSq7jhAsxWMR/vw7NNsY0I9E csePAKFE2BqLDcsnrHMQ8qNEoDYnQ3LZIu8pgoA8671CYstFK8nwB4fOR9PTf8sudg60 XUnVWwygMLTRo8J1wkcqEC0V22JXji1CYPR+imrJcEBJEOnxYX3e93XQAhlgmBtL3+w2 Auow== 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=6HCSIRHCnhdCwFnFVDvipvMHojBWspPZiYvGvasn14A=; b=OQO4UkErev9g7t3EPEolggkE+4XfNKwmqL7WsWetI6hPlyO9kfrlfqwd1AjK7WboD2 U4UaDZU5xUWUMfJw1ZqC8olnZqPlif78Uhu7KlxIFBxUCvuC2ThkDm+o4FvFsouZyyo2 xO2uaTVDhE7w2Gq808nPzfCEpp+rQfGbaWkz11uCfJDqA1+CcZqT+UKzJZuzK+VbotDt C7o/+Clduu89jLHAtsyC2shkDAYXvhPH6t2Z3c3CWw505CfWBmIlEwcviYWw5yM+SPzu Hx5a8FeF/N0C3olRCqevyWZlZVpGbdyqV2b4yWlmjlS2BNUXnmZvvBsupuUEbL2caIDp niwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=PyF6XBhR; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id n11-v6si57310qvn.62.2018.06.08.06.02.55 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Jun 2018 06:02:55 -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=PyF6XBhR; 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]:35519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1fRH2c-0000RP-Te for patch@linaro.org; Fri, 08 Jun 2018 09:02:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fRGa6-0001Ip-5l for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:33:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fRGa5-0006JD-6q for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:33:26 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:56149) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fRGa4-0006In-W1 for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:33:25 -0400 Received: by mail-wm0-x22d.google.com with SMTP id v16-v6so3067762wmh.5 for <qemu-devel@nongnu.org>; Fri, 08 Jun 2018 05:33:24 -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=6HCSIRHCnhdCwFnFVDvipvMHojBWspPZiYvGvasn14A=; b=PyF6XBhRHpiuqVs42bRKDfNwhaT2xXXu36bkdBXK4Z15K/pBYSoPVAhOrFgc4jhTwt emPWQaskbaXgkwmM+noS2fZ+WS4LWXjjLyCHSfav0AiZonVkWZicLJTmhCKq12zcljcV zL+y9vfp78+nhUNqdVNe8WWntnCjSJSe8kZks= 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=6HCSIRHCnhdCwFnFVDvipvMHojBWspPZiYvGvasn14A=; b=g0pekLqgkKWvoCroAbS1+ljNzBxns0hp0pmr6vW4d1+uKwdhVqdNFPLAPVZMKdZh2i u0blZJh7/HnzXn/tNGejGDGpIjG7ndWkivwXA5Evg8VmRtZuBeFcdQP0rEkejCZg6Jik VCWfzp6TdrcFGi0/J2GXDHswAmpgFiup2CE+xbPFA5n49rzi5oyYqEMJgsCqf8A2Jucq ZcLWt+n0I5QZlClwkZJyKaX6/gl/xMNCq1KI6/wcfM1ricKZb1vY3DcrEdDyi8SJwmgZ UNN1LbGBWTxKQ5Z4bLGfSL44gwwODWgr8DoK5QJIVq5bwpojs3pnLBf6cgba7ClnrDLW Zccg== X-Gm-Message-State: APt69E2AWAv0K4Yi5L+/qIcKpmhZ3718vfGTyw/i3nhIoA5Ss4k/zmJE LQOngSzW53M1ewR/HperedmYFg== X-Received: by 2002:a1c:7ce:: with SMTP id 197-v6mr1415877wmh.134.1528461203860; Fri, 08 Jun 2018 05:33:23 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id v31-v6sm92309058wrc.80.2018.06.08.05.33.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Jun 2018 05:33:19 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 752FF3E0D13; Fri, 8 Jun 2018 13:33:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> 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:56 +0100 Message-Id: <20180608123307.24773-39-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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22d Subject: [Qemu-devel] [PATCH v6 38/49] tests/tcg: enable building for RISCV64 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
fix building of tests/tcg
|
expand
|
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 654c769f9a..10f98916f9 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -75,6 +75,7 @@ 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-debian-riscv64-cross: docker-image-debian-sid docker-image-travis: NOUSER=1 # Specialist build images, sometimes very limited tools diff --git a/tests/docker/dockerfiles/debian-riscv64-cross.docker b/tests/docker/dockerfiles/debian-riscv64-cross.docker new file mode 100644 index 0000000000..2b2e64cee6 --- /dev/null +++ b/tests/docker/dockerfiles/debian-riscv64-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-riscv64-linux-gnu \ + libc6-dev-riscv64-cross diff --git a/tests/tcg/riscv/Makefile.include b/tests/tcg/riscv/Makefile.include new file mode 100644 index 0000000000..d92ac6c89f --- /dev/null +++ b/tests/tcg/riscv/Makefile.include @@ -0,0 +1,10 @@ +# +# Makefile.include for all RISCV targets +# +# Debian only really cares about 64 bit going forward +# + +ifeq ($(TARGET_NAME),riscv64) +DOCKER_IMAGE=debian-riscv64-cross +DOCKER_CROSS_COMPILER=riscv64-linux-gnu-gcc +endif