From patchwork Mon Aug 12 23:03:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 57629 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B306D1BE8C; Tue, 13 Aug 2019 01:04:16 +0200 (CEST) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by dpdk.org (Postfix) with ESMTP id 1D2E0DE3 for ; Tue, 13 Aug 2019 01:04:15 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id ECCB7483; Mon, 12 Aug 2019 19:04:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 12 Aug 2019 19:04:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=mesmtp; bh=Fqca7VRO/y 60KRv98B/kcjlqnUxjIHAGKwiUp6Plns4=; b=Az9dt8uUrr2qgfARtuyxQHjcgn q0aAbOMw/qCkt5bYHAT5ngvmydtdvrNInI8LpXu43e9PDRa1nAMQSfEYbqjmwuYL VXqAPmA3w6hz609IobsADro4SV8IWwY79o+1BWa0u/gG+vMcoCAMni0US+d6YLVQ dp/tI4G+0JjG7B1yE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=Fqca7VRO/y60KRv98B/kcjlqnUxjIHAGKwiUp6Plns4=; b=cb6zjZIc pa6KWqNQn5cVhxgZ3QdbNk/PJS5xYybL4iGTXEBElB5ltn37JZOkrhQW3lbmSd7q zo2FG9y/TUZdP9YQ/Bb9ceiqI3OHk6b7duRKdL3dB3fnhKdtLbDWJePU0FlSBc/g jnUPLlSek5icy6q5YScjt1i66dZ1uKlcTGdrrrdd1AI8oYHRLY0tPx7d1Uf4rZxC aJZ8EqvF25dQk5EMA7t/4vMPlAQC39qfU45jZg7jaAgVghw4+CDHVnQoc+5p/wQN lJ+No2BOQV1m7SgGeRHjeenoO7SG+2YuaRlDoH9PMi02t2DOJ9StTkxCRw3sYBmI /lDxCTaUt3QhFw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddruddvhedgudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt 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 CA41380062; Mon, 12 Aug 2019 19:04:12 -0400 (EDT) From: Thomas Monjalon To: bruce.richardson@intel.com, Nicolas Chautru , Jakub Grajciar Cc: dev@dpdk.org Date: Tue, 13 Aug 2019 01:03:54 +0200 Message-Id: <20190812230358.988-3-thomas@monjalon.net> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190812230358.988-1-thomas@monjalon.net> References: <20190812230358.988-1-thomas@monjalon.net> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 2/6] drivers: add some reasons for meson disabling 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" Some drivers were missing reasons text for their disabling in meson. Signed-off-by: Thomas Monjalon Acked-by: Luca Boccassi --- drivers/baseband/turbo_sw/meson.build | 1 + drivers/net/memif/meson.build | 5 +++-- drivers/raw/ioat/meson.build | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/baseband/turbo_sw/meson.build b/drivers/baseband/turbo_sw/meson.build index 33345aa01..1a1f7c9a9 100644 --- a/drivers/baseband/turbo_sw/meson.build +++ b/drivers/baseband/turbo_sw/meson.build @@ -7,6 +7,7 @@ if dpdk_conf.has('RTE_BBDEV_SDK_AVX2') lib = cc.find_library('libturbo', dirs: [path + '/lib_turbo'], required: false) if not lib.found() build = false + reason = 'missing dependency, "libturbo"' else ext_deps += cc.find_library('libturbo', dirs: [path + '/lib_turbo'], required: true) ext_deps += cc.find_library('libcrc', dirs: [path + '/lib_crc'], required: true) diff --git a/drivers/net/memif/meson.build b/drivers/net/memif/meson.build index bedc97311..a44d82535 100644 --- a/drivers/net/memif/meson.build +++ b/drivers/net/memif/meson.build @@ -1,8 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2018-2019 Cisco Systems, Inc. All rights reserved. -if host_machine.system() != 'linux' - build = false +if not is_linux + build = false + reason = 'only supported on Linux' endif sources = files('rte_eth_memif.c', diff --git a/drivers/raw/ioat/meson.build b/drivers/raw/ioat/meson.build index 247ff88bf..0878418ae 100644 --- a/drivers/raw/ioat/meson.build +++ b/drivers/raw/ioat/meson.build @@ -2,6 +2,7 @@ # Copyright 2019 Intel Corporation build = dpdk_conf.has('RTE_ARCH_X86') +reason = 'only supported on x86' sources = files('ioat_rawdev.c', 'ioat_rawdev_test.c') deps += ['rawdev', 'bus_pci', 'mbuf']