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 04C15940F36 for ; Tue, 18 Jun 2024 06:55:21 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=RTX81dSIYxZdqKt0v1SlGUDKFdsyzHkQpXzGRFP4l5E=; 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=1718693721; v=1; b=qIZ//PRryRF6ZxjfqVlMYQ+DvkXBfYoUMSv+pvmjaLAtFAGqrCVxPfIzTc32f5rpOi19jNaz pauI68i2RlYEL+u0mcxPwZ13ZiXSu6YIJM9wKZUr/8wjmMRBZ2jI8pr/Sh36+MXEcW96SLhnUyY NtMHuNEvO2N9gm10JHNmHSsg4+7bt+mfdRHx76j3QTpPO6/py1Get9w80RneP1ZXKN/fFaiWQ0g JxfqKyxqGPBPSu5EDg8l23M/TUUiHJ8vx2R9ZpMCDVsWTYBhDyonlX48PibO43ZMVjW+MXcmGaB ZqeqTqOwv+I4c0f7tEnVdd7BnSL8uGzmNkMJouEclrTMA== X-Received: by 127.0.0.2 with SMTP id pj8oYY7687511xFxz3yUf6GU; Mon, 17 Jun 2024 23:55:19 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by mx.groups.io with SMTP id smtpd.web10.80562.1718693719266604006 for ; Mon, 17 Jun 2024 23:55:19 -0700 X-CSE-ConnectionGUID: 3NsjFVVvQ1O/cCuZXRJa1A== X-CSE-MsgGUID: oCh21I1ZTKap3mYJIy65cg== X-IronPort-AV: E=McAfee;i="6700,10204,11106"; a="19409806" X-IronPort-AV: E=Sophos;i="6.08,247,1712646000"; d="scan'208";a="19409806" X-Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2024 23:55:18 -0700 X-CSE-ConnectionGUID: lxXBw5LkTm+jOoL92t/sSg== X-CSE-MsgGUID: fnwQORUkRMCDPrhMqZTQXA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,247,1712646000"; d="scan'208";a="72654688" X-Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmviesa001.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 17 Jun 2024 23:55:18 -0700 X-Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 17 Jun 2024 23:55:18 -0700 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 17 Jun 2024 23:55:18 -0700 X-Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) 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, 17 Jun 2024 23:55:18 -0700 X-Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) 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, 17 Jun 2024 23:55:17 -0700 X-Received: from PH7PR11MB5943.namprd11.prod.outlook.com (2603:10b6:510:13f::19) by IA1PR11MB8199.namprd11.prod.outlook.com (2603:10b6:208:455::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Tue, 18 Jun 2024 06:55:14 +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.7677.030; Tue, 18 Jun 2024 06:55:14 +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 VS2019 Thread-Topic: [edk2-libc Patch 1/1] edk2-libc : add github actions workflow to build PyUEFI using VS2019 Thread-Index: AQHavny8nAi7ZLeUk0erOcnN2i0NvbHIDVUAgABtZqCAAHriAIAEJPug Date: Tue, 18 Jun 2024 06:55:14 +0000 Message-ID: References: <20240614170247.1201-1-n.jayaprakash@intel.com> <20240614170247.1201-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_|IA1PR11MB8199:EE_ x-ms-office365-filtering-correlation-id: b55d9d22-8a29-4131-c90a-08dc8f639b24 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?6XOlpGFa3H599CReswPqP9GSD0Qk9hL9EpXNcx2y5QqTmZTTo/ltUh7NOzqI?= =?us-ascii?Q?nr5evYOrhsM6ejtNGrDsHjeC1X2HRYtQjhcavxrmiODFlg7D9mhCtc9pWYFd?= =?us-ascii?Q?JrlOQt7/cRiROSFmlZRlRem//wlz+XybqvL+Ypu958yNpWYFcZW62PGpptbu?= =?us-ascii?Q?ZtdZDKRoi8NPBeHJ30wjulJGS65cZzjcrw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SC9VJno+ipd7BUSP5wwA0fErvrT9eVqwLm7xBjdEnBO0sW/wuqq+EOPFj?= =?us-ascii?Q?UAmabJT+5f+muXp2S8Cdk1mqi2uoq42clVTLbVIfHwu/V4zAfjfivquIeFtc?= =?us-ascii?Q?X1Vz4LmwVGFy3JbIamVN4jwV4hxxQNP+VkBEL8JHHWRh8r/t3mtPARVP+mfp?= =?us-ascii?Q?stqMFWDsksfYcpX0Y4FYN9czgckWi0ex2FgqwG9tN1+tfeV6y4tvLtYOBWFc?= =?us-ascii?Q?6NMBD7Fk6NTPM5cYiQSH/nbl?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?phucY9KGBMcy1uJiZgu6cf1g0Y5S+KodS0D44vBlcDNv16n0ZbVGrCOmjBH1?= =?us-ascii?Q?7pk5IDtcpkYWWvhfJ/PTSwj1p6YFzPVdIPDn0PmumLCO9m8e3JQQUMQUoZG5?= =?us-ascii?Q?mwIc0jubMZRO5KwKObWmUW8NGlVAfS+biFwJdrVM+jEnlN9cofAtbHnUO/Gs?= =?us-ascii?Q?9r9vKs4VSxLRaoxnOZS1dgMKamiHTvTZjIHvVmoCitI2QYraYVm9qtV7XgQg?= =?us-ascii?Q?e8BtTEsLg3BtngCdJag21P0s177gPWICjKOaJ5cFnSMq5RvlTxaz+YeNB0Mr?= =?us-ascii?Q?CrAnsfKGkZQoq8lJN10k+IGmhFnC3P/Qu2YvWpkhsU+3eciZ5kzeXh5xPyEM?= =?us-ascii?Q?N5mxi6ftnsGkMwduWdoRYDHBsC8PfqtXWFChgpcRNRB/GdfDiobVmddVOihD?= =?us-ascii?Q?95CNPPAZhoMgB3NmFZgSvv7gHa1UPZCdBAaDKzZBtM3911JpBi31Bs6wqn+d?= =?us-ascii?Q?YXnvV1ezjQt1ZsCEWaGgD3xVrHSuumMP3fIAWrJQOmJyz6+ygs0AnGgwYdA1?= =?us-ascii?Q?LTW5xVyGXByReZMfDcV0ghmln6gh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Q?n7I9PNdKzztPYrLMTjnkKsCYxkUfS9+lBzQDsasD4jM7henfFI2ugBNaLa3o?= =?us-ascii?Q?B6n1RBPsa9MAX78VLv04NmEipJWzWWOhjy+K6UiZjY6T4zUPcFEal/a/KhhH?= =?us-ascii?Q?hvoAbwoHoqXl1u5pQfrceJejtGFc3AhIk55Jy7QY?= 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: b55d9d22-8a29-4131-c90a-08dc8f639b24 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2024 06:55:14.6871 (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: mFwvYJ71wk1Okxe4yEb0fhZbAZn/72Fa269WQMVtwfmHjTx50LoZ1FWWN+LRBOIVEKXZvnYbfOem+70n+v2qIw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB8199 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, 17 Jun 2024 23:55:19 -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: RssyyrFvTuUiJFbpwpP5WhdHx7686176AA= 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="qIZ//PRr"; 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 am planning to split this PR into multiple patches. The first one is for the suggestion you provided to include conditional com= pilation for Python368.inf in AppPkg.dsc and to pass a macro through -D fla= g to the build command. I have made the necessary changes and verified them locally.=20 After that created a patch and submitted for the review. Please review and approve the same. This PR I will use only for setting up the github actions for auto build. Rest all the changes will be done through different PRs.=20 Regards, JP -----Original Message----- From: Kinney, Michael D =20 Sent: Saturday, June 15, 2024 9:03 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 VS2019 > -----Original Message----- > From: Jayaprakash, N > Sent: Saturday, June 15, 2024 1:18 AM > To: Kinney, Michael D ;=20 > devel@edk2.groups.io > Cc: Rebecca Cran > Subject: RE: [edk2-libc Patch 1/1] edk2-libc : add github actions=20 > workflow to build PyUEFI using VS2019 >=20 > Thanks Mike for your comments. > Please find my responses inline. >=20 > Regards, > JP >=20 > -----Original Message----- > From: Kinney, Michael D > Sent: Saturday, June 15, 2024 7:12 AM > To: Jayaprakash, N ; devel@edk2.groups.io > Cc: Rebecca Cran ; Kinney, Michael D=20 > > Subject: RE: [edk2-libc Patch 1/1] edk2-libc : add github actions=20 > workflow to build PyUEFI using VS2019 >=20 > Comments below. >=20 > Mike >=20 > > -----Original Message----- > > From: Jayaprakash, N > > Sent: Friday, June 14, 2024 10:02 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=20 > > workflow to build PyUEFI using VS2019 > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4788 > > > > This commit adds github actions workflow to build python uefi=20 > > interpreter with visual studio 2019 tool chain. > > The build-python-uefi-vs.yaml file under .github/workflows=20 > > implements the build action for building the pyuefi interpreter with=20 > > VS2019 tool chain. There is also a supporting python script under=20 > > .github/scripts folder which is used to uncomment the python uefi=20 > > related .inf file in AppPkg.dsc file. > > > > Cc: Rebecca Cran > > Cc: Michael D Kinney > > Cc: Jayaprakash N > > Signed-off-by: Jayaprakash N > > --- > > .github/scripts/enable_pyuefi_apppkg.py | 31 ++++++++ > > .github/workflows/build-python-uefi-vs.yaml | 84 > > +++++++++++++++++++++ > > 2 files changed, 115 insertions(+) > > create mode 100644 .github/scripts/enable_pyuefi_apppkg.py > > create mode 100644 .github/workflows/build-python-uefi-vs.yaml > > > > diff --git a/.github/scripts/enable_pyuefi_apppkg.py > > b/.github/scripts/enable_pyuefi_apppkg.py > > new file mode 100644 > > index 0000000..37b9e0a > > --- /dev/null > > +++ b/.github/scripts/enable_pyuefi_apppkg.py > > @@ -0,0 +1,31 @@ > > +'''Script to enable the build of python UEFI interpreter > > + in AppPkg.dsc file > > +''' >=20 > Copyright and License missing > <> Will add copyright and license >=20 > > +import os > > + > > + > > +script_path =3D os.path.abspath(__file__) script_dir =3D > > +os.path.dirname(script_path) > > + > > +# path to the AppPkg.dsc file > > +path_to_AppPkg_dsc =3D os.path.join(script_dir, '..', '..', 'edk2',=20 > > +'AppPkg', > > 'AppPkg.dsc') > > +print('Path to AppPkg dsc file : ', path_to_AppPkg_dsc) > > + > > +# Check if the file exists > > +if not os.path.isfile(path_to_AppPkg_dsc): > > + print(f"The file {path_to_AppPkg_dsc} does not exist.") > > +else: > > + # Read the content of the file > > + with open(path_to_AppPkg_dsc, 'r') as file: > > + lines =3D file.readlines() > > + > > + # Uncomment the line containing "Python368.inf" > > + with open(path_to_AppPkg_dsc, 'w') as file: > > + for line in lines: > > + if 'Python368.inf' in line and line.strip().startswith('#'= ): > > + # Uncomment the line > > + file.write(line.lstrip('#')) > > + else: > > + file.write(line) >=20 > This is complicated to edit a DSC file. Can this INF be uncommented=20 > in this DSC file or add another DSC files that is only used for this=20 > workflow to build python that has this INF uncommented. Then this=20 > extra python script can be removed. >=20 > <> > The reason I chose this approach is because we cannot uncomment this=20 > file by default in DSC file as it needs few additional steps to be=20 > done before the compilation. > Also adding another DSC file can lead to regular maintenance of the=20 > DSC file whenever there are changes to it, we need update in two files. > This custom script makes the process is and it keeps the github=20 > actions specific things are completely isolated from the rest of the code= base. > Would like to continue with this script rather than having a duplicate=20 > DCS file specifically for github actions. You can add a !if statement around this INF so by default it is not built a= nd you can add a -D flag to the build command to build the interpreter. >=20 > > + > > + print(f"The file {path_to_AppPkg_dsc} has been updated.") > > diff --git a/.github/workflows/build-python-uefi-vs.yaml > > b/.github/workflows/build-python-uefi-vs.yaml > > new file mode 100644 > > index 0000000..aa5c317 > > --- /dev/null > > +++ b/.github/workflows/build-python-uefi-vs.yaml > > @@ -0,0 +1,84 @@ >=20 > Copyright and License missing >=20 > <> Will add and send updated patch for review. >=20 > > +name: Build Python Interpreter for UEFI using VS2019 > > + > > +on: [push, pull_request] > > + > > +jobs: > > + build: > > + runs-on: windows-2019 > > + 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" > > + > > + - name: Setup environment for Visual Studio 2019 Build Tools > > + run: | > > + "C:\Program Files (x86)\Microsoft Visual > > Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat" x86 > > + set > > + > > + - name: Clone EDK2 > > + run: | > > + git clone https://github.com/tianocore/edk2.git" > > + cd edk2 > > + git submodule update --init > > + > > + - name: Copy edk2-libc contents to edk2 > > + run: | > > + dir > > + cmd /c xcopy /E /I /Y AppPkg edk2\AppPkg > > + cmd /c xcopy /E /I /Y StdLib edk2\StdLib > > + cmd /c xcopy /E /I /Y StdLibPrivateInternalFiles > > edk2\StdLibPrivateInternalFiles >=20 > Use PACKAGES_PATH instead of copying files into edk2 repo <> I=20 > will try and make necessary changes. >=20 > > + > > + - name: Build EDK2 Base Tools > > + run: | > > + cd edk2 > > + dir > > + edksetup.bat ForceRebuild > > + > > + - name: Enable python368.inf file in AppPkg.dsc > > + run: | > > + cd .github\scripts > > + dir > > + python enable_pyuefi_apppkg.py >=20 > See comment above to remove this script. >=20 > <> Would like to keep this script as reasoned for the comment above. >=20 > > + > > + - name: Build Python UEFI > > + run: | > > + cd edk2 > > + call edksetup.bat > > + cd AppPkg\Applications\Python\Python-3.6.8\ > > + python srcprep.py > > + cd ..\..\..\..\..\ > > + build -t VS2019 -a X64 -b RELEASE -p AppPkg\AppPkg.dsc > > + > > + - name: Create Python UEFI package > > + run: | > > + dir > > + cd edk2\AppPkg\Applications\Python\Python-3.6.8\ > > + dir > > + call create_python_pkg.bat VS2019 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-VS2019-output > > + path: edk2\myUEFIPy\**\* > > -- > > 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 (#119605): https://edk2.groups.io/g/devel/message/119605 Mute This Topic: https://groups.io/mt/106674325/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-