From patchwork Mon Feb 11 13:04:56 2019 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: 157996 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2582545jaa; Mon, 11 Feb 2019 05:12:23 -0800 (PST) X-Google-Smtp-Source: AHgI3IY0zm4zqgPDRan52kvdl67WuWAeRu0sO/mP1bHmyMaty0P7TjEt3tEBrPdDN8gkmvpXQrw2 X-Received: by 2002:adf:f8cf:: with SMTP id f15mr27127347wrq.265.1549890743695; Mon, 11 Feb 2019 05:12:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549890743; cv=none; d=google.com; s=arc-20160816; b=VXrOBQybB/a3696Z6gsQp7SfyUaEMfGZMDbppR5G26M9kc0E9YhlZdZtJNmj4sLCJP WPf0N5YJ97qOKrSJzVaMUBhPFl2kx3JjXR6DkvQFVEc0sCohR5FQ8jOEPwwILbS/nCZg ghQE43LCRWFYJuqupSSUsxKzRv0aqdH2CTQfvfqymnGWQSzf1FGikPvqPxp2VXSOSS44 a3rLtnHAjCRSzwF9pkwoz6aHFhZJusw9PfB9V4fKqwJiY+OHNQL8F9yIPpwLOJVBnSmt b9r+IXZm9FSjLjjBROV5v9v5fs8yd4/qcfjURUbcMk1vXlLn40kiKO8ztUG1BWv/z6eI KnlQ== 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; bh=7wotO7seyoEGtlZenlrFYTIMc6sHRkfKPhgm3UM4J4w=; b=jfrOKLrFKZ8tQNrBN8Oy59enhdNQ4A0l36AYs/mnM57ftGLIdOtfIUGLUD/pECHpfD tmeouROluQFhdWwCt9atuc1og+ICbmj7hCmPDTuAHI1aLdzR39+0ZwF2Q6T/6IKaXQUh cZPyyRc3bmojpQMnbWulhMLokBo32PTyeWkYzKiaS8zV2MYF8k+ETSCanjsrPQ6XJNOS CfYXbC6spFQSoW6XiKzFHO1I78k67uU8RUJYKYw/Aeb9kDlsa4/0aop2xb7a4tPvgCtv gySdmP+RjpSYhHYW6jPKUinXeO8gCoQYgqZEZ04w4zI0aXZrJnR4B3T9N6MrQfvIp11t ab+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=OD0Iy6Mw; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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. [209.51.188.17]) by mx.google.com with ESMTPS id r4si7109716wmc.200.2019.02.11.05.12.23 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 11 Feb 2019 05:12:23 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=OD0Iy6Mw; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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 ([127.0.0.1]:50021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtBNm-0003hJ-CB for patch@linaro.org; Mon, 11 Feb 2019 08:12:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtBHg-0007Xr-Rw for qemu-devel@nongnu.org; Mon, 11 Feb 2019 08:06:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtBHZ-0004B5-4S for qemu-devel@nongnu.org; Mon, 11 Feb 2019 08:06:04 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:40111) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gtBHX-0003oz-32 for qemu-devel@nongnu.org; Mon, 11 Feb 2019 08:05:55 -0500 Received: by mail-wm1-x335.google.com with SMTP id q21so17151693wmc.5 for ; Mon, 11 Feb 2019 05:05:18 -0800 (PST) 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=7wotO7seyoEGtlZenlrFYTIMc6sHRkfKPhgm3UM4J4w=; b=OD0Iy6MwG6cjWyy4zM09r7vtC1tKLZh6kEgFulcArqs/ETXfAp9lHyx9ONithPNJbS Q+Ke9/xAkd0MSFjeHF6MwZTIliBCBgOVIFpoeY9UCDruuJHDuh0E1prS6/oJqYxSFmhs Xt6WxWxIm1wpGKTBYSkz4UJ3WhnCRLnUvxVXI4AqgmPOMXvtr5wwtm/WVpF139OgDBLU pg5DnMiP983U4oyHBOguWZ3RlrRbs0borlcb9jaBpAyl1FlEf4Ok2rY4vwe+hLZ2JtYv S7uhT0VFZHZXGb2NCsuC9hik9C//DcULVQwfv6b9GOoOj4mqUYBK1HPBGgjjCypXfNWH BNoQ== 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=7wotO7seyoEGtlZenlrFYTIMc6sHRkfKPhgm3UM4J4w=; b=FUY071oPr0qzsdtlgiQrjlLoi0wyjdSpw3uwarwETcob92O6TWcMSWx/37XViKUki3 1tobIr0qZyYcMUeeZRmweliiidF1azAQ7ZV1fPYkuZcb00F7MNiTPeU3Me33Qj5UFApG PtsiqewSUP/dtyXx/Jk/ssYw+Dt6wGf6Yv81Na1zOH9wOjIqG2f2ZOif0FEoYHt3/haK eykgYrlXHevxZMLTwYVJL0XUxnTmdIjjBtFgxXTaY4VV8Twt/nJ54bYL39GB+YvvmIub 2m+ajTPeCdaE+b6pijy5aI7oO1Uq6E3bMX+Wu719BsxTfSngEOq5Fem1xw417VyOM62f NMQw== X-Gm-Message-State: AHQUAuZij/Q3bCwqFgcdedHsJAjxfkbi2MuUWobmrIVZYBbtxM5pDjG5 CFViz2Xvb9T1vKGoROP1BLa/eQFDmQc= X-Received: by 2002:a1c:4b0b:: with SMTP id y11mr9733864wma.137.1549890317026; Mon, 11 Feb 2019 05:05:17 -0800 (PST) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y185sm9134328wmg.34.2019.02.11.05.05.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Feb 2019 05:05:12 -0800 (PST) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 5EEB51FF87; Mon, 11 Feb 2019 13:05:07 +0000 (UTC) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Mon, 11 Feb 2019 13:04:56 +0000 Message-Id: <20190211130507.8710-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211130507.8710-1-alex.bennee@linaro.org> References: <20190211130507.8710-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:4864:20::335 Subject: [Qemu-devel] [PULL 07/18] docker: add debian-buster-arm64-cross 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" We can't build QEMU with this but we can use this image to build newer arm64 testcases which need more up to date tools. Signed-off-by: Alex Bennée -- 2.20.1 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 7032c68895..83d43c50e4 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -90,6 +90,7 @@ docker-image-debian-amd64: docker-image-debian9 docker-image-debian-armel-cross: docker-image-debian9 docker-image-debian-armhf-cross: docker-image-debian9 docker-image-debian-arm64-cross: docker-image-debian9 +docker-image-debian-buster-arm64-cross: docker-image-debian10 docker-image-debian-mips-cross: docker-image-debian9 docker-image-debian-mipsel-cross: docker-image-debian9 docker-image-debian-mips64el-cross: docker-image-debian9 diff --git a/tests/docker/dockerfiles/debian-buster-arm64-cross.docker b/tests/docker/dockerfiles/debian-buster-arm64-cross.docker new file mode 100644 index 0000000000..33ada13806 --- /dev/null +++ b/tests/docker/dockerfiles/debian-buster-arm64-cross.docker @@ -0,0 +1,15 @@ +# +# Docker arm64 cross-compiler target +# +# This docker target builds on the Debian's Buster base image. There +# are no QEMU pre-requistes so this image can only be used to build +# test cases. +# +FROM qemu:debian10 + +# Add the foreign architecture we want and install dependencies +RUN dpkg --add-architecture arm64 +RUN apt update +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + crossbuild-essential-arm64 diff --git a/tests/docker/dockerfiles/debian10.docker b/tests/docker/dockerfiles/debian10.docker new file mode 100644 index 0000000000..aeeb151b52 --- /dev/null +++ b/tests/docker/dockerfiles/debian10.docker @@ -0,0 +1,31 @@ +# +# Docker multiarch cross-compiler target +# +# This docker target is builds on Debian cross compiler targets to build distro +# with a selection of cross compilers for building test binaries. +# +# On its own you can't build much but the docker-foo-cross targets +# build on top of the base debian image. +# +FROM debian:buster-slim + +# Duplicate deb line as deb-src +RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list + +# Install common build utilities +RUN apt update +RUN DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt install -y --no-install-recommends \ + bison \ + build-essential \ + ca-certificates \ + clang \ + flex \ + gettext \ + git \ + pkg-config \ + psmisc \ + python \ + texinfo \ + $(apt-get -s build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2) diff --git a/tests/tcg/aarch64/Makefile.include b/tests/tcg/aarch64/Makefile.include index de32c91235..5d4e4c6f99 100644 --- a/tests/tcg/aarch64/Makefile.include +++ b/tests/tcg/aarch64/Makefile.include @@ -3,6 +3,6 @@ # We don't have any bigendian build tools so we only use this for AArch64 ifeq ($(TARGET_NAME),aarch64) -DOCKER_IMAGE=debian-arm64-cross +DOCKER_IMAGE=debian-buster-arm64-cross DOCKER_CROSS_COMPILER=aarch64-linux-gnu-gcc endif