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 996A89417DA for ; Mon, 1 Jul 2024 14:24:58 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=YUrgdp2qvMk+GJPylk/8n57l56Z48wtQ69xRISE+dC8=; 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=1719843898; v=1; b=MzukXRSisKlMqlNxyZuOsB+/D2wbGP3ZhtfwAZhSbO1TMrDMeP8kdxUoRQra3Vuo8SX1IVY2 B+9f2bYxDE6rUMGEDX5j2ZMmZMs6tE9iQzkSAQQcLYDJfGz/mEJ1BjaFSBCJnfE5WU3eG35FJRP 4JqwHvZsg2tcuaoNFQ9iJP4uoPinDYi24eqQB46pGZ/z/TJFqyw6LYoDcHAP1FCQY3IsXglUDCp ZL3wY9NmKOZVcqFkwQpEB3BkpNXZBKl3y+OnONj8xxuGiwrnprI3FVbX4KV1Umc7g/nInGKkI/6 5U+j2/icf3Ung43Vi369Wt/jlwXTskjDLLfHRnJm+urvQ== X-Received: by 127.0.0.2 with SMTP id eCPSYY7687511xTQChyt4SwA; Mon, 01 Jul 2024 07:24:57 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mx.groups.io with SMTP id smtpd.web10.21118.1719843896382299877 for ; Mon, 01 Jul 2024 07:24:56 -0700 X-CSE-ConnectionGUID: NUaimoweQCSkp3kSyGz2dw== X-CSE-MsgGUID: +PRbtb2XRuikZJ9QSjMWXw== X-IronPort-AV: E=McAfee;i="6700,10204,11120"; a="39489537" X-IronPort-AV: E=Sophos;i="6.09,176,1716274800"; d="scan'208";a="39489537" X-Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jul 2024 07:24:45 -0700 X-CSE-ConnectionGUID: Ua5XWYAWQTKApA/PGIRm1A== X-CSE-MsgGUID: xtFtWUEJTnSO4EQy4bcT2w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,176,1716274800"; d="scan'208";a="45436886" X-Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmviesa007.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 01 Jul 2024 07:24:45 -0700 X-Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) 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:24:44 -0700 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx611.amr.corp.intel.com (10.18.126.91) 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:24:44 -0700 X-Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) 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:24:44 -0700 X-Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) by edgegateway.intel.com (192.55.55.70) 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:24:43 -0700 X-Received: from PH7PR11MB5943.namprd11.prod.outlook.com (2603:10b6:510:13f::19) by CY8PR11MB7732.namprd11.prod.outlook.com (2603:10b6:930:71::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.29; Mon, 1 Jul 2024 14:24:41 +0000 X-Received: from PH7PR11MB5943.namprd11.prod.outlook.com ([fe80::15cc:b461:7bb8:b69f]) by PH7PR11MB5943.namprd11.prod.outlook.com ([fe80::15cc:b461:7bb8:b69f%4]) with mapi id 15.20.7719.029; Mon, 1 Jul 2024 14:24:41 +0000 From: "Jayaprakash, N" To: "Kinney, Michael D" , "devel@edk2.groups.io" CC: Rebecca Cran 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: AQHay5Mzt9blrZ+9a0S2GIymcndeObHh7LGAgAAA5OA= Date: Mon, 1 Jul 2024 14:24:41 +0000 Message-ID: References: <20240701084622.1496-1-n.jayaprakash@intel.com> <20240701084622.1496-2-n.jayaprakash@intel.com> In-Reply-To: Accept-Language: en-IN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR11MB5943:EE_|CY8PR11MB7732:EE_ x-ms-office365-filtering-correlation-id: b1200c92-6e07-435f-a789-08dc99d98be6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?58DfKveqGZZ1bOwCb6tOtkavjWEDlkPBLCQ2WjFElyLOGUyXG24m0uSaqjUw?= =?us-ascii?Q?KwtLv547resE0PHu+8/2cOtSwB59zHBWuwYORFgXoUeZTArpkCDQ0SQDLUdb?= =?us-ascii?Q?mWaIN11uvDpU0ILLQPCZFc/sS9AMtLUIWxdRdODSDu3yA/oZR0cJoDFkGztU?= =?us-ascii?Q?0GHqGT0M9tOpeFyAqNhXeriE+FQqQDqhHs9KCs2XwL06ETATs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uycsLJ6DtaspIS582HDwE9Eo52cyOP0y6tc+T?= =?us-ascii?Q?a7LqIv8edFd/At1VZ93Oe2e/TbjyDTZomyMYqvAYmcB6r1rQONkvpcaxkFy2?= =?us-ascii?Q?ojR+QTUF7tbDNG9eZqwGQu8Ag69K8D887em9GmRHSZMb56G0+taBF0TAUNy1?= =?us-ascii?Q?az7wGd00QQLrgW0sBQ2Ia1PbfOWQTWqJpO0sodcpprQ8KKeMTEH4H9eyZTnC?= =?us-ascii?Q?sVsOW7Ni2znzdd8sdPIQOoE3nd3F/37G6iFhnvGz7UprMYUNQE0GGXig1U9i?= =?us-ascii?Q?2g8ud6E=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ihan2Z8o1Vdn/RrioR3dwaprQPia/fbhKdRdvkKpUJv5lshlb/hAdFCLhOVy?= =?us-ascii?Q?PY+VSZDjKqSA0AWlDfegqNaGBUehJuLcXHRPzfJXrCK0DOzkayBANk8gZoJo?= =?us-ascii?Q?BgIkCiWYn4Srx/7Wd13b5w06H8wQWcR0cMzed4HaZkuaeKLqZRtDv1imEKrh?= =?us-ascii?Q?odI8wPojbhMHp++oBWh6sVgv+4sJNuyqHYQeZBz1w3g0UjusnHXIscUOaDnV?= =?us-ascii?Q?XasLVdnLFGnt3fNDMaVFhX/v1t5BV+fWbQl8jSYdhK3ToUMqJUi4p6ZXD1og?= =?us-ascii?Q?3RWiqKhIvRFDlQxz6wzx9ZnajL904Dv/RheSWYC6MKMtGpppCMCufjzwCEat?= =?us-ascii?Q?9Ehpk150j6zSJ7LZKxxxgKx8OFtWGTRnqq0ofHWTJiNHwhTJhAKGp1/ZCQtz?= =?us-ascii?Q?oQ1vm4zaLahjLgdF4MlC7CNldKZCP2A/GuDtLuqt5Wk1OKw9aj6pXJMsU5Hk?= =?us-ascii?Q?PcbofuSJ30z0idMmYE/4TWbF/75JF2nBI+Wsgtg4SIV89z+jIcM3MYNmAnxo?= =?us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yYNle867lr5AcA0?= =?us-ascii?Q?2DcmCQLGOgoExJZzX/rSvgvJ9ByU9ngoyr2d1xWORNF92Yf21rNAl7fnhUhC?= =?us-ascii?Q?geS2/XZGQF2XxsABxKSSX/un+Dw/WT8dwDocQ2dqYlt4UizQ+XMxvzPaynP+?= =?us-ascii?Q?V7QMTzyuM0ZqqxpXHoxvDGLqKFO4VS6CHmr6mUPj?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB5943.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b1200c92-6e07-435f-a789-08dc99d98be6 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jul 2024 14:24:41.3363 (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: Vm17RKQcRJk6YzgjtbPeXRB3MMT8DbbhbRi8O/30296qyq6pRgnQGrAj7arur4ROi9pnsWf1REmiI8n6ktvWiA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7732 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:24:56 -0700 Resent-From: n.jayaprakash@intel.com Reply-To: devel@edk2.groups.io,n.jayaprakash@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 2uEl84rzkvC5slkN04LdGafvx7686176AA= 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=MzukXRSi; 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 Thanks Mike. I shall make this change and submit the PR again for review. Regards, JP -----Original Message----- From: Kinney, Michael D =20 Sent: Monday, July 1, 2024 7:51 PM To: Jayaprakash, N ; devel@edk2.groups.io Cc: Rebecca Cran ; Kinney, Michael D Subject: RE: [edk2-libc Patch 1/1] edk2-libc : add github actions workflow = to build PyUEFI using gcc 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=20 > ; Kinney, Michael D > Subject: [edk2-libc Patch 1/1] edk2-libc : add github actions workflow=20 > 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=20 > interpreter with gcc tool chain on Ubuntu Linux system. > The build-python-uefi-gcc.yaml file under .github/workflows implements=20 > the build action for building the pyuefi interpreter with gcc tool=20 > 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=20 > ++++++++++++++++++++ > 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 # #=20 > +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=20 > + 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=20 > + $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=20 > + LF > line ending format > + dos2unix AppPkg/Applications/Python/Python- > 3.6.8/create_python_pkg.sh > + .=20 > + AppPkg/Applications/Python/Python-3.6.8/create_python_pkg.sh GCC5 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 (#119740): https://edk2.groups.io/g/devel/message/119740 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-