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 9EF6ED8053F for ; Tue, 23 Jul 2024 02:22:31 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=jpRQB4XSVUJ114hEGArEVwzK6ETLNZuuYuZaALdy0Ys=; 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=1721701351; v=1; b=VUdulEXyEGEGNR8YyzxF31xbUEboMyYT5JbVC4BBNNepnqI3zMDrH1K+WQJjXWZhDFQ//3Wn /vXSBZ6pgVUpYlOurJZSVBxH2UildDi3FPe0OrOuJ3BHv7q5CgIJTMFfs/kV0jctrxkaNYuEOu2 r6gKgyGQ74MZVxp4wTHLNUmBCpdCzP45XbPJ0xIuZSV2dvR+RD0vrRq2U367VU6w19sZaC1ZEPO q88IhHj6m4G+fz4tP7uzZ/0qRVom2wXYPz9cI3lnRo23HNWS9o0yW/kNvz+xFC2eR1vJU9kvlcW aQyYgnRUJwAMPOVMPxcRaKr8iWTelj6teRAGKHu/XZcqA== X-Received: by 127.0.0.2 with SMTP id k58XYY7687511xECxc6Q0Vkw; Mon, 22 Jul 2024 19:22:30 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by mx.groups.io with SMTP id smtpd.web10.35123.1721701349288824980 for ; Mon, 22 Jul 2024 19:22:29 -0700 X-CSE-ConnectionGUID: w4eURB4BQV6QUu7nnCkkJw== X-CSE-MsgGUID: 2uRVCfkPSB+aVCNlLVHBbA== X-IronPort-AV: E=McAfee;i="6700,10204,11141"; a="29965268" X-IronPort-AV: E=Sophos;i="6.09,229,1716274800"; d="scan'208";a="29965268" X-Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2024 19:22:29 -0700 X-CSE-ConnectionGUID: mNdVD1+xRRa+7bGHq75ibg== X-CSE-MsgGUID: bXXJbsIrS7qHBShkfIDcmw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,229,1716274800"; d="scan'208";a="52010516" X-Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa009.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 22 Jul 2024 19:22:29 -0700 X-Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 22 Jul 2024 19:22:28 -0700 X-Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 22 Jul 2024 19:22:28 -0700 X-Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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 via Frontend Transport; Mon, 22 Jul 2024 19:22:28 -0700 X-Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.175) 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, 22 Jul 2024 19:22:27 -0700 X-Received: from PH7PR11MB5943.namprd11.prod.outlook.com (2603:10b6:510:13f::19) by CY5PR11MB6389.namprd11.prod.outlook.com (2603:10b6:930:3a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.29; Tue, 23 Jul 2024 02:22:20 +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%5]) with mapi id 15.20.7762.027; Tue, 23 Jul 2024 02:22:20 +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 workflow to build python uefi with VS2022 Thread-Topic: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: add github workflow to build python uefi with VS2022 Thread-Index: AQHa3AZsCatHe+fLZ0mjgBIqAUqk4bIDCNMAgACNB2A= Date: Tue, 23 Jul 2024 02:22:20 +0000 Message-ID: References: <20240722071117.1885-1-n.jayaprakash@intel.com> <20240722071117.1885-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_|CY5PR11MB6389:EE_ x-ms-office365-filtering-correlation-id: 471d88a2-8e7f-4487-2326-08dcaabe4796 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?1u3ysRZDsYhJmxhkyC1ZB6qFoTUzEXgrGg+TDi+lqe1+gjW1ooXj7OBnqKmf?= =?us-ascii?Q?c9yhxN+6V2tMd4/g4XnQsaLi6jugWbSdxhhFYg8Ds6NGYoA4FbUE2HsUoj4q?= =?us-ascii?Q?NfAVkQBgxvodaBW3H1vxn1k9zG3DXac4JBxed+0UWdJdIf0As+q8IDhntrfb?= =?us-ascii?Q?mO6OdAptU3m6XtdBH7kmpMx2YRa37R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VM7py//IThvek4Io0jr0kOYGiASN/2gT0wlaKcvSYzpd?= =?us-ascii?Q?uj3IS8xPwskwdNAI9TDihPTzdTE4OqEtAqKEU70SldvLTb9Ll7dLT6LXBqew?= =?us-ascii?Q?Y7VFfNdSH3VoHfl/vUJph5DvZb0+J24uhM7/QKvPI7j6OTePYw/BaPdsiiLN?= =?us-ascii?Q?4jdSnasvbzF0heoZN4nSgfWq0pbIB53wJYoppoN+Z1dJfBmMv8fKjk7dBUNh?= =?us-ascii?Q?zpOEYWbsoEbbL3jMJ51Uq+19Xxq7T+wQVj8GBBj1a9gtjlX9dsK8DAt+8+TN?= =?us-ascii?Q?Uq7wSOk=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?0Eh7G9yIMj/vYGwq4POfjDeNbgP2rFUXYCw0+gSSjy665VRdWYqmgYN450Cx?= =?us-ascii?Q?YVXXX7kiU6VwgJcv3dAXmiSBe2M0IKaYZyZM/JfvJ2YeOBmkHrezgG3Qjlux?= =?us-ascii?Q?YWFY/A5vcZLnh/q/Cj37Phn7coGbgzPWlVVkJD1SN0l+uSXkUPAM8oQYcFhQ?= =?us-ascii?Q?xiQfZ2RhOGiq481vgpGbAXu8HewhfFjLQOQEPw9bmLXOLE7wuSocpLcsNFJY?= =?us-ascii?Q?6IUNIYvtLeUSsnBHERP5U1ngN4iBv5R+NMSgmDlgmayXO7InRY82Wpkn20bG?= =?us-ascii?Q?/x8MmYG/xY8bZb7aQgqrtZ2U+f+uFWc5nN7OazcoXD9dDW05VhdAqT9AgerC?= =?us-ascii?Q?543OGw6IoT2iv9tOiS0EN6O8Oe7g9G7Y2nnOpDG+wj3ibp2STn5P71yZ/NW9?= =?us-ascii?Q?kljiuhl1S3DwPqcGhCwnxtufvhBJFNLs09QsCnajJGsZMRiCMULWlsn5f++q?= =?us-ascii?Q?S1+8+5A4DS/6NIC1CF1BZpGm9C/gSZyN8ojOiHiOXyVBCMJCvlCN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lJ06HsIIZNaPG56OSAziO0f2bPNyL9?= =?us-ascii?Q?4vkl53yPp6ebqDKPl3IbAtmnSdna/LDcL0icBnaWWpeG+qkL6vHr/7uCLWjF?= =?us-ascii?Q?4m9hkgJFuePnQFDhzxWFkO7Q/DGHXATYGpeNgUNqEUF5BN7Jsx62VUUtWfPL?= =?us-ascii?Q?btUbi3gR0MDBegibagdXEVIFfxanzQkSWwea9b6a?= 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: 471d88a2-8e7f-4487-2326-08dcaabe4796 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jul 2024 02:22:20.0922 (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: oyo6UYHZPIhgxl0uqW1RahfJFXMrjkI+nL1isBF/PbiZJ9ZYGQeSe+as+ghkfd1bzIbk1S453GZiGNuRPoFylA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6389 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, 22 Jul 2024 19:22:29 -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: 2UFsVO9JaqAejBYbj9ekdrrox7686176AA= 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=VUdulEXy; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none) Thanks Mike. I have always been running the build commands from the x86 / x64 native vis= ual studio command line. So, created the workflow accordingly.=20 Let me check and make any changes if required. Regards, JP -----Original Message----- From: Kinney, Michael D =20 Sent: Monday, July 22, 2024 11:26 PM To: devel@edk2.groups.io; Jayaprakash, N Cc: Rebecca Cran ; Kinney, Michael D Subject: RE: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: add github workf= low to build python uefi with VS2022 > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of=20 > Jayaprakash, N > Sent: Monday, July 22, 2024 12:09 AM > To: devel@edk2.groups.io > Cc: Jayaprakash, N ; Rebecca Cran=20 > ; Kinney, Michael D > Subject: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: add github=20 > workflow to build python uefi with VS2022 >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4815 >=20 > edk2-libc has already been enabled to compile with VS2022 tool chain. > This commit adds a new workflow file to enable building python uefi=20 > with VS2022 compiler tool chain. >=20 > Cc: Rebecca Cran > Cc: Michael D Kinney > Cc: Jayaprakash N > Signed-off-by: Jayaprakash N > --- > .../workflows/build-python-uefi-vs2022.yaml | 84 +++++++++++++++++++ > 1 file changed, 84 insertions(+) > create mode 100644 .github/workflows/build-python-uefi-vs2022.yaml >=20 > diff --git a/.github/workflows/build-python-uefi-vs2022.yaml > b/.github/workflows/build-python-uefi-vs2022.yaml > new file mode 100644 > index 0000000..4e36f09 > --- /dev/null > +++ b/.github/workflows/build-python-uefi-vs2022.yaml > @@ -0,0 +1,84 @@ > +# GitHub actions workflow to build python uefi using VS2022 # #=20 > +Copyright (c) 2023 - 2024, Intel Corporation. All rights reserved. > +# SPDX-License-Identifier: BSD-2-Clause-Patent # > + > +name: Build Python Interpreter for UEFI using VS2022 > + > +on: [push, pull_request] > + > +jobs: > + build: > + runs-on: windows-latest > + env: > + NASM_PREFIX: "C:\\Program Files\\NASM\\" > + defaults: > + run: > + shell: cmd > + > + steps: > + - name: Checkout repository > + uses: actions/checkout@v4 > + > + - name: Setup Python > + uses: actions/setup-python@v5 > + with: > + python-version: '3.10' > + > + - name: Install NASM > + run: choco install nasm > + > + - name: VSWhere > + run: | > + "C:\Program Files (x86)\Microsoft Visual > Studio\Installer\vswhere.exe" -products * -latest -requires=20 > Microsoft.Component.MSBuild -property installationPath > + > + - name: Setup environment for Visual Studio 2022 Build Tools > + run: | > + "C:\Program Files\Microsoft Visual > Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x86 > + set > + I though edksetup performs these steps above??? > + - 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 > + dir > + edksetup.bat ForceRebuild > + > + - name: Run srcprep.py > + run: | > + echo switching to AppPkg\Applications\Python\Python-3.6.8\ > + cd AppPkg\Applications\Python\Python-3.6.8\ > + dir > + echo run srcprep.py file > + python srcprep.py > + > + - name: Build Python UEFI > + run: | > + set PACKAGES_PATH=3D%CD%\edk2;%CD%; > + set EDK2_LIBC_PATH=3D%CD% > + cd edk2 > + call edksetup.bat > + build -t VS2022 -a X64 -b RELEASE -p > %EDK2_LIBC_PATH%\AppPkg\AppPkg.dsc -D BUILD_PYTHON368 > + > + - name: Create Python UEFI package > + run: | > + set WORKSPACE=3D%CD%\edk2 > + set EDK2_LIBC_PATH=3D%CD% > + dir > + call=20 > + AppPkg\Applications\Python\Python-3.6.8\create_python_pkg.bat > VS2022 RELEASE X64 myUEFIPy > + > + - name: List build artifacts > + run: | > + dir /S edk2\myUEFIPy > + > + - name: Upload build output as artifact > + uses: actions/upload-artifact@v4 > + with: > + name: myUEFIPy-build-VS2022-output > + path: edk2\myUEFIPy\**\* > -- > 2.45.1.windows.1 >=20 >=20 >=20 >=20 >=20 -=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 (#120010): https://edk2.groups.io/g/devel/message/120010 Mute This Topic: https://groups.io/mt/107481170/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-