X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Flttng-ivc%2Fbuild.sh;h=83cbefc291529db55674aa1ab6ce841308cd723d;hb=b8a93ea34826f2a42026744ac52d790895c0e580;hp=8cc08acea45bc6dd532c513abde504e9df8453ad;hpb=62f05720140793e7f79c702eda016152b7bd7651;p=lttng-ci.git diff --git a/scripts/lttng-ivc/build.sh b/scripts/lttng-ivc/build.sh index 8cc08ac..83cbefc 100644 --- a/scripts/lttng-ivc/build.sh +++ b/scripts/lttng-ivc/build.sh @@ -16,20 +16,11 @@ # along with this program. If not, see . PYTHON3="python3" -P3_VERSION=$($PYTHON3 -c "import sys;print(sys.version[:3])") - -URCU_INCS=${WORKSPACE}/deps/liburcu/build/include -URCU_LIBS=${WORKSPACE}/deps/liburcu/build/lib - -# Get liburcu setup -export LD_LIBRARY_PATH="$URCU_LIBS:${LD_LIBRARY_PATH:-}" -export CPPFLAGS="${CPPFLAGS:-} -I$URCU_INCS" -export LDFLAGS="${LDFLAGS:-} -L$URCU_LIBS" +P3_VERSION=$($PYTHON3 -c 'import sys;v = sys.version.split()[0].split("."); print("{}.{}".format(v[0], v[1]))') # Tox does not support long path venv for whatever reason. PYENV_HOME=$(mktemp -d) - # Create virtualenv and install necessary packages virtualenv --system-site-packages -p $PYTHON3 "$PYENV_HOME"