From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 68EF2A052F; Wed, 29 Jan 2020 17:23:56 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3C71E1BFEC; Wed, 29 Jan 2020 17:23:55 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id D0A671BFE1 for ; Wed, 29 Jan 2020 17:23:53 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00TGLUSX030187; Wed, 29 Jan 2020 08:23:51 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0818; bh=lCPsCnehYHnqZ9qY4jA53L0xBHEPM7cdU/PVLE3NexM=; b=Y00omwHJm6aA0U52SW8HEvObYp8wGrZEk793PSAd/QiLEW7OPf7ChO+Mg1S6ES3WqQCD z3WNb3eMYAihJz+tZuM+x9/WJ8Lqa0+4uMunRlLek+ncWXME9DF7bYIaBgTpMHlaNUwp g/d5ViKozjLdXZFLCzKyasJEP2mnOxIdQ++2DE1kzERTJzHCdVfBVenceUgzlbYsk/qM 7rXpWW19HQxVHAuE6RXp4ynAgc55ZWdjQ+x63z0/OV6auv8mhRooVsCz52A6zoZCUukb R6/E2a66qDNicRY/IbKO6DJBU+xWTTUvU/sIrTnUxP4v2wBouNbDstzhcaOjGlsrezkn yQ== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 2xrp2t9ws7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 29 Jan 2020 08:23:51 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 29 Jan 2020 08:23:49 -0800 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 29 Jan 2020 08:23:49 -0800 Received: from amok.marvell.com (unknown [10.95.130.39]) by maili.marvell.com (Postfix) with ESMTP id 32FE23F703F; Wed, 29 Jan 2020 08:23:48 -0800 (PST) From: Andrzej Ostruszka To: , David Hunt , Bruce Richardson , Vladimir Medvedkin , Robert Sanford , Erik Gabriel Carrillo CC: Date: Wed, 29 Jan 2020 17:23:46 +0100 Message-ID: <20200129162347.27975-1-aostruszka@marvell.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-01-29_04:2020-01-28, 2020-01-29 signatures=0 Subject: [dpdk-dev] [PATCH] build: remove function versioning from meson files X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Timer, LPM and Distributor libraries no longer use function versioning and therefore do not need separate build for static and shared version of libraries. This patch removes use_function_versioning from their meson build files. Signed-off-by: Andrzej Ostruszka Fixes: f2fb215843a9 ("timer: remove deprecated code") Fixes: 6e5b51676176 ("distributor: remove deprecated code") Fixes: c381a8d554b7 ("lpm: remove deprecated code") Cc: marcinx.baran@intel.com --- lib/librte_distributor/meson.build | 1 - lib/librte_lpm/meson.build | 1 - lib/librte_timer/meson.build | 1 - 3 files changed, 3 deletions(-) diff --git a/lib/librte_distributor/meson.build b/lib/librte_distributor/meson.build index 50b91887b..266af6434 100644 --- a/lib/librte_distributor/meson.build +++ b/lib/librte_distributor/meson.build @@ -9,7 +9,6 @@ else endif headers = files('rte_distributor.h') deps += ['mbuf'] -use_function_versioning = true # for clang 32-bit compiles we need libatomic for 64-bit atomic ops if cc.get_id() == 'clang' and dpdk_conf.get('RTE_ARCH_64') == false diff --git a/lib/librte_lpm/meson.build b/lib/librte_lpm/meson.build index 27ce45b53..021ac6d8d 100644 --- a/lib/librte_lpm/meson.build +++ b/lib/librte_lpm/meson.build @@ -7,4 +7,3 @@ headers = files('rte_lpm.h', 'rte_lpm6.h') # without worrying about which architecture we actually need headers += files('rte_lpm_altivec.h', 'rte_lpm_neon.h', 'rte_lpm_sse.h') deps += ['hash'] -use_function_versioning = true diff --git a/lib/librte_timer/meson.build b/lib/librte_timer/meson.build index b7edfe2e7..d3b828ce9 100644 --- a/lib/librte_timer/meson.build +++ b/lib/librte_timer/meson.build @@ -4,4 +4,3 @@ sources = files('rte_timer.c') headers = files('rte_timer.h') allow_experimental_apis = true -use_function_versioning = true -- 2.17.1