Make the in-tree CLI use the in-tree PPP
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 10 Jul 2019 19:39:10 +0000 (15:39 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 Jul 2019 15:53:35 +0000 (11:53 -0400)
commit58bb04cbaab6d70deba08c4630c957485807a4e6
tree0ee185240a8ab43af87cac7ee5c8c0a6259f29e1
parent7b783015be97fd9ccb0368380b53929e0cbb76af
Make the in-tree CLI use the in-tree PPP

We build an in-tree version of the CLI binary that refers to in-tree
versions of the plugins and other artefacts which currently doesn't
support the Pyhton plugin provider.

Add the logic to use the in-tree version of the Python plugin provider
using the LIBBABELTRACE2_PLUGIN_PROVIDER_DIR environment variable.

If the variable is already set, do not overwrite it. If the python
plugin is enabled, set it to the appropriate in-tree path, otherwise set
it to an invalid path so we don't load an hypothetical system installed
provider.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I4151c36fef90c791cc8b515233d0d3e8fefcdbd5
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1683
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/cli/Makefile.am
src/cli/babeltrace2-cfg-cli-args-default.c
This page took 0.026051 seconds and 4 git commands to generate.