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 C347FA0548 for ; Sun, 28 Nov 2021 15:59:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BC1564274C; Sun, 28 Nov 2021 15:59:38 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2061.outbound.protection.outlook.com [40.107.92.61]) by mails.dpdk.org (Postfix) with ESMTP id 4D0E240FDF for ; Sun, 28 Nov 2021 15:59:37 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JahU2D8FRohnK+IVzyJmKELZNESAfZoQad/1rLmwzmdL54YDHJfhaUyqckZ9w9E663e2e9PSF59KVg0QjlE/3AprH7fa1t26tl+txvOx55OhW/UvWFElI2i2Jy9yrjyuZb99C2NTVmAT+NS2FO7rVXkVqn+KkaatDTAs7UJle8+ZYvXBrSFIsb3udPmUNgAM2wdEOvAm2Hmhuw/GWyKDaL5pizUOXkabGv/7SQY8A9EEOPKVnqZwCs10saCFZDAELJiIGRegrXViB9ZhXFY6CLXpt2SaGdWQ0tHR0RAP3Wc8xfxM619MUgMISI4aZrIXJuNoAroLx5qGZaH6lzGJpQ== 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=SNhyENhGY2ZO94BqDlny2NDFm2b8JrqIwmNRbjVPrS4=; b=GyZFyRQf+px0aQse/Y4EPM3JQlLVrXWbejMxBpmx1YVmjlRBMXelY2Mzjij3Dyq3REBR2zYqtdSL/MgH5VPsZU8PTED8rsUzSgmqHmyh3w/vL63tMYcRAZErJ/S3ag4Rn5qHs8EBKf75uf8jknS/n5r9m93qWwN7j4d0YXnwW27/r+gsQtUs+VQR9YrvDWmu2ydhbh0ALRn87+ipgwj6lIv1U58IR0/k76lxH48edoY+GE35ZqG3G4NDM1P+e9Vf9f/mP1g+IX2w8C+hUiOQW4HdHUS2eYvWR1/z7pfkDi50vcIHZKVEGp5O2Y1n+UtoUcNQi3etDSg1B1sYnTodPw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SNhyENhGY2ZO94BqDlny2NDFm2b8JrqIwmNRbjVPrS4=; b=nGaS1LdGnjFZOrKjsiJPm1eIuaskXl+bJ/Y0eXnBCBvo4tcNWFm6JJFnFgiakEuB8p2b9MN5ZELoysXCzboJxCkNAbQ52hWBrEwJ3aEd3+OW51qHhHzSq7W/4HGyrquO+L8s4bI4bmojB2n58yEph5+K5g8KSNQKfd6zgbaaiwAe3LHAtuWFvgXBPBU8YNc3cJ2RlpDKEyhqrWXlb0yfDQyl1e9bsAXLU7C64ASRpr6Vgop1ppbpR2ZblW7ZtqUG7TE3TTHSk6uKlJWnyd7DViiaWjfqLQaACv32+3fAFNt5jCgshW7z4OFytkCP3j7RsFVwzEr+bb8vnu/4WX2tng== Received: from BN9PR03CA0728.namprd03.prod.outlook.com (2603:10b6:408:110::13) by BL0PR12MB5524.namprd12.prod.outlook.com (2603:10b6:208:1cd::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.20; Sun, 28 Nov 2021 14:59:33 +0000 Received: from BN8NAM11FT004.eop-nam11.prod.protection.outlook.com (2603:10b6:408:110:cafe::24) by BN9PR03CA0728.outlook.office365.com (2603:10b6:408:110::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.20 via Frontend Transport; Sun, 28 Nov 2021 14:59:33 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT004.mail.protection.outlook.com (10.13.176.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4734.22 via Frontend Transport; Sun, 28 Nov 2021 14:59:32 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sun, 28 Nov 2021 14:59:28 +0000 From: Xueming Li To: Bruce Richardson CC: Luca Boccassi , dpdk stable Subject: patch 'doc: fix Doxygen examples build on FreeBSD' has been queued to stable release 20.11.4 Date: Sun, 28 Nov 2021 22:53:46 +0800 Message-ID: <20211128145423.3974892-43-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211128145423.3974892-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> <20211128145423.3974892-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 89a15e50-488c-4ad3-c8a5-08d9b27fb009 X-MS-TrafficTypeDiagnostic: BL0PR12MB5524: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EXphXVA5lAMhzlyQdS1Rz/mpejO6JT7KFfozSVgYvtnmDLkTVDSPJbxHlfXALH8oii6fwO2c2ZrmFxlHrNQsIXZTIrJLB+iRnvjQOsOrZlRm9GSIsuPhpjyR+NOOVS9ckrbP76Lw7KRSYk3pUQhmLZPNhArtI8yVTB4jyY/84eOWcR8YiH5DYBRYbhRF11HiUypTrOAVJkkYDT0V9IZVHdRUIzQGxxyad7yDQqVYYZqGbI8FV3jhtlVZN/8tJXkp1jg04Uy8st2Twl7Djfly7yt3sGjPbYLPW3LWwsrMW7sd/3XUINjWsQzojqbvkQ1+UGOSQRx4gk+yW5T1jTcldPmBas5EIhU+Tv0eamHT2CKc1ZgUMzojBT6uq7l/TNTjbj9mTndnJVOwnVTj6hew7QZbI0OGOyzUu2IhxwweZvk1jDw//ynVTgx3bUoY09Ft0jigzZCnXt6rY5fy4WZ1UFUXxOKL1WqNmVsP6VBTGPvwVsPhtv9NQCoWnmzJ0EcJnmQur4gSrW9FrCVJ7XVl/15jtQ3itmKcNhRCQ00pZyI/aqj2I8rJAt7hm03TU2QM5iRYWeiAXkksht6kRj6kpZ5B0Att7V1kblUjFPpOV/w/nEXew0/SIYHYJvGP8qt15eYSD4rZ618lvwJQVr0spyYOgI7G1xhN7TQobLw+q36NqMYHELBffj1NHcbnOLfYc+esnRA4qHDRJDaPrudau8nEprd8H/DyC/dbEu5VfiacJ6BR84jlhoSjNWAeXYJkHWHWtGfCMdbwS4rhtiHsERTszugtP4AjMJiSMpe0j1tFBXjpwn2egQ1RRDyfYl7rugRf2SLsIl1bi3gwzk9WGg== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(4001150100001)(36756003)(16526019)(356005)(6916009)(186003)(55016003)(54906003)(2616005)(7636003)(7696005)(2906002)(316002)(82310400004)(53546011)(336012)(8936002)(5660300002)(8676002)(426003)(1076003)(26005)(36860700001)(86362001)(70206006)(4326008)(966005)(6286002)(508600001)(47076005)(6666004)(70586007)(83380400001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2021 14:59:32.5552 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 89a15e50-488c-4ad3-c8a5-08d9b27fb009 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT004.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB5524 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 20.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/30/21. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/6382840ec2d183faec901892f24cb85c730d1926 Thanks. Xueming Li --- >From 6382840ec2d183faec901892f24cb85c730d1926 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Wed, 15 Sep 2021 18:36:33 +0100 Subject: [PATCH] doc: fix Doxygen examples build on FreeBSD Cc: Xueming Li [ upstream commit 897e55c8d27f7c69cdc0c330deb67d15bd0b583d ] On FreeBSD, "find" does not support the "printf" flag, so we need to use "gfind" from the "findutils" package. Fixes: 8260f4f98cfe ("mk: use script to generate examples.dox") Signed-off-by: Bruce Richardson --- doc/api/generate_examples.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/api/generate_examples.sh b/doc/api/generate_examples.sh index dae7ee0be0..3e08236596 100755 --- a/doc/api/generate_examples.sh +++ b/doc/api/generate_examples.sh @@ -5,12 +5,22 @@ EXAMPLES_DIR=$1 API_EXAMPLES=$2 +FIND=find +if [ "$(uname)" = "FreeBSD" ] ; then +# on FreeBSD, we need GNU find for "-printf" flag + FIND=gfind + if ! which -s $FIND ; then + echo "Error: need '$FIND' on FreeBSD. Install 'findutils' pkg" + exit 1 + fi +fi + # generate a .d file including both C files and also build files, so we can # detect both file changes and file additions/deletions -echo "$API_EXAMPLES: $(find ${EXAMPLES_DIR} -type f \( -name '*.c' -o -name 'meson.build' \) -printf '%p ' )" > ${API_EXAMPLES}.d +echo "$API_EXAMPLES: $($FIND ${EXAMPLES_DIR} -type f \( -name '*.c' -o -name 'meson.build' \) -printf '%p ' )" > ${API_EXAMPLES}.d exec > "${API_EXAMPLES}" printf '/**\n' printf '@page examples DPDK Example Programs\n\n' -find "${EXAMPLES_DIR}" -type f -name '*.c' -printf '@example examples/%P\n' | LC_ALL=C sort +$FIND "${EXAMPLES_DIR}" -type f -name '*.c' -printf '@example examples/%P\n' | LC_ALL=C sort printf '*/\n' -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-28 22:41:05.526215477 +0800 +++ 0042-doc-fix-Doxygen-examples-build-on-FreeBSD.patch 2021-11-28 22:41:03.323540920 +0800 @@ -1 +1 @@ -From 897e55c8d27f7c69cdc0c330deb67d15bd0b583d Mon Sep 17 00:00:00 2001 +From 6382840ec2d183faec901892f24cb85c730d1926 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 897e55c8d27f7c69cdc0c330deb67d15bd0b583d ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org