From patchwork Fri Jun 23 15:07:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 128971 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 34BE442D31; Fri, 23 Jun 2023 17:08:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B7D9E42D31; Fri, 23 Jun 2023 17:07:47 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 51D6542D20 for ; Fri, 23 Jun 2023 17:07:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687532862; x=1719068862; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=rJmD8E/XOuc50lmTIAIsWL9PJvmUDgitm5LMx4eCOEA=; b=M0Ty1k9+l3hcEmDKAGPsUqT24pMkc6T58PIvioAEtt3EkEE2gzMU3MZ3 PwEeJ58U4k8rqEEc1EIaPcW/beFy/xBOPZ2VYP/6qck8TXhf2FlpPF2nX Kdvvl8hbtX0e0p98dSxkVFS6EUW+EEaH448SF3kNaaL5l3BxFrEzq0OGB 5FE4Zdn909ohnKNDRuRpOcEiem3qYh53rr4/aMkYQBh35D6t7guIgIARV r4dZsmqZSdYGFcxN7a8jYdFpDxRw8dsyZNrm0xciDobr2t5FD0VUbzxXK BNtRiWmkJRSoisL/gLS3JZz+mHdg2z3I424MoaAmBCax5rIQD22RWoYK2 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10750"; a="424467991" X-IronPort-AV: E=Sophos;i="6.01,152,1684825200"; d="scan'208";a="424467991" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2023 08:07:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10750"; a="692697398" X-IronPort-AV: E=Sophos;i="6.01,152,1684825200"; d="scan'208";a="692697398" Received: from silpixa00401385.ir.intel.com ([10.237.214.14]) by orsmga006.jf.intel.com with ESMTP; 23 Jun 2023 08:07:32 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson , =?utf-8?q?Morten_Br=C3=B8?= =?utf-8?q?rup?= Subject: [PATCH v4 9/9] build: make reorder library optional Date: Fri, 23 Jun 2023 16:07:08 +0100 Message-Id: <20230623150708.2203918-10-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230623150708.2203918-1-bruce.richardson@intel.com> References: <20230622134840.3225975-1-bruce.richardson@intel.com> <20230623150708.2203918-1-bruce.richardson@intel.com> MIME-Version: 1.0 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 This library is not essential for most DPDK uses, so mark it as optional in the build config. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- app/test/meson.build | 6 ++++-- lib/meson.build | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index 2e447e3402..d4b6280658 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -94,7 +94,6 @@ test_sources = files( 'test_reciprocal_division_perf.c', 'test_red.c', 'test_pie.c', - 'test_reorder.c', 'test_rib.c', 'test_rib6.c', 'test_ring.c', @@ -219,7 +218,6 @@ fast_tests = [ ['power_autotest', true, true], ['power_kvm_vm_autotest', false, true], ['power_intel_uncore_autotest', true, true], - ['reorder_autotest', true, true], ['service_autotest', true, true], ['thash_autotest', true, true], ['threads_autotest', true, true], @@ -387,6 +385,10 @@ if dpdk_conf.has('RTE_LIB_MEMBER') fast_tests += [['member_autotest', true, true]] perf_test_names += 'member_perf_autotest' endif +if dpdk_conf.has('RTE_LIB_REORDER') + test_sources += 'test_reorder.c' + fast_tests += [['reorder_autotest', true, true]] +endif if not is_windows and dpdk_conf.has('RTE_LIB_TELEMETRY') test_sources += ['test_telemetry_json.c', 'test_telemetry_data.c'] fast_tests += [['telemetry_json_autotest', true, true]] diff --git a/lib/meson.build b/lib/meson.build index ea351b236a..b46f4e51ff 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -96,6 +96,7 @@ optional_libs = [ 'power', 'rawdev', 'regexdev', + 'reorder', 'table', 'vhost', ]