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 4F070A00C3; Tue, 16 Aug 2022 00:01:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 93A7B42C2D; Mon, 15 Aug 2022 23:58:02 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id C1FF142B7C for ; Mon, 15 Aug 2022 23:57: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=1660600663; x=1692136663; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=GwPe4C09Skcl+FK+yqIlrcVE+s7NOjY6kUeLHRWrlAs=; b=RrO14JvBtK2FPjhw4SdyXmdqxxz1+u/HkyFEkS+cQT4OSio1jgMJ/bWP yMmzRdGtFuj8Pj5jug1Y0RGdTSQRgdXLWa7tgZcSslLcMef9kql7q7Apf 5XPJpfmFZqwb2kMuxHATkcY//lFNC5UnY2eL4w0dMnc4aU25i9ht3adtf 7X8Eh6wBC9xPmXXpQnmgLAU5Oa3CHADowZusMClmmzYBMstioUlf6JAYV lbMJOTCwrIDoVNDz1ZirdKrnrmkkdKLUahWoajEDhJmONsnGmqh1oaR1A DwCppSmeiYzj3+/cD/tKwqon+h+xC6UxBXf4Z0rH7+ssECS85znn0ceCa Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10440"; a="292862754" X-IronPort-AV: E=Sophos;i="5.93,239,1654585200"; d="scan'208";a="292862754" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Aug 2022 14:57:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,239,1654585200"; d="scan'208";a="666826138" Received: from unknown (HELO csl-npg-qt0.la.intel.com) ([10.233.181.103]) by fmsmga008.fm.intel.com with ESMTP; 15 Aug 2022 14:57:42 -0700 From: Hernan Vargas To: dev@dpdk.org, gakhil@marvell.com, trix@redhat.com Cc: nicolas.chautru@intel.com, qi.z.zhang@intel.com, Hernan Vargas Subject: [PATCH v1 33/33] baseband/acc100: update meson file sdk dependency Date: Mon, 15 Aug 2022 22:52:58 -0700 Message-Id: <20220816055258.107564-34-hernan.vargas@intel.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220816055258.107564-1-hernan.vargas@intel.com> References: <20220816055258.107564-1-hernan.vargas@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 Update meson files with FlexRAN SDK dependency. Signed-off-by: Hernan Vargas --- drivers/baseband/acc100/meson.build | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/drivers/baseband/acc100/meson.build b/drivers/baseband/acc100/meson.build index 9a1a3b8b07..3b934a25ca 100644 --- a/drivers/baseband/acc100/meson.build +++ b/drivers/baseband/acc100/meson.build @@ -1,6 +1,27 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2020 Intel Corporation +# check for FlexRAN SDK libraries +dep_dec5g = dependency('flexran_sdk_ldpc_decoder_5gnr', required: false) + +if dep_dec5g.found() + ext_deps += cc.find_library('libstdc++', required: true) + ext_deps += cc.find_library('libirc', required: true) + ext_deps += cc.find_library('libimf', required: true) + ext_deps += cc.find_library('libipps', required: true) + ext_deps += cc.find_library('libsvml', required: true) + ext_deps += dep_dec5g + ext_deps += dependency('flexran_sdk_ldpc_encoder_5gnr', required: true) + ext_deps += dependency('flexran_sdk_LDPC_ratematch_5gnr', required: true) + ext_deps += dependency('flexran_sdk_rate_dematching_5gnr', required: true) + ext_deps += dependency('flexran_sdk_turbo', required: true) + ext_deps += dependency('flexran_sdk_crc', required: true) + ext_deps += dependency('flexran_sdk_rate_matching', required: true) + ext_deps += dependency('flexran_sdk_common', required: true) + cflags += ['-DRTE_BBDEV_SDK_AVX2'] + cflags += ['-DRTE_BBDEV_SDK_AVX512'] +endif + deps += ['bbdev', 'bus_vdev', 'ring', 'pci', 'bus_pci'] sources = files('rte_acc100_pmd.c') -- 2.37.1