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 85BCEA0093; Thu, 13 Jan 2022 18:40:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1ADDA42761; Thu, 13 Jan 2022 18:39:56 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id AC28742753 for ; Thu, 13 Jan 2022 18:39:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642095594; x=1673631594; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=oT2w2Tc/JOhXj+jIa0v4u3sesLPyeisRT1DIzKJ3W8s=; b=kVmG+8NNaIApEDYrQf/lj7mV1MkPM9qGrQ6Ar65a8H/dfhWH4a5QrZCH oTnSwdbebQ6sG6rVp6eW9rz6HRfzeKqTFjinhpAQL3jVypsjriSSYJgY9 IHTQugq5XsDsVFUytjqVg9U57xE4sKZNELtH5DlowcvGxKvFlT78jZS7Z hZZ5uGZcZu3f2ZEowKFH7w2hFcoPIXxf9bibm8aOIek6SYLe9pBxC1Ccg qbRtO9KqBbcuAmaZLfh0d8DHuSDRzytgn9DIKHETB2fBruvtdZQMCXoa0 ISJKTxM0E+/2+2ell0eckx4IXg1qypTrHeVIBEMoEqRX3d4lHL6zEPRed g==; X-IronPort-AV: E=McAfee;i="6200,9189,10226"; a="244275489" X-IronPort-AV: E=Sophos;i="5.88,286,1635231600"; d="scan'208";a="244275489" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jan 2022 09:39:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,286,1635231600"; d="scan'208";a="475418238" Received: from silpixa00399126.ir.intel.com ([10.237.223.86]) by orsmga006.jf.intel.com with ESMTP; 13 Jan 2022 09:39:44 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 4/6] build: add flow classification library to optional list Date: Thu, 13 Jan 2022 17:39:16 +0000 Message-Id: <20220113173918.2700651-5-bruce.richardson@intel.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220113173918.2700651-1-bruce.richardson@intel.com> References: <20220113173918.2700651-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 the flow_classify library to the list of optional libraries, and ensure tests can build with it disabled. Signed-off-by: Bruce Richardson --- app/test/meson.build | 7 +++++-- lib/meson.build | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index 9919de4307..a92dd0c1f0 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -65,7 +65,6 @@ test_sources = files( 'test_fib6.c', 'test_fib6_perf.c', 'test_func_reentrancy.c', - 'test_flow_classify.c', 'test_graph.c', 'test_graph_perf.c', 'test_hash.c', @@ -194,7 +193,6 @@ fast_tests = [ ['fib_autotest', true], ['fib6_autotest', true], ['func_reentrancy_autotest', false], - ['flow_classify_autotest', false], ['hash_autotest', true], ['interrupt_autotest', true], ['ipfrag_autotest', false], @@ -347,6 +345,11 @@ endif if dpdk_conf.has('RTE_EVENT_SKELETON') test_deps += 'event_skeleton' endif + +if dpdk_conf.has('RTE_LIB_FLOW_CLASSIFY') + test_sources += 'test_flow_classify.c' + fast_tests += [['flow_classify_autotest', false]] +endif if dpdk_conf.has('RTE_LIB_METRICS') test_sources += ['test_metrics.c'] fast_tests += [['metrics_autotest', true]] diff --git a/lib/meson.build b/lib/meson.build index dd20fe70a6..ede5199374 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -67,6 +67,7 @@ libraries = [ optional_libs = [ 'bitratestats', + 'flow_classify', 'gpudev', 'gro', 'gso', -- 2.32.0