ansible: Add Rocky Linux support to docker role
[lttng-ci.git] / scripts / lttng-ust-benchmarks / build.sh
index 13e6d639d383d5b7e3b34f7c09737dff05feadf8..e66040c07e5b0134d8475d8eee8114f42f7e31fb 100644 (file)
@@ -48,7 +48,7 @@ TOOLS_BINS="$WORKSPACE/deps/lttng-tools/build/bin/"
 TOOLS_PY="$WORKSPACE/deps/lttng-tools/build/lib/python$P3_VERSION/site-packages/"
 
 rm -rf "$WORKSPACE/deps/lttng-modules"
-git clone git://github.com/lttng/lttng-modules.git "$WORKSPACE/deps/lttng-modules"
+git clone https://github.com/lttng/lttng-modules.git "$WORKSPACE/deps/lttng-modules"
 
 export CFLAGS="-I$URCU_INCS -I$UST_INCS"
 export LDFLAGS="-L$URCU_LIBS -L$UST_LIBS"
@@ -56,14 +56,15 @@ export LD_LIBRARY_PATH="$URCU_LIBS:$UST_LIBS:$BABEL_LIBS:$TOOLS_LIBS:${LD_LIBRAR
 export PYTHONPATH="$TOOLS_PY:$BABEL_PY:${PYTHONPATH:-}"
 export PATH="$TOOLS_BINS:$UST_BINS:$PATH"
 export LTTNG_MODULES_DIR="$WORKSPACE/deps/lttng-modules/"
+export PKG_CONFIG_PATH="$UST_LIBS/pkgconfig"
 
 export LTTNG_SESSION_CONFIG_XSD_PATH="$WORKSPACE/deps/lttng-tools/build/share/xml/lttng"
 export LTTNG_CONSUMERD64_BIN="$WORKSPACE/deps/lttng-tools/build/lib/lttng/libexec/lttng-consumerd"
 
 cd "$SRCDIR"
 
-make
+make PYTHON="$PYTHON3"
 
-./benchmarks.py
+"$PYTHON3" ./benchmarks.py
 
 # EOF
This page took 0.022612 seconds and 4 git commands to generate.