From patchwork Mon Jun 12 14:51:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Anastasio X-Patchwork-Id: 13276788 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BFF3EC7EE2F for ; Mon, 12 Jun 2023 14:52:43 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.547265.854554 (Exim 4.92) (envelope-from ) id 1q8iuI-0002Jh-9P; Mon, 12 Jun 2023 14:52:34 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 547265.854554; Mon, 12 Jun 2023 14:52:34 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1q8iuI-0002Ja-6u; Mon, 12 Jun 2023 14:52:34 +0000 Received: by outflank-mailman (input) for mailman id 547265; Mon, 12 Jun 2023 14:52:32 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1q8iuG-0000ov-N5 for xen-devel@lists.xenproject.org; Mon, 12 Jun 2023 14:52:32 +0000 Received: from alpha.anastas.io (alpha.anastas.io [104.248.188.109]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id c12d18e4-0930-11ee-8611-37d641c3527e; Mon, 12 Jun 2023 16:52:30 +0200 (CEST) Received: from authenticated-user (alpha.anastas.io [104.248.188.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by alpha.anastas.io (Postfix) with ESMTPSA id 5820043CE9; Mon, 12 Jun 2023 07:51:58 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: c12d18e4-0930-11ee-8611-37d641c3527e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=anastas.io; s=mail; t=1686581518; bh=qfGcTUScEPS/kn+AZiR+Dr4t3spHBjWMGqcd4ljzqZI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RsLusLCecRpceUtzD0yda9QmLbh2qDyLtzaFRxmHSgeg9y4bhYsH+B+mEiv2BQhui +XvbXv7LeWOHlTKIfcqQTXhQVzTXWULfS5XTd9S6wnz4/G7X00Kiu3q4ahn3B/W7yT qbZqePy3UoDEHhYz6ktoyNbb5sTV5QasMHxb6iQ7jWOoPfSgXEyQ1KZPPJCcz2xMym yhlXS7aYyN+2mCEf2UtIpU9hEgft65VowfhGq/rsmNOrmBRzGGxCcC4c3Gcon/Hquk gPYSmd7vsgUo5J7+xhY+9/IkfA6FVEK2AavTrH3aJ/wlgwAvPzF0tAB5MS7cHo8lJ0 jTUncOwFWDfcQ== From: Shawn Anastasio To: xen-devel@lists.xenproject.org Cc: tpearson@raptorengineering.com, Shawn Anastasio , Doug Goldstein , Stefano Stabellini , Shawn Anastasio Subject: [PATCH v2 1/4] automation: Add container for ppc64le builds Date: Mon, 12 Jun 2023 09:51:36 -0500 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Add a container for cross-compiling xen for ppc64le. Signed-off-by: Shawn Anastasio --- .../build/debian/bullseye-ppc64le.dockerfile | 28 +++++++++++++++++++ automation/scripts/containerize | 1 + 2 files changed, 29 insertions(+) create mode 100644 automation/build/debian/bullseye-ppc64le.dockerfile diff --git a/automation/build/debian/bullseye-ppc64le.dockerfile b/automation/build/debian/bullseye-ppc64le.dockerfile new file mode 100644 index 0000000000..8a87631b52 --- /dev/null +++ b/automation/build/debian/bullseye-ppc64le.dockerfile @@ -0,0 +1,28 @@ +FROM debian:bullseye-slim +LABEL maintainer.name="The Xen Project" \ + maintainer.email="xen-devel@lists.xenproject.org" + +ENV DEBIAN_FRONTEND=noninteractive +ENV USER root + +# Add compiler path +ENV CROSS_COMPILE powerpc64le-linux-gnu- + +RUN mkdir /build +WORKDIR /build + +# build depends +RUN apt-get update && \ + apt-get --quiet --yes --no-install-recommends install \ + bison \ + build-essential \ + checkpolicy \ + flex \ + gawk \ + gcc-powerpc64le-linux-gnu \ + make \ + python3-minimal \ + && \ + apt-get autoremove -y && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/* diff --git a/automation/scripts/containerize b/automation/scripts/containerize index 5476ff0ea1..6d46f63665 100755 --- a/automation/scripts/containerize +++ b/automation/scripts/containerize @@ -33,6 +33,7 @@ case "_${CONTAINER}" in _focal) CONTAINER="${BASE}/ubuntu:focal" ;; _jessie) CONTAINER="${BASE}/debian:jessie" ;; _jessie-i386) CONTAINER="${BASE}/debian:jessie-i386" ;; + _bullseye-ppc64le) CONTAINER="${BASE}/debian:bullseye-ppc64le" ;; _stretch|_) CONTAINER="${BASE}/debian:stretch" ;; _stretch-i386) CONTAINER="${BASE}/debian:stretch-i386" ;; _buster-gcc-ibt) CONTAINER="${BASE}/debian:buster-gcc-ibt" ;;