From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 8D0AB7803DE for ; Mon, 1 Jul 2024 14:21:24 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=EnSnO9WMidifClxAseSea/0BJqKe4M+TFdAR3De6Xuc=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1719843684; v=1; b=1duQRR/IeA1ic1BfYThGUovml3FGNNxz2t3EXORGnIGr5ybgeTIbpTkamFv1SqjEphz5/Vhz kO9rCkeerOSSeo3rez11z11v0IwwBCVW6965TimmVFiae/xO6+kW+T6GN17AplGEFI9Ftbcregz f+rmWDcz4PbSsqCT7czFxBUiaK6qebXZ8/W4HhjH8hHNbE0ntHH4H5QyghUjHX832/t+tIeBu7m Aie4Ajj7cOGKK59ci39hETNJfZ7I39yjOTaoxDFWt9iz9ebouq4JgHNety/jLhSa7q3Rk6UXZQ/ SmKSSGeQNAS3nC++3T1HyWtH5BPlkHKNHyphvGZ+DUDfA== X-Received: by 127.0.0.2 with SMTP id xl8zYY7687511xeKE014ZgrB; Mon, 01 Jul 2024 07:21:23 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mx.groups.io with SMTP id smtpd.web10.21021.1719843682321001155 for ; Mon, 01 Jul 2024 07:21:22 -0700 X-CSE-ConnectionGUID: dD27iOShT7acEB6K3Uescw== X-CSE-MsgGUID: jp8Gpt8iRdeB9AWL+ll5ZA== X-IronPort-AV: E=McAfee;i="6700,10204,11120"; a="39488470" X-IronPort-AV: E=Sophos;i="6.09,176,1716274800"; d="scan'208";a="39488470" X-Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jul 2024 07:21:22 -0700 X-CSE-ConnectionGUID: oLaGwiQsRZOxeiQD070xSA== X-CSE-MsgGUID: MCiaE5anQ26tGbNaF06FmQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,176,1716274800"; d="scan'208";a="45542603" X-Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmviesa009.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 01 Jul 2024 07:21:15 -0700 X-Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 1 Jul 2024 07:21:15 -0700 X-Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Mon, 1 Jul 2024 07:21:15 -0700 X-Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 1 Jul 2024 07:21:14 -0700 X-Received: from CO1PR11MB4929.namprd11.prod.outlook.com (2603:10b6:303:6d::19) by PH7PR11MB7432.namprd11.prod.outlook.com (2603:10b6:510:272::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.28; Mon, 1 Jul 2024 14:21:12 +0000 X-Received: from CO1PR11MB4929.namprd11.prod.outlook.com ([fe80::a886:6510:729d:f9d0]) by CO1PR11MB4929.namprd11.prod.outlook.com ([fe80::a886:6510:729d:f9d0%4]) with mapi id 15.20.7719.028; Mon, 1 Jul 2024 14:21:11 +0000 From: "Michael D Kinney" To: "Jayaprakash, N" , "devel@edk2.groups.io" CC: Rebecca Cran , "Kinney, Michael D" Subject: Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc : add github actions workflow to build PyUEFI using gcc Thread-Topic: [edk2-libc Patch 1/1] edk2-libc : add github actions workflow to build PyUEFI using gcc Thread-Index: AQHay5MzdRUfaSjmvUm5zxUMJLIleLHh7Clg Date: Mon, 1 Jul 2024 14:21:11 +0000 Message-ID: References: <20240701084622.1496-1-n.jayaprakash@intel.com> <20240701084622.1496-2-n.jayaprakash@intel.com> In-Reply-To: <20240701084622.1496-2-n.jayaprakash@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO1PR11MB4929:EE_|PH7PR11MB7432:EE_ x-ms-office365-filtering-correlation-id: 2b2ea50a-13b4-43b1-b958-08dc99d90f0b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?klJ64aAexkvkzYJXt+GYTzOeVokrxL3YKU5KeWi2YnzGhkz3amMUOyB1wdDq?= =?us-ascii?Q?tINcey2rh0h5h+FwIhYXGhbFWgDH0oOSkc09vtPifIZr42CNt96ZCu8TEa/O?= =?us-ascii?Q?go3/105lxRVw7t/O+LRLG9ZkYwkL4YrctrcZCkia6ksL5bHwTvtykzs0X8NE?= =?us-ascii?Q?/rxAHTYx2tbR5U3D5Izu1IyKdhP1efdVY0BK/Brs4z/ApUe/beeCpOGMVYj0?= =?us-ascii?Q?oh4QMeD8fuxOadZDV9ILG6cK+2A0SmdFpxCScIFPKkoUf7DyWg/rChhW+6rM?= =?us-ascii?Q?6Mw2Ipov4wlsBwA6Xqv4WAoFvOVmE4iOcRlhsEvdzedYTfXAIAAYLtOej4Lr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KhtPHLFhvV?= =?us-ascii?Q?Md7AmKPoNvlVib0Gc3fmfaztHhG732yHd26hO/0CKUAMdOKiUukU7pWVbxwJ?= =?us-ascii?Q?B2P+ohIsIR4mC3t6hup52cDMjG6EWZ3VqtFA+KD0uk3i9/98x210JnW9KDJ8?= =?us-ascii?Q?hxCb6MC+c8HxWP6pWELFlmO9uMUsJTUM8RqZd7WlboslP+boSOsMRwIErfyQ?= =?us-ascii?Q?7r4hrG5RHZslC4RuHSVqN9zNf8W2/K8urCI1MKj8YmGt1Xi6FCZnZkSegJaF?= =?us-ascii?Q?3V+ngaXwhG/U/pEinZdo2wC0SFG0nZHARnn6SzpewhUJmS3KJW06PEmn9XMJ?= =?us-ascii?Q?NQUE4F682rRmzLCsg5HqM+MndauV9IpXHX7zFgUWWx3tVsHblsdOuxDoubd3?= =?us-ascii?Q?ulhbfnail3ZqRP/bCgx2OVLrP56tFv097/kTt43i5onXNWjbeVgl99+uG0rz?= =?us-ascii?Q?UKBOvxZ4qdLTQXLTUfbo5Eo32PUET1M6LXZpTuLmSlobWVx4nQYTNcHgt1ED?= =?us-ascii?Q?RkzY5vQMvXhasllN+FPm8eZQupahxGlt8N07k4nrC50l/gz+EXsFqyaSRy8G?= =?us-ascii?Q?UdkylTjo2dGMHb4JbZgF3R8QdOTiB/zjQhrqHOPRH3llJiOvMy7k3W3fxvs3?= =?us-ascii?Q?yxtISUFnDWU5K8+f8NwApkR5zidmQXd+58OuW+96X97xb4gIl78cEcN3wnUj?= =?us-ascii?Q?dlJYVgwCfO6f1Yvr33iCl7fRYSS8COkpoCQCnSYWmUziONjhbU+7TKWHIfzV?= =?us-ascii?Q?vsdITFBzfo4paanXkBD5e24SuSsb1HzVbUAo1KuujLg0myh1w6EA7SayQwPk?= =?us-ascii?Q?Y/xCpj7XSdLK4LzDHzO4H5ZSI5stzIqqz76wYEHuxEYwyT87HccLInpwJjzN?= =?us-ascii?Q?WfQ23MDo69OwofYF7dt6q9hfAaRb+6fqwJaTrPhRkc63pE8TkFiyUGIz0ZlX?= =?us-ascii?Q?JJVVsaJwaYLuVUQn5d9LMu6YG+tCN0rQrYcMv6kV?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4929.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2b2ea50a-13b4-43b1-b958-08dc99d90f0b X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jul 2024 14:21:11.8861 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: q1EDcIDt2WabVyNO9+v1b5xro6epPtvR+9lVMYo7dsc6Sg5mb7qj9OKugf2H2ZDII4B2wJc/w15rPKaLjjzaHxBLaJbygcbOUK+tDR171Mw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB7432 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Mon, 01 Jul 2024 07:21:22 -0700 Resent-From: michael.d.kinney@intel.com Reply-To: devel@edk2.groups.io,michael.d.kinney@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: qeqswEHQb1xa3pab1v5fi1DDx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b="1duQRR/I"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io One comment below. Mike > -----Original Message----- > From: Jayaprakash, N > Sent: Monday, July 1, 2024 1:44 AM > To: devel@edk2.groups.io > Cc: Jayaprakash, N ; Rebecca Cran > ; Kinney, Michael D > Subject: [edk2-libc Patch 1/1] edk2-libc : add github actions workflow to > build PyUEFI using gcc >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4794 >=20 > This commit adds github actions workflow to build python uefi > interpreter with gcc tool chain on Ubuntu Linux system. > The build-python-uefi-gcc.yaml file under .github/workflows > implements the build action for building the pyuefi interpreter with > gcc tool chain. >=20 > Cc: Rebecca Cran > Cc: Michael D Kinney > Cc: Jayaprakash N > Signed-off-by: Jayaprakash N > --- > .github/workflows/build-python-uefi-gcc.yaml | 71 ++++++++++++++++++++ > 1 file changed, 71 insertions(+) > create mode 100644 .github/workflows/build-python-uefi-gcc.yaml >=20 > diff --git a/.github/workflows/build-python-uefi-gcc.yaml > b/.github/workflows/build-python-uefi-gcc.yaml > new file mode 100644 > index 0000000..5df6c5c > --- /dev/null > +++ b/.github/workflows/build-python-uefi-gcc.yaml > @@ -0,0 +1,71 @@ > +# GitHub actions workflow to build python uefi using gcc > +# > +# Copyright (c) 2023-2024, Intel Corporation. All rights reserved. > +# SPDX-License-Identifier: BSD-2-Clause-Patent > +# > + > +name: Build Python Interpreter for UEFI with GCC > + > +on: [push, pull_request] > + > +jobs: > + build: > + runs-on: ubuntu-latest > + > + steps: > + - name: Checkout repository > + uses: actions/checkout@v4 > + > + - name: Setup Python > + uses: actions/setup-python@v5 > + with: > + python-version: '3.x' > + > + - name: Install dependencies > + run: | > + sudo apt-get update > + sudo apt-get install -y build-essential uuid-dev iasl git nasm > python3-distutils dos2unix > + > + - name: Clone EDK2 > + run: | > + git clone https://github.com/tianocore/edk2.git > + cd edk2 > + git submodule update --init > + > + - name: Build EDK2 Base Tools > + run: | > + cd edk2 > + . edksetup.sh > + make -C BaseTools > + > + - name: Run srcprep.py > + run: | > + cd AppPkg/Applications/Python/Python-3.6.8/ > + python3 srcprep.py > + > + - name: Build Python UEFI > + run: | > + export PACKAGES_PATH=3D`pwd`/edk2:`pwd`: > + export EDK2_LIBC_PATH=3D`pwd` > + cd edk2 > + . edksetup.sh > + build -t GCC5 -a X64 -b RELEASE -p $EDK2_LIBC_PATH/AppPkg/AppPkg= .dsc > -D BUILD_PYTHON368 > + > + - name: Create PyUEFI package > + run: | > + export WORKSPACE=3D`pwd`/edk2 > + echo WORKSPACE is $WORKSPACE > + export EDK2_LIBC_PATH=3D`pwd` > + # run the shell script through dos2unix to update any CRLF to LF > line ending format > + dos2unix AppPkg/Applications/Python/Python- > 3.6.8/create_python_pkg.sh > + . AppPkg/Applications/Python/Python-3.6.8/create_python_pkg.sh G= CC5 The create_python_pkg.sh and all .sh files should be changed in git repo to use unix line endings and remove the need to use dos2unix. > RELEASE X64 myUEFIPy > + > + - name: List build artifacts > + run: | > + ls -R edk2/myUEFIPy > + > + - name: Upload build output as artifact > + uses: actions/upload-artifact@v4 > + with: > + name: myUEFIPy-build-gcc-output > + path: edk2/myUEFIPy/**/* > \ No newline at end of file > -- > 2.45.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119739): https://edk2.groups.io/g/devel/message/119739 Mute This Topic: https://groups.io/mt/106974577/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-