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)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 11 Jul 2019 18:48:30 +0000 (14:48 -0400)
commitafe821caedf56baa63d94c5b7b87805922db7a7c
tree995c75e516f404b1a0c430ffa2bd84550d783daa
parentb14c7bf11ddef302870c4d1abf86d3a98f74cb08
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.024246 seconds and 4 git commands to generate.