X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=userspace-rcu%2Fliburcu-master.sh;h=52fbba46d6a725450dab36a2d3afbeb017a3a89d;hb=6a7fce9069bc8d59719cd28cc2dc9fa4f063c60d;hp=20da6f9d29d467c707929b7256feb5b7079c758d;hpb=4f686830fbc63736ef8fbe2cb43614a446c29096;p=lttng-ci.git diff --git a/userspace-rcu/liburcu-master.sh b/userspace-rcu/liburcu-master.sh index 20da6f9..52fbba4 100755 --- a/userspace-rcu/liburcu-master.sh +++ b/userspace-rcu/liburcu-master.sh @@ -37,7 +37,8 @@ case "$build" in echo "Out of tree build" BUILD_PATH=$WORKSPACE/oot mkdir -p $BUILD_PATH - cd $BUILD_PATH$WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS + cd $BUILD_PATH + $WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS ;; dist) echo "Distribution out of tree build" @@ -52,17 +53,18 @@ case "$build" in cd $BUILD_PATH # Ignore level 1 of tar - tar xvf *.tar.* --staticrip 1 + tar xvf *.tar.* --strip 1 $BUILD_PATH/configure --prefix=$PREFIX $CONF_OPTS ;; *) - echo "Standard tree build" BUILD_PATH=$WORKSPACE - $WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS;; + echo "Standard tree build" + $WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS + ;; esac -make V=1 +make make install make clean @@ -70,6 +72,7 @@ make clean find $WORKSPACE/build/lib -name "*.so" -exec chrpath --delete {} \; find $WORKSPACE/build/lib -name "*.la" -exec rm -f {} \; +# Cleanup temp directory of dist build if [ $build = "dist" ]; then rm -rf $BUILD_PATH fi