From patchwork Thu Jun 22 13:48:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 128925 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 24AB842D1C; Thu, 22 Jun 2023 16:20:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5387E42D0C; Thu, 22 Jun 2023 16:20:19 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id E8774406B8 for ; Thu, 22 Jun 2023 16:20:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687443616; x=1718979616; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XGNkDDRqanYhdQyZ4OB01zVINNQ2EBw7m1Uq8ASvRQ4=; b=BIDAhcsdnkvCs0lUW72AreYecPD5H5o0gJ2h1fotK76t6/VyBkaixfTF 4OY+54nBemI1Qp2ozCCDikVa8YQ9yw1LLmFAcxyxoUH6w4VuHbjDl7J4d KsnseBr9pDfq70m3b11CQ3fGHxyxUNX3p+E7U+ouqr/VzZSra9zIpYRWM JJwYpsEVNqckOdnoTev4mmx9NVk26rQ3991/fF9Yp16ucmV6JxacuPzyO kMCwJhqAGWJBoGKCrVI3A4n7w5nXH2DDjayw71w1NVutw6CPKTAVocz3y XGG6Z/IjyNpXF2bqXQms3e4IfEjRrWAVNXakJfBDWRy15q8FDuRIisf8+ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10749"; a="363932122" X-IronPort-AV: E=Sophos;i="6.01,149,1684825200"; d="scan'208";a="363932122" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2023 06:48:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="692272512" X-IronPort-AV: E=Sophos;i="6.01,263,1684825200"; d="scan'208";a="692272512" Received: from silpixa00401385.ir.intel.com ([10.237.214.166]) by orsmga006.jf.intel.com with ESMTP; 22 Jun 2023 06:48:53 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 2/7] build: make membership library optional Date: Thu, 22 Jun 2023 14:48:35 +0100 Message-Id: <20230622134840.3225975-3-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230622134840.3225975-1-bruce.richardson@intel.com> References: <20230622134840.3225975-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 Signed-off-by: Bruce Richardson --- app/test/meson.build | 9 +++++---- lib/meson.build | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index 780005f320..bed6acfdaf 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -78,8 +78,6 @@ test_sources = files( 'test_malloc.c', 'test_malloc_perf.c', 'test_mbuf.c', - 'test_member.c', - 'test_member_perf.c', 'test_memcpy.c', 'test_memcpy_perf.c', 'test_memory.c', @@ -229,7 +227,6 @@ fast_tests = [ ['ipsec_autotest', true, true], ['kni_autotest', false, true], ['kvargs_autotest', true, true], - ['member_autotest', true, true], ['power_cpufreq_autotest', false, true], ['power_autotest', true, true], ['power_kvm_vm_autotest', false, true], @@ -267,7 +264,6 @@ perf_test_names = [ 'timer_racecond_autotest', 'efd_autotest', 'hash_functions_autotest', - 'member_perf_autotest', 'efd_perf_autotest', 'lpm6_perf_autotest', 'rib6_slow_autotest', @@ -374,6 +370,11 @@ if dpdk_conf.has('RTE_LIB_METRICS') test_sources += ['test_metrics.c'] fast_tests += [['metrics_autotest', true, true]] endif +if dpdk_conf.has('RTE_LIB_MEMBER') + test_sources += ['test_member.c', 'test_member_perf.c'] + fast_tests += [['member_autotest', true, true]] + perf_test_names += 'member_perf_autotest' +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 679a81f62f..e46b141657 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -81,6 +81,7 @@ optional_libs = [ 'kni', 'jobstats', 'latencystats', + 'member', 'metrics', 'mldev', 'node',