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 916ADA0350; Wed, 1 Jul 2020 20:05:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2AAA21BE95; Wed, 1 Jul 2020 20:05:33 +0200 (CEST) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by dpdk.org (Postfix) with ESMTP id 32C021BE0C for ; Wed, 1 Jul 2020 20:05:31 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id E84D9AC8; Wed, 1 Jul 2020 14:05:28 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Wed, 01 Jul 2020 14:05:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=rWe+zBvGI9+fRBajRR4mv5vPD+ ZdDawA4oRyR4O5sfw=; b=wtZVpv6p6Xg2vAhjpRr6WQc8DE0h/XNgD3+iWyfX+s iW8BwD5maIG5orIFygRqJ7kr+J2a17hftcY3wf/aDXRruoU0gDVzVIvNPeMtwEdP ZY4NB2XPp1ZY7cDsBzhYQSmV/VDoQNbSASEw2AGzMsLwgwlrMp44Qu7BevaxzTqM VlW4Ho9l8b7oCVTMECWL2ICwMLPdkFHVfOqqAvsRAP144lLVAWkJ8ZCnmg2QLX7a TL67injnYXW6NvucKcxau036PZBs46/ICRXhYhHI3eWR2yHQEH8ZJgGMTHVLU++P p9Bw+oRlQSa/c5gpklpC8OItJCdFifEqxxkBX1C6QaIw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=rWe+zBvGI9+fRBajR R4mv5vPD+ZdDawA4oRyR4O5sfw=; b=pqMgm8Gg1QcclrYpyz+hetQnIdpO29sQl jLyCs6u9D94eeLwXmh09TU1IxVB/qk8SBshw/Vq1L29kwk9ygedyayd+ck6w06Pm tPlCs1eZ0WdH44ts0w5SflRUKKiq2Ah//UwhvGEI0hIdOqK2R2hC8HT3cnLk0EPe hhCOuQo5VE7qbtBeOp58GHeF6m9jrJtk6RwKF6mhSCf/8A07LY4MfiojxFEyfoXk sVSNIwrXf8WZuOIttCkM80VxVmvg/NTU9CZmFRdXA6AmWX331Sv5KQRyRJctADDq RN2JQb/K5z0zE+dWQn8jtMlAJjnypqv9vVRk55aTUXy/ovAtQ+D5A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrtddvgdduvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhho nhhjrghlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpedvledvudehvdduudevuedvve ehgeduleegiefgjeehudehtddtgeduffejiefhgfenucfkphepjeejrddufeegrddvtdef rddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 771AC306005C; Wed, 1 Jul 2020 14:05:27 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: david.marchand@redhat.com, bruce.richardson@intel.com, ndabilpuram@marvell.com Date: Wed, 1 Jul 2020 20:05:06 +0200 Message-Id: <20200701180507.2850094-1-thomas@monjalon.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] build: remove special handling for node library 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" What is the point of adding librte_node a second time separately? Signed-off-by: Thomas Monjalon --- app/test/meson.build | 4 +--- examples/meson.build | 4 +--- lib/meson.build | 3 --- meson.build | 1 - 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index b224d6f2bb..da5f39f018 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -415,15 +415,13 @@ endforeach test_dep_objs += cc.find_library('execinfo', required: false) link_libs = [] -link_nodes = [] if get_option('default_library') == 'static' link_libs = dpdk_static_libraries + dpdk_drivers - link_nodes = dpdk_graph_nodes endif dpdk_test = executable('dpdk-test', test_sources, - link_whole: link_libs + link_nodes, + link_whole: link_libs, dependencies: test_dep_objs, c_args: cflags, install_rpath: driver_install_path, diff --git a/examples/meson.build b/examples/meson.build index 120eebf716..eb13e82101 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -2,10 +2,8 @@ # Copyright(c) 2017-2019 Intel Corporation link_whole_libs = [] -node_libs = [] if get_option('default_library') == 'static' link_whole_libs = dpdk_static_libraries + dpdk_drivers - node_libs = dpdk_graph_nodes endif execinfo = cc.find_library('execinfo', required: false) @@ -101,7 +99,7 @@ foreach example: examples endif executable('dpdk-' + name, sources, include_directories: includes, - link_whole: link_whole_libs + node_libs, + link_whole: link_whole_libs, link_args: dpdk_extra_ldflags, c_args: cflags, dependencies: dep_objs) diff --git a/lib/meson.build b/lib/meson.build index c1b9e1633f..8ca25172c3 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -202,9 +202,6 @@ foreach l:libraries dpdk_libraries = [shared_lib] + dpdk_libraries dpdk_static_libraries = [static_lib] + dpdk_static_libraries - if libname == 'rte_node' - dpdk_graph_nodes = [static_lib] - endif endif # sources.length() > 0 set_variable('shared_rte_' + name, shared_dep) diff --git a/meson.build b/meson.build index d21adfd303..e8bb9c4c1e 100644 --- a/meson.build +++ b/meson.build @@ -16,7 +16,6 @@ cc = meson.get_compiler('c') dpdk_conf = configuration_data() dpdk_libraries = [] dpdk_static_libraries = [] -dpdk_graph_nodes = [] dpdk_driver_classes = [] dpdk_drivers = [] dpdk_extra_ldflags = [] -- 2.26.2