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 D51CF459D7; Fri, 20 Sep 2024 12:36:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F1A764340F; Fri, 20 Sep 2024 12:36:41 +0200 (CEST) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2042.outbound.protection.outlook.com [40.107.22.42]) by mails.dpdk.org (Postfix) with ESMTP id 5DEC440275 for ; Fri, 20 Sep 2024 12:36:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ym34YFdH0he2EIelCP7AdZ3UpBYtnFKd4Pd+9xZq+sUwiLGLE8m+PjhhrPM/4yU9HZ9tJfG5IGWAtHVtltwDgCsz6369BHlg+z/9pQZD5tinGLikVQ9hy8g4MrQb3bGcP+4HmQVeqc48BAc9WWng5aYSG3ah6VO0Eo9P489btboRR9uYf491iSuGs8DttCffQ1gZFQuTXbbmjm2nj2EBcEvLfPBEy4yQlrmXZfv7yzVmFTu6BuNPr8A/sXUBoQWufSbYdJUDsQuLJEfnRn0HE0RNxqrL4IXSbGvGQyZ8rWjss2RhZG2WjRR5G4YX2WYzlwksER2/K6+vASJt3c/WgQ== 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=23clX1/AyXmHbyL3fRkxMTKWEuhvVtnGGoXL9xRA8w4=; b=WmjVCG/7PFxgcT09KPGRX75h5FZcgshplrDYIMf9YCcWx41OnhD40bIr9M8xma/nmxUQKIbopPdamyZx3AuJwYTmwS8kGgEUyl/DkBXeJNnwUXSQOjGEqJG47YY/zwiryXwQMakG7BHJEj34eXTsocLawAU4cAKHKg2ugFmyVKFcYPR0/SfkTFjEaiA7D1Gzzytoeueax46SiPm21Tg+S8NkCV0K7Goh+v0PXOGke9I1WpzhSDo2SUTtWZoY9pszQDiH1WVQV5pUzf4jdobE/jZHNQok5CxXXmz9hiahW+rhfquzw4YF+MsnlYixSDbGC0OwwnCp6897crHK6FKlkA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 192.176.1.74) smtp.rcpttodomain=dpdk.org smtp.mailfrom=ericsson.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ericsson.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=23clX1/AyXmHbyL3fRkxMTKWEuhvVtnGGoXL9xRA8w4=; b=PIHZnX8hbSBEsioxNM/siXu/Ggkw4B+yhDVvLS+nogPxnfCZSuY1rlnObNqVER7lFwYwG/dXsFup2OreAFRnaevcnK3Q5jHQJiMOKi5UjkjorB7+ylQyN0/meT4wuHT7iPeKCHNChM2Ke5BA81dF5QhCtLEV0Mw1YkzIp7eWRN9W0fbkp3QNjDengFzOgLZJSQySBsXoDfsUAq3d7weBeR4g66FeKkOas7lOlybPguQRPK3qRs7yAa9V213P1C3Rj/wY2RhkZLSG0yMq/E8ArFTOAsI/6KFW+D8dJwymWPG7b2ADG+6iqfJCmYYnsfyB3LbXNtKd8F5brS3+TMxD7g== Received: from DU2PR04CA0262.eurprd04.prod.outlook.com (2603:10a6:10:28e::27) by AM7PR07MB7044.eurprd07.prod.outlook.com (2603:10a6:20b:1b9::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.16; Fri, 20 Sep 2024 10:36:35 +0000 Received: from DU2PEPF00028D08.eurprd03.prod.outlook.com (2603:10a6:10:28e:cafe::5c) by DU2PR04CA0262.outlook.office365.com (2603:10a6:10:28e::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.30 via Frontend Transport; Fri, 20 Sep 2024 10:36:35 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 192.176.1.74) smtp.mailfrom=ericsson.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ericsson.com; Received-SPF: Pass (protection.outlook.com: domain of ericsson.com designates 192.176.1.74 as permitted sender) receiver=protection.outlook.com; client-ip=192.176.1.74; helo=oa.msg.ericsson.com; pr=C Received: from oa.msg.ericsson.com (192.176.1.74) by DU2PEPF00028D08.mail.protection.outlook.com (10.167.242.168) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Fri, 20 Sep 2024 10:36:35 +0000 Received: from seliicinfr00050.seli.gic.ericsson.se (153.88.142.248) by smtp-central.internal.ericsson.com (100.87.178.60) with Microsoft SMTP Server id 15.2.1544.11; Fri, 20 Sep 2024 12:36:32 +0200 Received: from breslau.. (seliicwb00002.seli.gic.ericsson.se [10.156.25.100]) by seliicinfr00050.seli.gic.ericsson.se (Postfix) with ESMTP id A46E31C0079; Fri, 20 Sep 2024 12:36:32 +0200 (CEST) From: =?UTF-8?q?Mattias=20R=C3=B6nnblom?= To: CC: =?UTF-8?q?Mattias=20R=C3=B6nnblom?= , =?UTF-8?q?Morten=20Br=C3=B8rup?= , "Stephen Hemminger" , David Marchand , Pavan Nikhilesh , Bruce Richardson , =?UTF-8?q?Mattias=20R=C3=B6nnblom?= Subject: [PATCH v6 6/7] ci: test compiler memcpy Date: Fri, 20 Sep 2024 12:27:15 +0200 Message-ID: <20240920102716.738940-7-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240920102716.738940-1-mattias.ronnblom@ericsson.com> References: <20240724075357.546248-2-mattias.ronnblom@ericsson.com> <20240920102716.738940-1-mattias.ronnblom@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PEPF00028D08:EE_|AM7PR07MB7044:EE_ X-MS-Office365-Filtering-Correlation-Id: 8dc49d32-cd63-408f-5c64-08dcd96019cf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|82310400026|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: =?utf-8?B?enRrbGp4Nlpka2RXYUxmei9RVmRvQkJyRHVUaFJaMEp2eGQrWmFHSEN4aGRF?= =?utf-8?B?Z3N6aWVIek1DSlg4d0VhMXRHYkZVRkl0OWhibUliVGZRTmd0dFRFMGoxZm1y?= =?utf-8?B?U2xaNFhNajk1dUM0TW1GTVEyY3pjdXNZaXRyK0VJY0ExWVBFcjRjY3NWSHQy?= =?utf-8?B?NW0rcFdaRUdDR0U0QVhkazlrZ0FzNWNYMXJaNkFkVzNYZUl3Y21WcVEzTXJm?= =?utf-8?B?bDVLQkp3TSs1dTJBU3lCaWRmdlM5UGM0NFU3cUVIbnZUaWVsNGRBZlFqQUFw?= =?utf-8?B?THh4MVBweUdvVmVlRjRhSlNKV2dQU3ZydkZFWjJtRWd0WnRtNHM4ekJxSUxU?= =?utf-8?B?MHVQVmRTU3FOUEtIYU50MVJpZGdFZlZpUEppckV4R2VKMTBnclJPQVpEZlBM?= =?utf-8?B?K3kwTGx1RWYySmpHRTMyWmFhcXFOZlpMV3k4d2IvU2xhNEtZbmRBZGxXb2Uw?= =?utf-8?B?THpNYWM1aGFNYjUwQnU2eUFtL3d2YkZzOUcxWDczWmlyOS9ScWxxRldmeStk?= =?utf-8?B?RTRWeDFKMVgxdjZ1aVRDdmRwRG5YUTh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V2SnljT2JZbklUcUNUdE9jd1hZSGhkaStoejZyS3k2c2FP?= =?utf-8?B?VEI1dm96ZFYzNjJtSE1yOWF0eTlxRW1GRk5XVDBJZ3g4aE42WE1uU05TN0ZG?= =?utf-8?B?WVNQSVdEc2NHWm5FOS9YaXpTMm55WVdJWUQ1STRmVTRJN01HYytTSmd5ODBq?= =?utf-8?B?MVFsOGV0M0pnSTU3cys5b2t2eG9hWGprZ0NONlQ0N0hEbVlXK0kwdEpQRmYw?= =?utf-8?B?UmhiclFvQ25lV1pUYzdWMEI2VUQ4ZEN3TEdzaFhSUUNOOWE3VC8vbUc2c0sy?= =?utf-8?B?RHFTYU5yZi9BTVVVL2tIaFRjM284VytUS3BlSjAxbUdyNnVLWW1KbUVmNVF5?= =?utf-8?B?Mld6ZngwMEswakVjNTlhbjlFUnArdHl0b3BUQU56MUpOOTdXbnNZTkdqbGwv?= =?utf-8?Q?oBnGU93dTUBxd?= X-Forefront-Antispam-Report: CIP:192.176.1.74; CTRY:SE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:oa.msg.ericsson.com; PTR:office365.se.ericsson.net; CAT:NONE; SFS:(13230040)(376014)(82310400026)(1800799024)(36860700013); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2024 10:36:35.1938 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8dc49d32-cd63-408f-5c64-08dcd96019cf X-MS-Exchange-CrossTenant-Id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=92e84ceb-fbfd-47ab-be52-080c6b87953f; Ip=[192.176.1.74]; Helo=[oa.msg.ericsson.com] X-MS-Exchange-CrossTenant-AuthSource: DU2PEPF00028D08.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR07MB7044 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 Add compilation tests for the use_cc_memcpy build option. Signed-off-by: Mattias Rönnblom --- .ci/linux-build.sh | 5 +++++ .github/workflows/build.yml | 7 +++++++ devtools/test-meson-builds.sh | 4 +++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index 15ed51e4c1..a873f83d09 100755 --- a/.ci/linux-build.sh +++ b/.ci/linux-build.sh @@ -98,6 +98,11 @@ if [ "$STDATOMIC" = "true" ]; then else OPTS="$OPTS -Dcheck_includes=true" fi +if [ "$CCMEMCPY" = "true" ]; then + OPTS="$OPTS -Duse_cc_memcpy=true" +else + OPTS="$OPTS -Duse_cc_memcpy=true" +fi if [ "$MINI" = "true" ]; then OPTS="$OPTS -Denable_drivers=net/null" OPTS="$OPTS -Ddisable_libs=*" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f7d3affbaa..8c52864294 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,6 +31,7 @@ jobs: RISCV64: ${{ matrix.config.cross == 'riscv64' }} RUN_TESTS: ${{ contains(matrix.config.checks, 'tests') }} STDATOMIC: ${{ contains(matrix.config.checks, 'stdatomic') }} + CCMEMCPY: ${{ contains(matrix.config.checks, 'ccmemcpy') }} strategy: fail-fast: false @@ -45,6 +46,12 @@ jobs: - os: ubuntu-22.04 compiler: clang checks: stdatomic + - os: ubuntu-22.04 + compiler: gcc + checks: ccmemcpy + - os: ubuntu-22.04 + compiler: clang + checks: ccmemcpy - os: ubuntu-22.04 compiler: gcc checks: debug+doc+examples+tests diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index d71bb1ded0..e72146be3b 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -228,12 +228,14 @@ for c in gcc clang ; do if [ $s = shared ] ; then abicheck=ABI stdatomic=-Denable_stdatomic=true + ccmemcpy=-Duse_cc_memcpy=true else abicheck=skipABI # save time and disk space stdatomic=-Denable_stdatomic=false + ccmemcpy=-Duse_cc_memcpy=false fi export CC="$CCACHE $c" - build build-$c-$s $c $abicheck $stdatomic --default-library=$s + build build-$c-$s $c $abicheck $stdatomic $ccmemcpy --default-library=$s unset CC done done -- 2.43.0