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 8925B74003A for ; Mon, 1 Jul 2024 16:17:09 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=LlamwrD28QPbQD+nXeJdVgDbomxzUOe8RM1ySO9oCOI=; 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=1719850629; v=1; b=ElYiAHsLlacS9wLsOsr17Xf8BVfSOG0g5t3q/yI34EpLZ6hVz1feSGSYkFdkQAiBYpRpN0kI 8b+ANCpnZZrBv0/PNMsdCI5D91m4EsP1gXAEEDmIdWUEvdtuvSlUjZhuZR+/ym4AhswOMQOk9uG hfKQw5yNGK3pQVg6sk+X9Ckre+C3coWPZpqAWD0xpta9OUHKLhCEezjEOcxJWMDKPEHZSjy/0Pi yY6DBXQqpmOmZgAveIclypy7JZSWqyd/0IliRDwUA82AQ25tmP9ZgvID+lBGksCEerp6qRSy37G G0h6ongZQWh2Qu5PJUXGtK0XYdGKkkRoWqt5yAzWgdkOw== X-Received: by 127.0.0.2 with SMTP id 7NgZYY7687511xeFUiRSHUA3; Mon, 01 Jul 2024 09:17:08 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by mx.groups.io with SMTP id smtpd.web10.1011.1719850627446410326 for ; Mon, 01 Jul 2024 09:17:07 -0700 X-CSE-ConnectionGUID: ElNucVmhTrKeDGysEksWUw== X-CSE-MsgGUID: KTK0KxFvTc6PbV0pha+/eg== X-IronPort-AV: E=McAfee;i="6700,10204,11120"; a="20804048" X-IronPort-AV: E=Sophos;i="6.09,176,1716274800"; d="scan'208";a="20804048" X-Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jul 2024 09:17:06 -0700 X-CSE-ConnectionGUID: zNXyEWhuSWmG1PnckA3Z1g== X-CSE-MsgGUID: aU2PpCStTs2xwqLLxIdiog== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,176,1716274800"; d="scan'208";a="45657758" X-Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmviesa010.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 01 Jul 2024 09:17:06 -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 09:17:05 -0700 X-Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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 09:17:05 -0700 X-Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.171) by edgegateway.intel.com (134.134.137.102) 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 09:17:04 -0700 X-Received: from PH7PR11MB5943.namprd11.prod.outlook.com (2603:10b6:510:13f::19) by PH7PR11MB6977.namprd11.prod.outlook.com (2603:10b6:510:205::22) 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 16:16:57 +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 16:16:57 +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+9a0S2GIymcndeObHh7LGAgAAA5OCAAB7wcA== Date: Mon, 1 Jul 2024 16:16:57 +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_|PH7PR11MB6977:EE_ x-ms-office365-filtering-correlation-id: 16f63239-05d9-4c61-7a55-08dc99e93ad4 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?Cf+WBcpgMFYcpt9jYG9uCG5zbdncqmV/sFRHE1SkvAnGuz3MocsKOyZUgTCw?= =?us-ascii?Q?BMxNAncNou0EoVlnqIWvaLNH8u6r21SCryfX+Mcbn/rbifpbEbN5BSf/Cc6U?= =?us-ascii?Q?WD2x3LFTZyMkUQu92+uKdxu3sAAZOKOLOVJ2Noztxt8DAlUlfOkRx1ru3dM4?= =?us-ascii?Q?/MMO2HDW7Y64qKZEKH+7lFZB+g4fGvIqAcsyFpERskjrJGCuyyQ2z4rCDHqL?= =?us-ascii?Q?GymPXGWNzlPb5FT7SdvUvl0Xpqlo1zIo7E9+3N6vVqpUQxTk1mSDx9+b/7jK?= =?us-ascii?Q?9nW8+kj5V6X6PXWZ7GXfyUyHfx2FzsJlimGVMpGtbxS0hUbgey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dLpYOfdesFa9E+Sye7PfTyHLTTNCRnFFWw6NnTdjLQbClf/U?= =?us-ascii?Q?NSvT21zXxIoew2TGndXeh1+4hhxTE850FcEQjn4T7YfBL4uGk+OXGXZhB5Uu?= =?us-ascii?Q?RICke4Wu6JKi8uunDPHCUJs4V+Gmpo6T0vCXvNPAYbFNhXZVQWX4Vp4F3Iqz?= =?us-ascii?Q?bMRecDY=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Yj48JDAtjxXc022Q0p6L92IKeZfXKs+esSfINjFYTPVDWCOuqAJwdSlc7zAj?= =?us-ascii?Q?1LrNp0XORaIZzqxjZSuESUFnEn6SY0iJ6TAU1La0Ac5bRGEsqZwOSYmuLXT0?= =?us-ascii?Q?5ybtt0rGGaHQaPsaMpNNH/mFlaIAWpiPHerLHLZO3peMf+Tj/YXRjWiEC351?= =?us-ascii?Q?ZueKTdNvpZx+k8Bsryj+//BDKxExllOzOdSB4v8jHfw5oh+DTqtC1lABhqC5?= =?us-ascii?Q?/rBKfajDQd6iupagPZSfbnkaIQ2qu6QRRSPl0KyTNN11tGhh66zEqXvPP8Ol?= =?us-ascii?Q?vK78iZDflCquHRMTIwniRj9JSBgy4tWaqotvixlKVhKc2urgM7jrajH3MJhw?= =?us-ascii?Q?W61veMqbLvF3+q6ZNIK4NQsO0jzqjiP7kHOrzWwh45fxJ0R8nyI2aQs6Qdfb?= =?us-ascii?Q?3+3X7FU5GwdfBoclMHNm6MXRHT0CpW+Ssw+H0hVFjyvlmojk7u+y2f/tEmBz?= =?us-ascii?Q?j+4SoloNd7UtEQ1QI4aVy0WT6j4x1V5+MCn1CNkK7/HzsrX0npLGZYzkzPBR?= =?us-ascii?Q?f6uAGffoHSz71C8Vzb0DH2VZLO7pzdHhO1rIrIPqdyCVuclflvfZiid6bGPL?= =?us-ascii?Q?h13KPVvPDMiLa6BF8FCOhLNFoi2KAhbIFWWpPTZ4zTWpxADjttIYCC9ptVAK?= =?us-ascii?Q?ke+xxAN59qDilYEyXk6RqbAilDDKmeHqev9uHvWgWTDN67d1z4kcNyhZWILU?= =?us-ascii?Q?3lT6+E2NvEpqZVJXHEZuQNI6wD/xslJQIw62lTxEuChpYCZAhKavoklPJh+S?= =?us-ascii?Q?qHq0KVWHOj62NvYluFZmu+081zfDGw26WPGX2LPXU/GUg9g3QdKqvgA8mcB6?= =?us-ascii?Q?/CSDp8TNUnhSh87toR+Oc+U1LfOF6RFtO7xpLL7bblZnkHLSDvFzlESbOT45?= =?us-ascii?Q?xgCeWMXuQV90RWPKVwy8F3obKPBjMXatyJL9wyRF7ctMeXEKk+9TfpYog6zK?= =?us-ascii?Q?nfjWD9+unDiXIS7QYu5iySXumG0n+uXBgv1BmLMGAHtZ0iA6aB1ZifQenwmr?= =?us-ascii?Q?D9R0HLDD7PnEGWApUEHOJywQm49L8EtzgV9aldWcQWiWbVKRZZnTqtl5ubWn?= =?us-ascii?Q?VNug8ET9GN0LnjBdsga/4L6aOszuKFZaz98S8m4+tC6LXQ4CmcdKJa3di4v+?= =?us-ascii?Q?HVGbkLaZiRnIVbxIqnm4h27460XGlRWKKI82uEj1aN/Oc5E43r75I8PdA3LZ?= =?us-ascii?Q?i7UUWfWk9lrOwhtStFUe3FWh5rdYIZLX9HzDlfGjyHrLdCo96YPgJo/nAcey?= =?us-ascii?Q?+TV+A59qKmNJW8q2yFlmNpgypQmqa7ap29deK02X6uNN983P3b1W6dOna5Ly?= =?us-ascii?Q?wGnE000UJ2x6SjI5HI5yk5GOpCs5U3l490bRmPh+jNF8QQzBiZWuW1aLlE5K?= =?us-ascii?Q?s6SQKi8bko6EadMHO+aGnpDG8JsiZTrDxxrXPh5VUAC7Y0xo3B6oAaoKVht2?= =?us-ascii?Q?gVAZg2aZIUbJLFBPjbUcnQadSY1l3CbhGgm8T1oi4QWxlGIznFyMyNQT86TO?= =?us-ascii?Q?F1CeMMsXPYcIkAFd+gYEHPs9zFs80I1M/2kALjGdfWFrGpLOywraFrkOkdLI?= =?us-ascii?Q?pu+bRjSETfRwPYaPU1ByNfzWSgeZ/6Xg8hoROo0K?= 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: 16f63239-05d9-4c61-7a55-08dc99e93ad4 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jul 2024 16:16:57.2791 (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: vKqmuuQOeP3ajwJbJ7tlPS8wHosRwyDQWF/glNfHPl0I6/RrvT1sRgdPrUK3nncrQ13hctnIhdTnKVSv1RqzXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB6977 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 09:17:07 -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: zMRXReQVl3DiV84YX5BPHECgx7686176AA= 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=ElYiAHsL; 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 Hi Mike, I have sent the updated V2 patch for review. Changed the line endings of create_python_pkg.sh script to use unix line en= dings and removed the installation and usage of dos2unix from the actions .= yaml file. Regards, JP -----Original Message----- From: Jayaprakash, N=20 Sent: Monday, July 1, 2024 7:55 PM To: Kinney, Michael D ; devel@edk2.groups.io Cc: Rebecca Cran Subject: RE: [edk2-libc Patch 1/1] edk2-libc : add github actions workflow = to build PyUEFI using gcc Thanks Mike. I shall make this change and submit the PR again for review. Regards, JP -----Original Message----- From: Kinney, Michael D 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 > ++++++++++++++++++++ > 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 (#119744): https://edk2.groups.io/g/devel/message/119744 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-