DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: dev@dpdk.org
Cc: Bruce Richardson <bruce.richardson@intel.com>, stable@dpdk.org
Subject: [dpdk-dev] [PATCH 3/3] examples/vhost_crypto: fix dependency on vhost library
Date: Mon, 25 Feb 2019 15:23:04 +0000	[thread overview]
Message-ID: <20190225152304.62607-4-bruce.richardson@intel.com> (raw)
In-Reply-To: <20190225152304.62607-1-bruce.richardson@intel.com>

The vhost_crypto example app can't be used without the DPDK vhost
library, so disable the build of the example if the lib hasn't been
built.

CC: stable@dpdk.org
Fixes: f5188211c721 ("examples/vhost_crypto: add sample application")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 examples/vhost_crypto/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/vhost_crypto/meson.build b/examples/vhost_crypto/meson.build
index daf19fb87..8e9860f03 100644
--- a/examples/vhost_crypto/meson.build
+++ b/examples/vhost_crypto/meson.build
@@ -6,6 +6,7 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
+build = dpdk_conf.has('RTE_LIBRTE_VHOST')
 allow_experimental_apis = true
 deps += ['vhost', 'cryptodev']
 cflags += ['-D_FILE_OFFSET_BITS=64']
-- 
2.20.1

  parent reply	other threads:[~2019-02-25 15:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-25 15:23 [dpdk-dev] [PATCH 0/3] small fixes for FreeBSD builds Bruce Richardson
2019-02-25 15:23 ` [dpdk-dev] [PATCH 1/3] test/compress: fix missing header include Bruce Richardson
2019-02-25 15:23 ` [dpdk-dev] [PATCH 2/3] examples/ip_pipeline: disable build when no epoll Bruce Richardson
2019-02-25 15:23 ` Bruce Richardson [this message]
2019-02-25 16:24   ` [dpdk-dev] [PATCH 3/3] examples/vhost_crypto: fix dependency on vhost library Maxime Coquelin
2019-02-26 15:29 ` [dpdk-dev] [PATCH 0/3] small fixes for FreeBSD builds Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190225152304.62607-4-bruce.richardson@intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).