From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web11.5946.1663845072150375512 for ; Thu, 22 Sep 2022 04:11:12 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=Zi39q+0h; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: bob.c.feng@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663845072; x=1695381072; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=HIzO1kvv1qEMvg/dvZRihsF5XNAEsvieA+6U7LR60Y0=; b=Zi39q+0h4t34AxW+ElUyjy6x9Y72rdga8E6Etl+LaXIyXPYLMUVOIJGY OUNwkXF6c8hc7J3KiEJ71XLbS3BQOtS4ffbTi5fjophcM+1LNoNrLSRTH 2BmiV2ZkDaCLP5/JR1hrYsK1lt98A/VnZMaG1jOS17XpfM2UOl5F2iw1Z d+fyeZoleKfpaR6LiCc4xjgaSnjIgJmy5UT3Db5mrv82oMaLmUcbt4ejE mj+UOMsnMmUDRwGukq+pBhPPiIEMAxFLLvD9pnqUL2pD2yJqrcYmrg2B/ 2kAjmwmX0SaeApshjG5ZlNTanZmP8t1uFamS+qurWPkW76KSN2snRsBWi g==; X-IronPort-AV: E=McAfee;i="6500,9779,10477"; a="301114599" X-IronPort-AV: E=Sophos;i="5.93,335,1654585200"; d="scan'208";a="301114599" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2022 04:11:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,335,1654585200"; d="scan'208";a="650480508" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga008.jf.intel.com with ESMTP; 22 Sep 2022 04:11:11 -0700 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.2375.31; Thu, 22 Sep 2022 04:11:10 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) 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.2375.31; Thu, 22 Sep 2022 04:11:10 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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.2375.31 via Frontend Transport; Thu, 22 Sep 2022 04:11:10 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.43) 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.2375.31; Thu, 22 Sep 2022 04:11:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bDEUvqdeSie2g5XSx4xB+quCTQEpZ4ory3fmaXWgPz7LB1WrIr9aWPxL1JJtoI3aPWdv7phZbgR050ujCB4gbYUr8v6qzMWba/Xzt4gphg3NESHZd9WY9cLCa9PNrsk+u4H+0DJxsiJ1xm4D33+IG7+7XVFk45ByPMvOtVsWEPYy8WK9QlkJR5XVmmvT1+i9q0gtQCej1oqXKl55pRBqg5xsBOghFhQsXGoMKYuX+rR8V4qTviEIDZ760H0xOejeOwg49asRo2zm28g75CBP65KcnEn/UY4puqTz6wmzDy3JMxuZF4rJobQVpTE5yVi92J7Wj1nNTb8zdwqBt/Xk2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5bmnwQkrNcCnJuANNAkj7ukxEJawDlD/nJiXWgC+bSs=; b=HFR2sXvOTlFuDfil+XwBtq4r2Ah+NWXLqjr4SRv7O4G6Q2lvbFjycv21D9fov1qvUiVyHftj2zTXbwKCYpNQ+KAQYQZEzp22sd6xi16gRzi+VpqVX5ZXLEHdbpWmxOw/qKO+1OAFNAq3jVRsYtF/FgD28kRkb+INtTqIb9b+7SSOIGw94bXiJXOhbFfuK5pIDaOnrqnVpivcsxWCSPNIcFR4k/wm09kpfY+fN8nNRXqD+GGiANXxl35tiKo5ZBUwy/bYfiy3UHmOULlydTP7c9MYPLnC8/cMOkwZ2C+L3FvDL2l5ch9EO4c0GrCfA9+Viyohqbd6h7iZbMBfqADKOA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from PH7PR11MB5863.namprd11.prod.outlook.com (2603:10b6:510:135::11) by CO1PR11MB4963.namprd11.prod.outlook.com (2603:10b6:303:91::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.17; Thu, 22 Sep 2022 11:11:07 +0000 Received: from PH7PR11MB5863.namprd11.prod.outlook.com ([fe80::b6b:85ec:5ee0:d1]) by PH7PR11MB5863.namprd11.prod.outlook.com ([fe80::b6b:85ec:5ee0:d1%9]) with mapi id 15.20.5654.018; Thu, 22 Sep 2022 11:11:07 +0000 From: "Bob Feng" To: Kun Qin , "devel@edk2.groups.io" CC: "Gao, Liming" , "Chen, Christine" , Sean Brogan Subject: Re: [PATCH v1 1/1] BaseTools: Edk2ToolsBuild: Fixing pipeline build due to path too long Thread-Topic: [PATCH v1 1/1] BaseTools: Edk2ToolsBuild: Fixing pipeline build due to path too long Thread-Index: AQHYzfsRW/rNClslyk2BeETPQhQD1K3rS/mw Date: Thu, 22 Sep 2022 11:11:07 +0000 Message-ID: References: <20220921204459.821-1-kuqin12@gmail.com> <20220921204459.821-2-kuqin12@gmail.com> In-Reply-To: <20220921204459.821-2-kuqin12@gmail.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR11MB5863:EE_|CO1PR11MB4963:EE_ x-ms-office365-filtering-correlation-id: f1c15ca9-b341-475e-c586-08da9c8b25ce x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: w8vZHN1KDhdWaPdCq+HsCwrkVCj8rXQPSN6lJaom8kPqat5dLjnNLs20vygtvrJrcRRsdSIDicFz5pA0DllijGe1coZv5e0ZiQ6QzbPxfQji/SPPul3eNWm3sT5p8pSoOU3nl1W6YoYmctxQskUfhQvZs9HUlKRf09gYZRbW8+YYFXeX5gG20hCs2JmeRb+8PQ6+/vJJGRzJxJVJqVOVzCYbsYXtMAHLlmUKdyc1f9eCmEKXvgXOuYrYXjthMzNiRIb67hjrI3mJtc5sQD/gndjt3MR8xH5EL0m1NnVQ/QsrUjR6WWfygo7z4CiYITtEJCjhUd9uBRljBXQOxDeYoRaaiNxfX5z10/d82+82F6xWR2ktzVqpJPJ8c6iRcZTR+ZxIkt7WrnZBQR4/Ic+fp4++wRyQlqCkqNjDYPZDm09PVCyG5s/1dE+iofijQHDZHiTv+l0xHwtqLVchGva/BsnLvsUqpWbIfna4fcg379shHj73EpJ5yRsUkpG1uwUhg2wKNoBL22DXBimuIX8ntmg6ystu0LHhpjqrCefMG/AVWmYeMwB8ibySD5sAqHoYKqch0E3sF/mAVTisXpOsoXKkheGBonOcdI3C4geCbBo1N7XRJVDWBPkis3RfULo/4wtBdJRo7WGfLm0EBykrTn+ZBqOM9fGQlMJs91n2b5vk37FFOP03wv1KPB4Vk0HSlt3W7YZ/mCIgZ4H63yEQlhiLrboHTE6VfRfbiWYOIhbcIlnzbp7ueTPQa8zByRHwdgCU9tD/F1rEX2/U0s8xzQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR11MB5863.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(39860400002)(376002)(136003)(366004)(346002)(396003)(451199015)(38100700002)(66476007)(83380400001)(2906002)(54906003)(122000001)(86362001)(76116006)(66446008)(8676002)(66946007)(64756008)(4326008)(110136005)(66556008)(38070700005)(186003)(8936002)(53546011)(5660300002)(82960400001)(71200400001)(52536014)(33656002)(19627235002)(26005)(41300700001)(6506007)(478600001)(7696005)(9686003)(316002)(55016003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?0c82yZXjlPNdo7bDOGBUC3irLYXB7NrEZTnpELL0NE1RMRGVO1FNyWWyg3qU?= =?us-ascii?Q?En1ANdLB1N2XgZDvB7y2HAj/iKbxT8DdfexPo0/8eZ2qEb193xyglk+sMNT/?= =?us-ascii?Q?zarxWXdZIzs57LYYwMURIN8n0Z+dHXlp0FsjMrHh3YiF7iLyIs5tOAJIALdo?= =?us-ascii?Q?M4pu3erFDYMy72fTr5y+6JFj8AZ2yKl4JRhGnhq73PKrgFyetbfZPPE79uX5?= =?us-ascii?Q?DUTrMHJb1m2mx70Bwoa9ZNs9xyIdYvHOtIz0GlQVLkkqZpQiVay9iJ8Ypf2M?= =?us-ascii?Q?Lze5Qv7osvSyQViVURontN0DBD7K3u/e9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SjiA9RMZcgLQpZ5D60GB1DbteKxpleSqv4qRz4jhux10xs3?= =?us-ascii?Q?VQicNgQWiHRjqGyTLQWMqVOWg2nwZ4z9iqifkp8y2sctdkmfqKy34amVCPnc?= =?us-ascii?Q?yQrUEbw9/FhQ0+1BXF/yJrLn8U1VgLcH31ioZz+rXITLpAqg2YiR5PtFEr9/?= =?us-ascii?Q?bsX9vjHvekYCgZjCG0+55juf7XyOBYD6c1AUrkTCBYG/iowx/grEhHai/vPt?= =?us-ascii?Q?bXCXsQe3vdN8V4kr6aB3Xeo4u4Nl7gqV7eB79n2fIdgMqwbBQ7A6KPWbQvaV?= =?us-ascii?Q?SM3NLjh9T0mg7uwlMCtRASn4OXZ46W0SbVizZ8zGU+hNG97fz4R2mdiCust+?= =?us-ascii?Q?/8lqE5XPyiW0b4cVrgnENygy2XTko8AqCkeu/+7/?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB5863.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f1c15ca9-b341-475e-c586-08da9c8b25ce X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2022 11:11:07.4573 (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: iBisUM0RA6Tq5KG1LfC+JEHiccLZVRtbUjhzU9ij+m6LlubKz48XEEElYBz0L0rSzjUh9insinABRhDe+UL0Cw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB4963 Return-Path: bob.c.feng@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Bob Feng -----Original Message----- From: Kun Qin =20 Sent: Thursday, September 22, 2022 4:45 AM To: devel@edk2.groups.io Cc: Feng, Bob C ; Gao, Liming ; Chen, Christine ; Sean Brogan Subject: [PATCH v1 1/1] BaseTools: Edk2ToolsBuild: Fixing pipeline build du= e to path too long From: Sean Brogan Current implementation of looking up toolchain will _insert_ the findings f= rom vsvarsall.bat to existing path and potentially stuff the variable to ex= ceed the length of maximal path length accepted by Windows. This change updated the logic to use the discovered shell varialbes to repl= ace the existing path, which is desirable in the specific use case. Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen Co-authored-by: Sean Brogan Signed-off-by: Kun Qin --- BaseTools/Edk2ToolsBuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Edk2ToolsBuild.py b/BaseTools/Edk2ToolsBuild.py inde= x 1ea8187de693..f862468ce275 100644 --- a/BaseTools/Edk2ToolsBuild.py +++ b/BaseTools/Edk2ToolsBuild.py @@ -122,7 +122,7 @@ class Edk2ToolsBuild(BaseAbstractInvocable): for key in vc_vars.keys(): logging.debug(f"Var= - {key} =3D {vc_vars[key]}") if key.lower() =3D=3D 'path':= - shell_env.insert_path(vc_vars[key])+ = shell_env.set_path(vc_vars[key]) else: = shell_env.set_shell_var(key, vc_vars[key]) --=20 2.37.1.windows.1