From nobody Tue Feb 10 04:19:00 2026 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=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1744216660; cv=none; d=zohomail.com; s=zohoarc; b=FerEqn8DMCWOrCSeNEjqoDniuYAe+jUcPBmiLdLnKN1JDJEnZgKiB1aD/pEO1z1nVh1hYT9jrQFx3t4DU4+Pxy6ULjGfdXPw+Yso5dXzbKJa80K9RakEdch2g1nD50AQGUbSddyUB5B4vPUV8TMv4nWkp8cTy+AqJ8kU/iPLI+k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1744216660; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=I2mT/JfncdqV5tSU+jW+RQIjWQnr3c8c6UD7AZjsbPw=; b=Gt9LAJUwiHYJ0A0YrgSMCMMP7ohE1DXnp3Rf8SNxgvTanubdZr1VLKI8NE7ftfbIMVGR1mI48J8iT+xjHShCssRNULggSYOMKZOExM3lyi0/Wflrq1q0Q6gB2u78XVPY38Jj2yMwCms4mOfEcyH534OlAre57HmiSpffHOrZU88= 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 1744216660544980.7648660847624; Wed, 9 Apr 2025 09:37:40 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.944346.1342880 (Exim 4.92) (envelope-from ) id 1u2YQO-0006Ds-1H; Wed, 09 Apr 2025 16:37:16 +0000 Received: by outflank-mailman (output) from mailman id 944346.1342880; Wed, 09 Apr 2025 16:37:15 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1u2YQN-0006BE-SM; Wed, 09 Apr 2025 16:37:15 +0000 Received: by outflank-mailman (input) for mailman id 944346; Wed, 09 Apr 2025 16:37:14 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1u2YQM-0004du-GT for xen-devel@lists.xenproject.org; Wed, 09 Apr 2025 16:37:14 +0000 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [2a00:1450:4864:20::335]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id e40489f6-1560-11f0-9eab-5ba50f476ded; Wed, 09 Apr 2025 18:37:13 +0200 (CEST) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-43690d4605dso48219915e9.0 for ; Wed, 09 Apr 2025 09:37:13 -0700 (PDT) Received: from localhost.localdomain (host-92-26-98-202.as13285.net. [92.26.98.202]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43f233c817dsm20947455e9.23.2025.04.09.09.37.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Apr 2025 09:37:12 -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: e40489f6-1560-11f0-9eab-5ba50f476ded DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1744216633; x=1744821433; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=I2mT/JfncdqV5tSU+jW+RQIjWQnr3c8c6UD7AZjsbPw=; b=tflH/FYjDwX7xQc0Ia9LGU84CfnbLIXcTvbwtUHYYrdbsWUAMGqgRikS0cOx+cwORv qseHPNuC+6EeGZHrp2mRF8wGpjejY3QwGX8zM9ujCd/gy83ADxzp0ikGDWp1xQFrVn2t G5o7cvpfUnsYb97zvjUOY8Zrm7R/egfYbkrws= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744216633; x=1744821433; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I2mT/JfncdqV5tSU+jW+RQIjWQnr3c8c6UD7AZjsbPw=; b=Lu0tdoAItzoYStkBI7a/Yv5BdHO0qmPTG16DkftYO/e8SxN8EU/n9kMNxk+bdjd+Mm Delr1oA26YfCtREZhJoh8h37DVBaRIiI8Jha6ZNOYEQyckteCkMGyEjkitk+/aZm1PZS KerNPPvCyiWWGHd6uqHkgiKW37daRIQXXIU3OTXuSQLwXrePaCtI+soqx7PndB0TOFOP 0beXwN3ge7aB7ltbLjbFazBANLzP+VOagxggIoEDAFoENA0wxzwbn+3oHXiP+Q1iqfpx 8SU2gbX/0fQCmBbURbgf1RiakFW11XMlo+4DZAsWMXm73Km0DZx6KlFCPc7pB2S6j4rX VB1A== X-Gm-Message-State: AOJu0YweKRBvBnsRyUsE4oQTu2eWcoNX10OnK4Y9n80l83+aIWrxzMx+ C/HK5ik730Zy2BDZ7gtEMp3pf5R7IdI1ytJ7Ic7C4cgTVNlBZqJgNXA2l7MWSJ+CNMa1ZsjSM8X Na8o= X-Gm-Gg: ASbGncvlwWkczXAWWpfqpWCMHE7N9ZvyL7qw/CbbCB3cMN9qWNaE2SK8gotUoF4yNoh J+I3nYhZc/XscCR2rqexy7svQjcfNsG+j4Tnu4Be5NQ0VpI1Pw9aP0gVPyTA5GITib45D2DcUrd 61y1sLqm9qNljeh0LNCY7pKeAUW7Hekp0Carr5lKKhJN0BQcZrxSUGt4xpixsqTzLl1op44ysq9 hXBSa5UP0paVewGvSIKhAPJ7aDvfk+cWLfke9ou+KjxxlBbp5kq6xMwYCbVzpzm2WsHiBytJuXh fd1MV4d5a4oZRpO2taOwxrufPuTyXwxMgoCMBam2ViK2e/ERR46K9pUQH2JfBnyTQVuOTp4VJkC PLrrQXIsoh7SanksRHx9h/ydu X-Google-Smtp-Source: AGHT+IFeAOIEsPP+PKgdQeDrOa66hkGlAAR3QFoVe90GA0l/Y3sZ1wzkRcbvByRiqErOlzaGnHWv8Q== X-Received: by 2002:a05:6000:40d9:b0:39a:c9ed:8555 with SMTP id ffacd0b85a97d-39d88539008mr3376723f8f.23.1744216632825; Wed, 09 Apr 2025 09:37:12 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Stefano Stabellini , Michal Orzel , =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= , Anthony PERARD Subject: [PATCH 7/8] Infrastructure for arm64 linux builds Date: Wed, 9 Apr 2025 17:37:01 +0100 Message-Id: <20250409163702.2037301-8-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250409163702.2037301-1-andrew.cooper3@citrix.com> References: <20250409163702.2037301-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1744216662493019000 Signed-off-by: Andrew Cooper --- CC: Roger Pau Monn=C3=A9 CC: Stefano Stabellini CC: Michal Orzel CC: Marek Marczykowski-G=C3=B3recki CC: Anthony PERARD --- .gitlab-ci.yml | 7 ++++++ containerize | 1 + images/alpine/3.18-arm64-build.dockerfile | 27 +++++++++++++++++++++++ scripts/build-linux.sh | 10 +++++++++ 4 files changed, 45 insertions(+) create mode 100644 images/alpine/3.18-arm64-build.dockerfile diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff8dce7be05d..6e38c2f2a108 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,6 +19,13 @@ stages: exclude: - binaries/.gitignore =20 +.arm64-artifacts: + extends: .artifacts + tags: + - arm64 + variables: + CONTAINER: alpine:3.18-arm64-build + .x86_64-artifacts: extends: .artifacts tags: diff --git a/containerize b/containerize index c32e40f5a6d9..6664ef9821d0 100755 --- a/containerize +++ b/containerize @@ -24,6 +24,7 @@ die() { # BASE=3D"registry.gitlab.com/xen-project/hardware/test-artifacts" case "_${CONTAINER}" in + _alpine-3.18-arm64-build) CONTAINER=3D"${BASE}/alpine:3.18-arm64-build= " ;; _alpine-x86_64-base) CONTAINER=3D"${BASE}/alpine:x86_64-base" ;; _alpine-x86_64-build|_) CONTAINER=3D"${BASE}/alpine:x86_64-build" ;; esac diff --git a/images/alpine/3.18-arm64-build.dockerfile b/images/alpine/3.18= -arm64-build.dockerfile new file mode 100644 index 000000000000..c76ac435e8dd --- /dev/null +++ b/images/alpine/3.18-arm64-build.dockerfile @@ -0,0 +1,27 @@ +# syntax=3Ddocker/dockerfile:1 +FROM --platform=3Dlinux/arm64/v8 alpine:3.18 +LABEL maintainer.name=3D"The Xen Project" \ + maintainer.email=3D"xen-devel@lists.xenproject.org" + +RUN apk --no-cache add bash + +RUN bash -ex <> .config ;; + + aarch64) + ./scripts/config --enable XEN_NETDEV_BACKEND + ;; esac =20 make olddefconfig @@ -41,4 +46,9 @@ case $UNAME in make -j$(nproc) bzImage cp arch/x86/boot/bzImage "${COPYDIR}" ;; + + aarch64) + make -j$(nproc) Image + cp arch/arm64/boot/Image "${COPYDIR}" + ;; esac --=20 2.39.5