From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 587F34574D; Tue, 6 Aug 2024 15:42:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E34242F65; Tue, 6 Aug 2024 15:42:40 +0200 (CEST) Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2057.outbound.protection.outlook.com [40.107.104.57]) by mails.dpdk.org (Postfix) with ESMTP id 6D9BB42F1B for ; Tue, 6 Aug 2024 15:42:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=F/D0f0PJJpyGvHZFsKUa65FbS54MeCH76lcpJWVRLUK3SMFL+uSaYPQnIVHh8YgbfF5Dp2tP1FdFrib5CUFsS959RsAoa8smZuIfUhZzdOJVGYrW91BdsQVtLnWZZXvquUf/kiY+hig6X/n8yy3ZnEAR8BnPTDKT54PTd0r1j4uq5VBcBAAk87KLC54bHhkKNJhDYpmJee7HeXTwXoq4xTNzJq5LDt+2Hx3k3q/TO/QqZL9W3+2D7SW/mv6bgjXYabxvhSO3mYyDFHU7WRpjYid2C7n9YrOWzIjTjtnfVsWe5n4oWDW5ewz8Ay3QXqBKsLFZo1RpEzNK8Ya9PxkPag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=+8SymFCDZLjZGn/JObFCdRHf+9zWIwlkelPGrRIZ6nM=; b=wdlpQ6wZ6tboWExQxSGBig/DKyS85pU4HqrkUM4685thYuTFtSM9/MPFKrf7bNN4IsJl5Lznmy7udSW6pYJuRUnSfSLaBAUa5ueTsKKjUGXY1ZdA0zu0Bq4rRvPIVKf8U7mjISmJPe4pmmKnOzcRsnaUpMjaZLzgjF+81ICf7oBjvCwZQAc+VU8KdU9c6pGTsE9y6YU9fVEoYTdmqoW2W4r0M7i7b0ZAYVEB8X9c4URxL602Z/bDOvniGOhcrahMmfpOccTKipCLfz1Hy+WNMk24/FeWNyNgFJRyurVOI6zCB9MGFVd2+DoDeerIRVP18bOf6i/DBiqKSy537YBLhA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+8SymFCDZLjZGn/JObFCdRHf+9zWIwlkelPGrRIZ6nM=; b=DFSyNHb5PrJOB5TCPsP9R9M+VX4sVbfjWIP+ramMGCtaG7fqoxYia2rXqJ7qXT+0vHZ9LExJYprvSp0bvNugSkvKLwjF53QBq3beHZh5KrXswYZahjWklNyYYsNQx+ZHBo00sR1nBUGFvG16hKnxGquCXKLxSB08GG0M17NYjWmNKOoX1BHYrRse10lAijWeVD9jWS/qHi+a/vkhTt8Gc7gw19YKQYViGW5RVdP/Dciykx9qXTfqeiqN0L0oV0FXlsGftmwqqt3uA7FWN/tmAbvxSTFUjSgchtVhdeEmjeeuF4m4QnZf0lhH5UdSU849+EcdT7P9TR7DlE19brvCcw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8SPR01MB0024.eurprd04.prod.outlook.com (2603:10a6:20b:3d0::24) by DBBPR04MB7900.eurprd04.prod.outlook.com (2603:10a6:10:1e8::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.26; Tue, 6 Aug 2024 13:42:37 +0000 Received: from AS8SPR01MB0024.eurprd04.prod.outlook.com ([fe80::c634:479e:8f8a:a325]) by AS8SPR01MB0024.eurprd04.prod.outlook.com ([fe80::c634:479e:8f8a:a325%7]) with mapi id 15.20.7828.023; Tue, 6 Aug 2024 13:42:36 +0000 From: Gagandeep Singh To: dev@dpdk.org, Bruce Richardson Subject: [v1 3/3] meson: skip symlinks to PMDs script on no sub directory Date: Tue, 6 Aug 2024 19:12:18 +0530 Message-Id: <20240806134218.3619913-4-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240806134218.3619913-1-g.singh@nxp.com> References: <20240806134218.3619913-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR02CA0004.apcprd02.prod.outlook.com (2603:1096:4:194::14) To AS8SPR01MB0024.eurprd04.prod.outlook.com (2603:10a6:20b:3d0::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8SPR01MB0024:EE_|DBBPR04MB7900:EE_ X-MS-Office365-Filtering-Correlation-Id: 84c1a6f9-83e5-443f-61c2-08dcb61da1e8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|376014|366016|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?mTzlPrRXkK83Y5x15VjMIaOUGTL2Chkt4OxflMy+adPKpllM3kh/K9nQ+txF?= =?us-ascii?Q?j76mcmZtgFzxp/R05rZ1aU/okVi5uqMQw5CG78Crusm5F/F4LV3XTFYGtirZ?= =?us-ascii?Q?OvZFyQE1SdUHljpZhDK2RnlinETPmTW6ZxK194+COTKyWi8sX8+DadG3mhOi?= =?us-ascii?Q?4W2DhTl0YEu6UJd4XF2gjFYA0wG1o0fhuCjniYNu6n1P/nVFkH+JYmYoe48j?= =?us-ascii?Q?7Ax0BjabWNyoMNHHy+lq2tVyplpODi+km6eiItdtUXgGiRx2kh8lP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IrYHavsDE2CBW/mF1z32HX8FHLrOdmiTLhHfX4m45Jdd1ebvHx37l?= =?us-ascii?Q?X6T8mbdN54xWkoiL321gYzDKn0FiEh345OKYjdkFQ4jlFmcFju02Zvbfbcca?= =?us-ascii?Q?SP3KAtEeKkTsHyZwIdq4nxgQ9c1OHUiqglE2UOvgIPbTZSvacRNG7FK7Urrf?= =?us-ascii?Q?e8qeq2GLr3zo3Q860/xQ5eIjMwVJjC0LDKhjXBQqGlnzLjQGzG2u1/CHxgf8?= =?us-ascii?Q?eutausoqp14ClFht9qsvweva5o+aY2Xd2npJsY+U2EaUkL3Yxw=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8SPR01MB0024.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(52116014)(376014)(366016)(1800799024)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?KghA/3OkUbX5iZm05hzwisk2ivn36SijYiUGuWOw1jOliJd8BF1I96ccv3nz?= =?us-ascii?Q?Xbqat26Wgc6Vz23TLDrP+fgJhXQAPOzIek3kbpg0C0F5tcLfJR4RBjsgQiGp?= =?us-ascii?Q?QNANuCjID5/6GGFTj4zLnh3FAjb6ntDpc2ggc7PzUdqYcgdclWEpPAUEfwu6?= =?us-ascii?Q?PXrYMXyC34NexplOgzx7UGEc3ui7TP5AZztZq96bPQrKskt6JCPHnm7pO9U1?= =?us-ascii?Q?jjiIZ3YDqV1U/vX0AZtvrYg46pXjdEEH7GDOo63xzQjWzLBQnok/rd4f3cZl?= =?us-ascii?Q?+DWCaGfMkV3bzUHDAa49qHPuHf5HkxF8qerIZRObuNKtXOFaeP2TRs1A9YOe?= =?us-ascii?Q?k5+Yf3qV+9tiJ0C4wCEn0MpzdOY9r8OCZaneAFzUMxUMS9vD2rH6oY2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aDm7zO+t+itH0qXnQdndSF4DnIq6SyB63RN17?= =?us-ascii?Q?tP9a5hhA152v2PKCsMwi01arttay1bFxEfwrNKulKaSSgPczq0dZegZibk3H?= =?us-ascii?Q?xAYOxU8LogqoF9e6idHPcfLNcLM+iFD9MH6glgfhrJSX/+VjpK60/HtpXRiU?= =?us-ascii?Q?uGMcswrONQ9uyaE3vwhmDSkhBFEarRrXMIUJ+5Fgezp1hvBzQT2R3Dc+cjGH?= =?us-ascii?Q?YQzJNBZEcDnHoBXGfpepv7+Q5lvRnwzqM2z/IDbFcQlDtbDG6e6pjbElFfvJ?= =?us-ascii?Q?6sYeNZQtmIJ17ah8JFM1r22G34dVILW9o8cZT8Ky?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 84c1a6f9-83e5-443f-61c2-08dcb61da1e8 X-MS-Exchange-CrossTenant-AuthSource: AS8SPR01MB0024.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2024 13:42:36.8442 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9Fx0N5W8NADUptcsC0/3ZWEDV/mGVS2KYizdhbR9F3gJYqd5gXCiMROE2+pANFxD X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7900 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org if user gives option -Ddrivers_install_subdir= or -Ddrivers_install_subdir=. to install all the PMDs in parent directory, The post installation script "symlink-drivers-solibs.sh" can create invalid library file named 'librte_*.so*' or meson installation errors: ln: './librte_*' and './librte_*' are the same file FAILED: install script '/bin/sh /home/nxa12342/upstream/dpdk/config/. /buildtools/symlink-drivers-solibs.sh lib/x86_64-linux-gnu .' exit code 1, stopped FAILED: meson-install This patch removes this post-install script execution to symlink the PMDs libraries when no sub directory is given. Signed-off-by: Gagandeep Singh --- config/meson.build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/meson.build b/config/meson.build index 8c8b019c25..4c1c6848ad 100644 --- a/config/meson.build +++ b/config/meson.build @@ -95,8 +95,11 @@ eal_pmd_path = join_paths(get_option('prefix'), driver_install_path) # e.g. ixgbe depends on librte_bus_pci. This means that the bus drivers need # to be in the library path, so symlink the drivers from the main lib directory. if not is_windows - meson.add_install_script('../buildtools/symlink-drivers-solibs.sh', - get_option('libdir'), pmd_subdir_opt) + # skip symlink-drivers-solibs.sh execution on no sub directory + if pmd_subdir_opt != '' and pmd_subdir_opt != '.' + meson.add_install_script('../buildtools/symlink-drivers-solibs.sh', + get_option('libdir'), pmd_subdir_opt) + endif elif meson.version().version_compare('>=0.55.0') # 0.55.0 is required to use external program with add_install_script meson.add_install_script(py3, -- 2.25.1