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 A5FCD45698; Wed, 24 Jul 2024 10:22:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 48F3142EBC; Wed, 24 Jul 2024 10:22:17 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2063.outbound.protection.outlook.com [40.107.21.63]) by mails.dpdk.org (Postfix) with ESMTP id 483AF42686 for ; Wed, 24 Jul 2024 10:03:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=StuEuwMuXqJXRdLUYQ+0ljSL9f+/DkBG4ELmTOKf3yPOKW6xodXr0oqXJAm16z5b2XLDYM0a0bCD70fZuxSfc4UEjOydwW5FWOwef3NGngF1p/tfxhi/1Ifki3HESkSo77dGLANJCaODPnC2a7hm73x349yQrC0Da+7485qMBAQDqP4Yf6UdijPcvFugPjBXwfGJhwVqh24uoMspJKckhI+9dhdm/SZLn3WsuBtAUs1vPCLEQ+20mPW/OHUl4qZrznuZdc86nNas/V+HBzAh04ZiioK24Coe3x+VeP4eVRl8pW/dEIcMI/j6DdED/0nGvy8C5J9DwrTWEGXFS7QGDQ== 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=7EPUCyv3DePc0tMiaEO6lQjHqB4AZOwXDxYcnUfTTUQ=; b=JfEg/0krxgmGI4MEubFbKNeNq6niv7d8IHxR4oemakpRCR52d1mEVr8rbaRHcE2jrgbJn6svo1U8hkUA0j58rnb7yEkFRuudY0JtCTMAC4RFYbi+AX6htXH6dO6daE8v1iPU6WYnUUkNY9V/VBkOTWF471wpSQcl/odh+UbsFyIGOCJmpgX21SqJKall/VsOaE8GkJtYI66Ds9o5E7vFzGe9UrubWvPK21yoa+byUjkipmt/eeU03mVEPLSQJndRscEoj3fPvaXGsNDDU0TvOh7mqk1w7H0zgvORwm3WWmfSuKAxGWawylFZgHAKu3DD5RVdtNs3uvyXFjRTRi6rDw== 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=7EPUCyv3DePc0tMiaEO6lQjHqB4AZOwXDxYcnUfTTUQ=; b=yzj5VF+IUFHOL6rYuwG0or6X0gXXMwQ+pSGoXx3DbPMS7FIA+o8sankN5Gk+P32/bbg1WWf4Gwj0VM9KYNnILEGo82t1pJim7xhVMewgTLa2HUhHXgqNjUw8xRMKt5ISv0oJs7LuKtkmOwJ32OYvqa5Oqm1gB8HBEZEYmU85MXEhzcQpSsdVzmJGgLKHqnCpJgHb3gbNid80XPuwJ9wSvXQ7qzQFataLJw7cODteFWXt/HqcJQ1xb4rKYRfgTqsBcBur7tIkrd3liC15Pheu7Fuq8KZdMCy+uadAnozlD8bqCYojw4n2gxPZs3UoNg+ri5Hu1nNpUP1sMtTt2axkOw== Received: from AS4P250CA0014.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:5df::17) by DBAPR07MB6518.eurprd07.prod.outlook.com (2603:10a6:10:182::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.9; Wed, 24 Jul 2024 08:03:42 +0000 Received: from AM2PEPF0001C711.eurprd05.prod.outlook.com (2603:10a6:20b:5df:cafe::df) by AS4P250CA0014.outlook.office365.com (2603:10a6:20b:5df::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.18 via Frontend Transport; Wed, 24 Jul 2024 08:03:42 +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 AM2PEPF0001C711.mail.protection.outlook.com (10.167.16.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.11 via Frontend Transport; Wed, 24 Jul 2024 08:03:42 +0000 Received: from seliicinfr00049.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; Wed, 24 Jul 2024 10:03:41 +0200 Received: from breslau.. (seliicwb00002.seli.gic.ericsson.se [10.156.25.100]) by seliicinfr00049.seli.gic.ericsson.se (Postfix) with ESMTP id BB59938007F; Wed, 24 Jul 2024 10:03:41 +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 v5 5/6] ci: test compiler memcpy Date: Wed, 24 Jul 2024 09:53:56 +0200 Message-ID: <20240724075357.546248-6-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240724075357.546248-1-mattias.ronnblom@ericsson.com> References: <20240620175731.420639-2-mattias.ronnblom@ericsson.com> <20240724075357.546248-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: AM2PEPF0001C711:EE_|DBAPR07MB6518:EE_ X-MS-Office365-Filtering-Correlation-Id: 90e4bc6c-c366-470d-e6fe-08dcabb7227a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|82310400026|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?UjV1WWhtc1J2QlZCbEl6TDYrNmszWTRIWlhhY2ZPSXNrbE5oOUZyNkptRWcx?= =?utf-8?B?a0Z2T2Q3bUg3UGxDWHE0bkVZaDBXdlY1WWRvZXAzV3FLU29oV0l0a2RPczZn?= =?utf-8?B?akFDcDdZcnRTaXNnNE8vY0hLNW1mY0d5ZUtiOWtNYjloWEtndkw5VERwT3Vz?= =?utf-8?B?QTV0dStYLzhwcHViUDhESUUraVpLYmM2VmhrTTRuUkhJcVBiTzdLRHJPbXZS?= =?utf-8?B?Wi9YWnhBYnNuaERadGVUaFM3U3NrT2VHbGlGTnB1UlFhbEZkVno4M2J6K3pN?= =?utf-8?B?cUtBWHA0UmtJdDNiUE5iUzk0ZS9rQUJuTlB4NlhZblRxb24wOGwzbEU5Z1N4?= =?utf-8?B?d2VIMWJudmM5V0dxbFU2Q1JtaHhYZUEvNFpHT2FWU09YZW5ObUVDR3BrTlcw?= =?utf-8?B?dkNtY0tOUUVHSFZBMzZRR2pFb3Z1dDYzVjVKMFR2WDMrSDNTTE04bG9FRmYx?= =?utf-8?B?d3NpZldQSEZMdDZ4K1g0RlB2dTFqcE9GNGd1TzZJajNISXFJZEVrd0p3MkRB?= =?utf-8?B?UHl3OEg5WGg4dHhVRDcyYX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xbzN1cG1BNi9IL2JoeExyZGdmV0YvWllOYmdVcjYzUktndDJCV05J?= =?utf-8?B?NDhJdStoSHVaeUdFTytGZitNc3NJRWEybm5CZ0ZDRDFDdW84T0d1V0RUMXZx?= =?utf-8?B?ZHJoSzBsMTY3QXB3UklDZStPa0NkdXFpTnk3YTE4Smg4SG5sYUlpK1UyZU1X?= =?utf-8?B?TFlUNVdsTk41YXVBYmlURmlRUytDMXFkYnYyaThTQ2g3US9IbVgxdm5ucVhn?= =?utf-8?B?T1VwendhTy9DeldzZmFWZ1dxUzM0dEU4ejQrYnNDS0g2Zy9QbDBaNXlpdi9G?= =?utf-8?B?S2EwajVyN2NUNXhxUmorWG5LMVFzWmYvRlVXRy9QYnRQZkNtZmdwd3NzS0hK?= =?utf-8?B?Mmt1RlB0NksrQlErampjckJZMDB5Z1BCcG9PaTNabmFCNUoyN3JPMEc4a0hr?= =?utf-8?B?b2lDcC9ZS0V3cmQvWVZYdVpYQkY4TmlpZlZ3TlVBcEJwb1ltSWcxaE4xYjdj?= =?utf-8?Q?GTzbXjNC/IrngY4WmRLejc2qWgT/jIbo?= 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)(36860700013)(82310400026)(376014)(1800799024); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2024 08:03:42.5143 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 90e4bc6c-c366-470d-e6fe-08dcabb7227a 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: AM2PEPF0001C711.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR07MB6518 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 dbf25626d4..cd45d6c6c1 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: abi+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.34.1