From nobody Tue Feb 10 03:38:43 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1549566698031495.05756883759227; Thu, 7 Feb 2019 11:11:38 -0800 (PST) Received: from localhost ([127.0.0.1]:45639 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grp5C-00029K-Rv for importer@patchew.org; Thu, 07 Feb 2019 14:11:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1groYt-0000RL-Tv for qemu-devel@nongnu.org; Thu, 07 Feb 2019 13:38:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1groYr-0007l5-SM for qemu-devel@nongnu.org; Thu, 07 Feb 2019 13:38:11 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:33725) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1groYr-0007Np-K2 for qemu-devel@nongnu.org; Thu, 07 Feb 2019 13:38:09 -0500 Received: by mail-wr1-x42a.google.com with SMTP id a16so997547wrv.0 for ; Thu, 07 Feb 2019 10:37:54 -0800 (PST) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id b15sm2457454wrm.47.2019.02.07.10.37.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Feb 2019 10:37:48 -0800 (PST) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E61601FF87; Thu, 7 Feb 2019 18:37:44 +0000 (UTC) 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=SYT2gwK9+L/tBC0i3KbJPNIUYDpf0myO2F5zvVvbEEQ=; b=kyqhWVJLT84Uv9n2LJre/FJ+Njn/nC2+mEZzSzE+dXj4RBsedtHGg1XkdzpBt1+uka +aDDxXkF4e3WlJp8uJ9QiT87SJgQQs+hZZ8+U625REnGGg15hqanD8kczo9rN4DoBJq5 zU1C4IOFIp73PHsyshHL7yjkSf+ROPGkoF7bYV1ZsAOa7KiVoi6suaL0ReWvuD9FnUpx HPrfjp8kiy1u/o4apTXTFcrSna85QVXVXJYpXvTx2AtCZlWokOIUJHrKzrWd/EdEDtJ6 h3WXjA4DOqmA989cY8VvnTdgoWK/E6n6Ot6wT5ld0I5tVHDFp5C3sVR0IavAY8WS7IeL gPSA== 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=SYT2gwK9+L/tBC0i3KbJPNIUYDpf0myO2F5zvVvbEEQ=; b=tr1wawjMh2gt3a70NiZ+/YnprS5foRFGREGD4FmOuCzYwRzTO+le53mwHnk6Aw1WSD qxCilMnCz/5CZNehKO1O1227RI4TEXIWB+v7mRMrdKZ9vDiO0NKgIgZ10rkqo7X/V67l YW0bad0BO+7lp2Glcq7rVcUV6VmfRW3NeVlMSmz2XN4LNWbIBwyxsOgd1pMcUkv4Ml3z vI8zavIwCA423dwsgRcUS0fhc/Nbi/VMqw/eDX9Jidyo8kRr/B3u0XfGdgE/Nabwh8Kk lAdC6u7iBU1WQjBlfPI72E4TopIr161T8BvVsplwLJsRR6MO3utuFU98vn22WXuljmJ7 Xm+w== X-Gm-Message-State: AHQUAuYyRovSrR4fICbG1ywoHC9OzM3JZSBb6PK1Qes60hxIfDY/bLhP vhqw4lkkM9R0I0QiMwNPY/pbfw== X-Google-Smtp-Source: AHgI3IagOkeplWw8F/xifouZF5a9c75CS3LS0RmC8EMqMd6BTWGGjnh2TpCO2Ow9HgRG1aWoSx9zqw== X-Received: by 2002:a5d:6803:: with SMTP id w3mr13745905wru.272.1549564673088; Thu, 07 Feb 2019 10:37:53 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Thu, 7 Feb 2019 18:37:35 +0000 Message-Id: <20190207183744.5054-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190207183744.5054-1-alex.bennee@linaro.org> References: <20190207183744.5054-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42a Subject: [Qemu-devel] [PATCH v2 07/16] 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: qemu-arm@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) 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=C3=A9e --- tests/docker/Makefile.include | 1 + .../debian-buster-arm64-cross.docker | 15 +++++++++ tests/docker/dockerfiles/debian10.docker | 31 +++++++++++++++++++ tests/tcg/aarch64/Makefile.include | 2 +- 4 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 tests/docker/dockerfiles/debian-buster-arm64-cross.dock= er create mode 100644 tests/docker/dockerfiles/debian10.docker 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/te= sts/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=3Dnoninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + crossbuild-essential-arm64 diff --git a/tests/docker/dockerfiles/debian10.docker b/tests/docker/docker= files/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 d= istro +# 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/sourc= es.list + +# Install common build utilities +RUN apt update +RUN DEBIAN_FRONTEND=3Dnoninteractive apt install -yy eatmydata +RUN DEBIAN_FRONTEND=3Dnoninteractive 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/Makefil= e.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 =20 ifeq ($(TARGET_NAME),aarch64) -DOCKER_IMAGE=3Ddebian-arm64-cross +DOCKER_IMAGE=3Ddebian-buster-arm64-cross DOCKER_CROSS_COMPILER=3Daarch64-linux-gnu-gcc endif --=20 2.20.1