jjb: Build the Babeltrace Python bindings in Lava jobs
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 10 May 2017 19:40:29 +0000 (15:40 -0400)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 10 May 2017 20:13:16 +0000 (16:13 -0400)
Kernel test need access to the Babeltrace Python bindings

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
scripts/lttng-baremetal-tests/lava-submit.py

index 687322b041694d7744af1f8b0b83948746f68401..5a3ed94e02f50af4e846eb6f85b7685f9d2ca0d7 100644 (file)
@@ -157,7 +157,7 @@ def get_config_cmd(build_device):
     packages=['bsdtar', 'psmisc', 'wget', 'python3', 'python3-pip', \
             'libglib2.0-dev', 'libffi-dev', 'elfutils', 'libdw-dev', \
             'libelf-dev', 'libmount-dev', 'libxml2', 'libpfm4-dev', \
-            'libnuma-dev']
+            'libnuma-dev', 'python3-dev']
     command = OrderedDict({
         'command': 'lava_command_run',
         'parameters': {
@@ -334,7 +334,10 @@ def get_env_setup_cmd(build_device, lttng_tools_commit, lttng_ust_commit=None):
         })
 
     vlttng_cmd = 'vlttng --jobs=$(nproc) --profile urcu-master' \
-                    ' --profile babeltrace-stable-1.4 ' \
+                    ' --override projects.babeltrace.build-env.PYTHON=python3' \
+                    ' --override projects.babeltrace.build-env.PYTHON_CONFIG=python3-config' \
+                    ' --profile babeltrace-stable-1.4' \
+                    ' --profile babeltrace-python' \
                     ' --profile lttng-tools-master' \
                     ' --override projects.lttng-tools.checkout='+lttng_tools_commit + \
                     ' --profile lttng-tools-no-man-pages'
This page took 0.023644 seconds and 4 git commands to generate.