From nobody Wed Nov 27 22:30:27 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=anastas.io ARC-Seal: i=1; a=rsa-sha256; t=1686667887; cv=none; d=zohomail.com; s=zohoarc; b=gx7HLjeaEZXvuqoL/WxiVJST68VgWbN8BxTfbg7B7V/JWinQ3ryOa3URi7da9XbE2apdHogq8/l+SGEGyIFE3EUuQioqt7kYBV1jxoplVM5ncA9uheC0eCpQe5opn1KnjkOAYM1Jb/YQlDa7E8KGnYJKbVMfKj1PvpKd1PSFSfE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1686667887; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=H+FKluqiD1QlFPBkLRFU+5SX4FgEIKrMKtiJda2Y9BE=; b=D45QiGmcSgjWnTPsNER0GL+OognK4FxTblLx7WtL8rzy3a5fBN8XOevqVdm9Y7W9cCR/IFWf99GGn6AX8r5KNLp+UPAMbg/jije5igKNPRgCMv9yxxoRl9SbY7NMZZXDU6BEHfm2CmVyfHu9RTfOOKQIQCag/9n13hlWkhbPiu8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1686667887479419.63025893825613; Tue, 13 Jun 2023 07:51:27 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.548194.856025 (Exim 4.92) (envelope-from ) id 1q95MG-0003Z1-N0; Tue, 13 Jun 2023 14:50:56 +0000 Received: by outflank-mailman (output) from mailman id 548194.856025; Tue, 13 Jun 2023 14:50:56 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1q95MG-0003Yr-Jk; Tue, 13 Jun 2023 14:50:56 +0000 Received: by outflank-mailman (input) for mailman id 548194; Tue, 13 Jun 2023 14:50:54 +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 1q95ME-0003AR-MI for xen-devel@lists.xenproject.org; Tue, 13 Jun 2023 14:50:54 +0000 Received: from alpha.anastas.io (alpha.anastas.io [104.248.188.109]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id b136b793-09f9-11ee-8611-37d641c3527e; Tue, 13 Jun 2023 16:50:53 +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 CF0D443CEA; Tue, 13 Jun 2023 07:50:19 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version 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: b136b793-09f9-11ee-8611-37d641c3527e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=anastas.io; s=mail; t=1686667820; bh=qfGcTUScEPS/kn+AZiR+Dr4t3spHBjWMGqcd4ljzqZI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i2vG7ZUdVuDLhBinWwevrPFWJ+oHgSqjStzlOsGiUPov+glIJhTRJa3TVON35pU97 LchwQIME5uzHR4nQ59+oeyidkalbBhN1nMAf6T9kJ9ZHlOzurC83i8t24vctpMHhU/ 2em7eEF4hHjZdhb0b0lgtisi3nIQRQ9EO+kyufHTKOxlnQ9RtIqsM75ch6kxBNrmzQ zRyOTPnheKdk+IKHvfzc0q3pfVqwLvz+yn4clQdmQ8n0i0hv8tqUDauGUT0iqNE7na n04Kx6q8wDKCYnvDFlz4cgOIkJyYKz4UCvljs3IAj+0vEfi6KCyuL8bg4gtFZZCSbA OPgLvOQ4tVgZw== From: Shawn Anastasio To: xen-devel@lists.xenproject.org Cc: tpearson@raptorengineering.com, Shawn Anastasio , Doug Goldstein , Stefano Stabellini , Shawn Anastasio Subject: [PATCH v3 1/4] automation: Add container for ppc64le builds Date: Tue, 13 Jun 2023 09:49:59 -0500 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @anastas.io) X-ZM-MESSAGEID: 1686667889411100001 Content-Type: text/plain; charset="utf-8" Add a container for cross-compiling xen for ppc64le. Signed-off-by: Shawn Anastasio Acked-by: Andrew Cooper --- .../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/automati= on/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=3D"The Xen Project" \ + maintainer.email=3D"xen-devel@lists.xenproject.org" + +ENV DEBIAN_FRONTEND=3Dnoninteractive +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/container= ize index 5476ff0ea1..6d46f63665 100755 --- a/automation/scripts/containerize +++ b/automation/scripts/containerize @@ -33,6 +33,7 @@ case "_${CONTAINER}" in _focal) CONTAINER=3D"${BASE}/ubuntu:focal" ;; _jessie) CONTAINER=3D"${BASE}/debian:jessie" ;; _jessie-i386) CONTAINER=3D"${BASE}/debian:jessie-i386" ;; + _bullseye-ppc64le) CONTAINER=3D"${BASE}/debian:bullseye-ppc64le" ;; _stretch|_) CONTAINER=3D"${BASE}/debian:stretch" ;; _stretch-i386) CONTAINER=3D"${BASE}/debian:stretch-i386" ;; _buster-gcc-ibt) CONTAINER=3D"${BASE}/debian:buster-gcc-ibt" ;; --=20 2.30.2