From nobody Thu May 16 15:19:29 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+108230+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+108230+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1693585107; cv=none; d=zohomail.com; s=zohoarc; b=DIiDpht5N6DiUcNO4+CotVEIrFER/lCy9ZrRWc9J18pFo8ce7MF6UqbsjfV+sZzbuq+zpSxaK6LvWJ0fIE2m5qcm9O1XUmXNxXlWqKMA0iOuvWrXJdqUgkFSuRx+Tx4oDB7wGEnWl7nDi/AWwb+AvoUnobJYgWCcua98yd3Qqxw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1693585107; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=iD06vDUjHi33npt090CotNqyLAypD/S0kKeQBuGhvJM=; b=F/ukxn5nfhvIYWtwuGUy4tf7dv2qxv/oFgINLIYDrnsUuXHdwLRarCgS1nweKoPKYMbLoB5vtByDcU58rkZ0BGNfYtR/s9TcCMXtYC69HYPxOvUD+wsJb2PAsqzW7Ia3Qye3v9laVfRQcBwHGNq2PBKvrHV0XzkdmcQ9c6ZSbsk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+108230+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1693585107781516.4760746490516; Fri, 1 Sep 2023 09:18:27 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=HNFdAOSeoqwP16ROVh1Qyug9APx5MQsL0iZ1BLG8+Bw=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1693585107; v=1; b=PN0cvGCYlBoHhd9DRYL3QuN//wABgx2n/6e2DcuNxnSXWqyVqUzdHfzmKd0JQa7ObAWFzNUZ 13FTi3DyZ+bustQWjTENP2l/QyctCggM3q29PupCy393whNE5Fyp/HISAouI2t+k4tdxxm0g/eO r743XS/L33RsXC1ARetZB+ng= X-Received: by 127.0.0.2 with SMTP id anfaYY1788612xon4UWSCA4j; Fri, 01 Sep 2023 09:18:27 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web11.72.1693585103045602274 for ; Fri, 01 Sep 2023 09:18:26 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10819"; a="378979322" X-IronPort-AV: E=Sophos;i="6.02,220,1688454000"; d="scan'208";a="378979322" X-Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2023 09:18:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10819"; a="743153575" X-IronPort-AV: E=Sophos;i="6.02,220,1688454000"; d="scan'208";a="743153575" X-Received: from njayapra-mobl.gar.corp.intel.com ([10.213.83.150]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2023 09:18:16 -0700 From: "Jayaprakash, N" To: devel@edk2.groups.io Cc: Jayaprakash N , Rebecca Cran , Michael D Kinney Subject: [edk2-devel] [edk2-libc Patch 1/1] ek2-libc: Fix compilation instructions of socket module as builtin module Date: Fri, 1 Sep 2023 21:48:02 +0530 Message-Id: <20230901161802.1362-2-n.jayaprakash@intel.com> In-Reply-To: <20230901161802.1362-1-n.jayaprakash@intel.com> References: <20230901161802.1362-1-n.jayaprakash@intel.com> MIME-Version: 1.0 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 Reply-To: devel@edk2.groups.io,n.jayaprakash@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 7BxQEZtJUX7RvfuNCldq4kUqx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1693585109044100001 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4548 This change fixes the insufficient documentation instructions to compile socket module as built in module into Python interpreter Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .../Python/Python-3.6.8/Py368ReadMe.txt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt b/AppP= kg/Applications/Python/Python-3.6.8/Py368ReadMe.txt index eae56b4..2b27c92 100644 --- a/AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt +++ b/AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt @@ -129,13 +129,14 @@ system as follows: =20 6. Example: Enabling socket support =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D - 1. enable {"_socket", init_socket}, in PyMod-3.6.8\Modules\config.c - 2. enable LibraryClasses BsdSocketLib and EfiSocketLib in Python368.inf - 3. Build Python interpreter application using below command + 1. Uncomment the statement // {"_socket", init_socket}, in PyMod-3.6.8\M= odules\config.c + 2. Uncomment BsdSocketLib and EfiSocketLib LibraryClasses in Python368.i= nf + 3. Uncomment the statement #Modules/socketmodule.c in Python368.inf + 4. Build Python interpreter application using below command build -a X64 -p AppPkg\AppPkg.dsc - 6. copy Build\AppPkg\RELEASE_VS2017\X64\Python.efi to \Efi\Tools on your - target system. Replace "RELEASE_VS2017", in the source path, with - values appropriate for your tool chain. + 5. Copy Build\AppPkg\RELEASE_VS2017\X64\Python.efi to \Efi\Tools on your + target system. Replace "RELEASE_VS2017", in the source path, with + values appropriate for your tool chain. =20 7. Running Python =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 2.40.0.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 (#108230): https://edk2.groups.io/g/devel/message/108230 Mute This Topic: https://groups.io/mt/101098540/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-