Message ID | 20180621062605.941-42-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1684461lji; Wed, 20 Jun 2018 23:43:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJJa8oYxN8BrA4A8Hxaj0ty36nM/4NEUcd8Ix9d+OkXbwdsKZMuSSnyuA9hCkY1ISTuiNtF X-Received: by 2002:ac8:fd9:: with SMTP id f25-v6mr22091139qtk.181.1529563411544; Wed, 20 Jun 2018 23:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529563411; cv=none; d=google.com; s=arc-20160816; b=jatCONWZxz1NsJUf+N2/yeYnEd9G9sp0klhHu1E0aHOoPO5BCOzVcxw/lIFBwbFPE9 HsmRXVw7suwFteDbChvEoHlKLiYkhBQ2Ea6AQLnkZGV1dpWEaf13aIcERg5KAveoGDi7 3TBFgsKwX7HFTo47IdI6aLULZhVKdBRWYmnxrP/X/6meT5/wM99+Z6A3RJdV3ICpydYQ 2rtgdRnw88YpfuO20JuMoNnvV2f5Q9kOGR1MDwHCnWUmyTQ41DTNUiK4AvrV0G0k1g+C kUASQb9jipJ3TyxySZRvY7li5pO+HliMxZw+SiYSGHOxnZ13clO06lemao5CeHhplCgL 2mrw== 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=FMaRKpZbxiupWBIPDH/+LH+3B3IIVv0+kaFyg9vGY9w=; b=HPODJ8qoeKDLO99tmdv+ezmdk6o8bpLxMJb021V24j92814uQ+6NMHxFOLRM7qqgkF vxT+quiAcAqR72cN3OivZsaDa6/RooMXzOVfd9Lpft6u6UR4f1UuWrucI6fTDPuv78Kh C6A8NI3MAXp+61eBjnzh/4bBMLBDRc1EGG/r5eQHtuQOctIlcuHtfpa+qQg8grJmJOdv O6jJTqcaQwc5GyJeu1Vhum42zV5vKkFUf943u2mNxInSJ4MqIlpdwp4kTQ5BK1q492PJ CEUZIaHX6BYDb/VaTFa+gYm1NsarjD0S2ePGs4MwIL7QFhjLsHe4n9hDrTqHAfTnGh7j ewUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=D01iLL+t; 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 c13-v6si4004435qkm.302.2018.06.20.23.43.31 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 20 Jun 2018 23:43:31 -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=D01iLL+t; 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]:53326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1fVtJa-0005nL-WB for patch@linaro.org; Thu, 21 Jun 2018 02:43:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fVt30-00012w-5r for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:26:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fVt2z-0000hw-9L for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:26:22 -0400 Received: from mail-wr0-x230.google.com ([2a00:1450:400c:c0c::230]:38745) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fVt2z-0000h4-2h for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:26:21 -0400 Received: by mail-wr0-x230.google.com with SMTP id e18-v6so1822110wrs.5 for <qemu-devel@nongnu.org>; Wed, 20 Jun 2018 23:26:20 -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=FMaRKpZbxiupWBIPDH/+LH+3B3IIVv0+kaFyg9vGY9w=; b=D01iLL+tLaoZgB1Nq6S8WqYXxkHatNv6vxgfXptOhXerOTgm3EBYycmT93keVsYVCu GSnjz2MRpeqOVRDSjkLEQ/kyrhT0mx/B9AXqwvc49Swb0z97ZmfzxAPf8qlfuWrir7Xz MVrUSPEXPZHO9L9yviThLqN++5Exrhtj2p2A0= 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=FMaRKpZbxiupWBIPDH/+LH+3B3IIVv0+kaFyg9vGY9w=; b=ZWiyOPaQso45Z6hmxClKC7mjUTrPHGOpAYMfAqqHfVyOGlDYD6xY+j9Ax1dccK2TTR KvrgK1s23+HMMxXlG/FmlFmI5X+FU+mvjP0JPus5xTSijyoBJbUBFd8eIfmOiuSU+E8S KidJ82BuMgTKt8qEoOIM1vMga803Xc1Mt/2Xa1ExhFpZ7WmIIjmcZv8lCy7MEo07Lzcl DVbFWdb1Ay+GbFZRBsh/lrFU88ci0GBl40SKwcfV+Xg97Juo7M6Hlt8x4aHngvHq9LUz +s8oV/vyBHACgBGFMNtJt4eABZHIYyKPzLjNecbXXUT5Y2N9oHRmySzfm5fZjqwSTmJw rC1w== X-Gm-Message-State: APt69E2j/qswwe7NDxe3ubtvjoVpWSqgELbFRHeru6a2QWSV6YiP7vr5 vw5myH/lgdIhJhJS3UNj1QHqJw== X-Received: by 2002:adf:a844:: with SMTP id l62-v6mr3844034wrc.140.1529562380022; Wed, 20 Jun 2018 23:26:20 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id r9-v6sm4590760wrs.63.2018.06.20.23.26.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 23:26:16 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id D2C183E14E4; Thu, 21 Jun 2018 07:26:08 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: peter.maydell@linaro.org Date: Thu, 21 Jun 2018 07:25:49 +0100 Message-Id: <20180621062605.941-42-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180621062605.941-1-alex.bennee@linaro.org> References: <20180621062605.941-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:c0c::230 Subject: [Qemu-devel] [PULL v2 41/57] 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: agraf@suse.de, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, 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+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
add check-tcg and associated machinery
|
expand
|
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 8fd4041716..a680743ae8 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -76,6 +76,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