From: Jonathan Rajotte Date: Fri, 16 Jan 2015 00:27:49 +0000 (-0500) Subject: missing .sh X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=33afa44eaddac07aec92dfbcaa68c17ce528292a;p=lttng-ci.git missing .sh --- diff --git a/lttng-ust/lttng-ust-stable-2.4 b/lttng-ust/lttng-ust-stable-2.4 deleted file mode 100755 index 3d52a49..0000000 --- a/lttng-ust/lttng-ust-stable-2.4 +++ /dev/null @@ -1,59 +0,0 @@ -# Create build directory -rm -rf $WORKSPACE/build -mkdir -p $WORKSPACE/build - -# liburcu -URCU_INCS="$WORKSPACE/dependencies/liburcu/build/include/" -URCU_LIBS="$WORKSPACE/dependencies/liburcu/build/lib/" - -export CPPFLAGS="-I$URCU_INCS" -export LDFLAGS="-L$URCU_LIBS" -export LD_LIBRARY_PATH="$URCU_LIBS:$LD_LIBRARY_PATH" - -PREFIX="$WORKSPACE/build" - -./bootstrap - -CONF_OPTS="" - -case "$conf" in -# Unsupported! liblttng-ust can't pull in it's static (.a) dependencies. -#static) -# echo "Static build" -# CONF_OPTS="--enable-static --disable-shared" -# ;; -java-agent) - echo "Java agent build" - export CLASSPATH="/usr/share/java/log4j-1.2.jar" - CONF_OPTS="--enable-java-agent-all" - ;; -*) - echo "Standard build" - CONF_OPTS="" - ;; -esac - -./configure --prefix=$PREFIX $CONF_OPTS -make V=1 -make install - -# Run tests -rm -rf $WORKSPACE/tap -mkdir -p $WORKSPACE/tap/unit - -cd $WORKSPACE/tests - -prove --merge --exec '' - < $WORKSPACE/tests/unit_tests --archive $WORKSPACE/tap/unit/ || true - -# TAP plugin is having a hard time with .yml files. -rm -f $WORKSPACE/tap/unit/meta.yml - -# And also with files without extension, so rename all result to *.tap -find $WORKSPACE/tap/unit/ -type f -exec mv {} {}.tap \; - -# Cleanup -make clean - -# Cleanup rpath and libtool .la files -find $WORKSPACE/build/lib -name "*.so" -exec chrpath --delete {} \; -find $WORKSPACE/build/lib -name "*.la" -exec rm -f {} \; diff --git a/lttng-ust/lttng-ust-stable-2.4.sh b/lttng-ust/lttng-ust-stable-2.4.sh new file mode 100755 index 0000000..3d52a49 --- /dev/null +++ b/lttng-ust/lttng-ust-stable-2.4.sh @@ -0,0 +1,59 @@ +# Create build directory +rm -rf $WORKSPACE/build +mkdir -p $WORKSPACE/build + +# liburcu +URCU_INCS="$WORKSPACE/dependencies/liburcu/build/include/" +URCU_LIBS="$WORKSPACE/dependencies/liburcu/build/lib/" + +export CPPFLAGS="-I$URCU_INCS" +export LDFLAGS="-L$URCU_LIBS" +export LD_LIBRARY_PATH="$URCU_LIBS:$LD_LIBRARY_PATH" + +PREFIX="$WORKSPACE/build" + +./bootstrap + +CONF_OPTS="" + +case "$conf" in +# Unsupported! liblttng-ust can't pull in it's static (.a) dependencies. +#static) +# echo "Static build" +# CONF_OPTS="--enable-static --disable-shared" +# ;; +java-agent) + echo "Java agent build" + export CLASSPATH="/usr/share/java/log4j-1.2.jar" + CONF_OPTS="--enable-java-agent-all" + ;; +*) + echo "Standard build" + CONF_OPTS="" + ;; +esac + +./configure --prefix=$PREFIX $CONF_OPTS +make V=1 +make install + +# Run tests +rm -rf $WORKSPACE/tap +mkdir -p $WORKSPACE/tap/unit + +cd $WORKSPACE/tests + +prove --merge --exec '' - < $WORKSPACE/tests/unit_tests --archive $WORKSPACE/tap/unit/ || true + +# TAP plugin is having a hard time with .yml files. +rm -f $WORKSPACE/tap/unit/meta.yml + +# And also with files without extension, so rename all result to *.tap +find $WORKSPACE/tap/unit/ -type f -exec mv {} {}.tap \; + +# Cleanup +make clean + +# Cleanup rpath and libtool .la files +find $WORKSPACE/build/lib -name "*.so" -exec chrpath --delete {} \; +find $WORKSPACE/build/lib -name "*.la" -exec rm -f {} \; diff --git a/lttng-ust/lttng-ust-stable-2.5 b/lttng-ust/lttng-ust-stable-2.5 deleted file mode 100755 index 3d52a49..0000000 --- a/lttng-ust/lttng-ust-stable-2.5 +++ /dev/null @@ -1,59 +0,0 @@ -# Create build directory -rm -rf $WORKSPACE/build -mkdir -p $WORKSPACE/build - -# liburcu -URCU_INCS="$WORKSPACE/dependencies/liburcu/build/include/" -URCU_LIBS="$WORKSPACE/dependencies/liburcu/build/lib/" - -export CPPFLAGS="-I$URCU_INCS" -export LDFLAGS="-L$URCU_LIBS" -export LD_LIBRARY_PATH="$URCU_LIBS:$LD_LIBRARY_PATH" - -PREFIX="$WORKSPACE/build" - -./bootstrap - -CONF_OPTS="" - -case "$conf" in -# Unsupported! liblttng-ust can't pull in it's static (.a) dependencies. -#static) -# echo "Static build" -# CONF_OPTS="--enable-static --disable-shared" -# ;; -java-agent) - echo "Java agent build" - export CLASSPATH="/usr/share/java/log4j-1.2.jar" - CONF_OPTS="--enable-java-agent-all" - ;; -*) - echo "Standard build" - CONF_OPTS="" - ;; -esac - -./configure --prefix=$PREFIX $CONF_OPTS -make V=1 -make install - -# Run tests -rm -rf $WORKSPACE/tap -mkdir -p $WORKSPACE/tap/unit - -cd $WORKSPACE/tests - -prove --merge --exec '' - < $WORKSPACE/tests/unit_tests --archive $WORKSPACE/tap/unit/ || true - -# TAP plugin is having a hard time with .yml files. -rm -f $WORKSPACE/tap/unit/meta.yml - -# And also with files without extension, so rename all result to *.tap -find $WORKSPACE/tap/unit/ -type f -exec mv {} {}.tap \; - -# Cleanup -make clean - -# Cleanup rpath and libtool .la files -find $WORKSPACE/build/lib -name "*.so" -exec chrpath --delete {} \; -find $WORKSPACE/build/lib -name "*.la" -exec rm -f {} \; diff --git a/lttng-ust/lttng-ust-stable-2.5.sh b/lttng-ust/lttng-ust-stable-2.5.sh new file mode 100755 index 0000000..3d52a49 --- /dev/null +++ b/lttng-ust/lttng-ust-stable-2.5.sh @@ -0,0 +1,59 @@ +# Create build directory +rm -rf $WORKSPACE/build +mkdir -p $WORKSPACE/build + +# liburcu +URCU_INCS="$WORKSPACE/dependencies/liburcu/build/include/" +URCU_LIBS="$WORKSPACE/dependencies/liburcu/build/lib/" + +export CPPFLAGS="-I$URCU_INCS" +export LDFLAGS="-L$URCU_LIBS" +export LD_LIBRARY_PATH="$URCU_LIBS:$LD_LIBRARY_PATH" + +PREFIX="$WORKSPACE/build" + +./bootstrap + +CONF_OPTS="" + +case "$conf" in +# Unsupported! liblttng-ust can't pull in it's static (.a) dependencies. +#static) +# echo "Static build" +# CONF_OPTS="--enable-static --disable-shared" +# ;; +java-agent) + echo "Java agent build" + export CLASSPATH="/usr/share/java/log4j-1.2.jar" + CONF_OPTS="--enable-java-agent-all" + ;; +*) + echo "Standard build" + CONF_OPTS="" + ;; +esac + +./configure --prefix=$PREFIX $CONF_OPTS +make V=1 +make install + +# Run tests +rm -rf $WORKSPACE/tap +mkdir -p $WORKSPACE/tap/unit + +cd $WORKSPACE/tests + +prove --merge --exec '' - < $WORKSPACE/tests/unit_tests --archive $WORKSPACE/tap/unit/ || true + +# TAP plugin is having a hard time with .yml files. +rm -f $WORKSPACE/tap/unit/meta.yml + +# And also with files without extension, so rename all result to *.tap +find $WORKSPACE/tap/unit/ -type f -exec mv {} {}.tap \; + +# Cleanup +make clean + +# Cleanup rpath and libtool .la files +find $WORKSPACE/build/lib -name "*.so" -exec chrpath --delete {} \; +find $WORKSPACE/build/lib -name "*.la" -exec rm -f {} \; diff --git a/lttng-ust/lttng-ust-stable-2.6 b/lttng-ust/lttng-ust-stable-2.6 deleted file mode 100755 index 3d52a49..0000000 --- a/lttng-ust/lttng-ust-stable-2.6 +++ /dev/null @@ -1,59 +0,0 @@ -# Create build directory -rm -rf $WORKSPACE/build -mkdir -p $WORKSPACE/build - -# liburcu -URCU_INCS="$WORKSPACE/dependencies/liburcu/build/include/" -URCU_LIBS="$WORKSPACE/dependencies/liburcu/build/lib/" - -export CPPFLAGS="-I$URCU_INCS" -export LDFLAGS="-L$URCU_LIBS" -export LD_LIBRARY_PATH="$URCU_LIBS:$LD_LIBRARY_PATH" - -PREFIX="$WORKSPACE/build" - -./bootstrap - -CONF_OPTS="" - -case "$conf" in -# Unsupported! liblttng-ust can't pull in it's static (.a) dependencies. -#static) -# echo "Static build" -# CONF_OPTS="--enable-static --disable-shared" -# ;; -java-agent) - echo "Java agent build" - export CLASSPATH="/usr/share/java/log4j-1.2.jar" - CONF_OPTS="--enable-java-agent-all" - ;; -*) - echo "Standard build" - CONF_OPTS="" - ;; -esac - -./configure --prefix=$PREFIX $CONF_OPTS -make V=1 -make install - -# Run tests -rm -rf $WORKSPACE/tap -mkdir -p $WORKSPACE/tap/unit - -cd $WORKSPACE/tests - -prove --merge --exec '' - < $WORKSPACE/tests/unit_tests --archive $WORKSPACE/tap/unit/ || true - -# TAP plugin is having a hard time with .yml files. -rm -f $WORKSPACE/tap/unit/meta.yml - -# And also with files without extension, so rename all result to *.tap -find $WORKSPACE/tap/unit/ -type f -exec mv {} {}.tap \; - -# Cleanup -make clean - -# Cleanup rpath and libtool .la files -find $WORKSPACE/build/lib -name "*.so" -exec chrpath --delete {} \; -find $WORKSPACE/build/lib -name "*.la" -exec rm -f {} \; diff --git a/lttng-ust/lttng-ust-stable-2.6.sh b/lttng-ust/lttng-ust-stable-2.6.sh new file mode 100755 index 0000000..3d52a49 --- /dev/null +++ b/lttng-ust/lttng-ust-stable-2.6.sh @@ -0,0 +1,59 @@ +# Create build directory +rm -rf $WORKSPACE/build +mkdir -p $WORKSPACE/build + +# liburcu +URCU_INCS="$WORKSPACE/dependencies/liburcu/build/include/" +URCU_LIBS="$WORKSPACE/dependencies/liburcu/build/lib/" + +export CPPFLAGS="-I$URCU_INCS" +export LDFLAGS="-L$URCU_LIBS" +export LD_LIBRARY_PATH="$URCU_LIBS:$LD_LIBRARY_PATH" + +PREFIX="$WORKSPACE/build" + +./bootstrap + +CONF_OPTS="" + +case "$conf" in +# Unsupported! liblttng-ust can't pull in it's static (.a) dependencies. +#static) +# echo "Static build" +# CONF_OPTS="--enable-static --disable-shared" +# ;; +java-agent) + echo "Java agent build" + export CLASSPATH="/usr/share/java/log4j-1.2.jar" + CONF_OPTS="--enable-java-agent-all" + ;; +*) + echo "Standard build" + CONF_OPTS="" + ;; +esac + +./configure --prefix=$PREFIX $CONF_OPTS +make V=1 +make install + +# Run tests +rm -rf $WORKSPACE/tap +mkdir -p $WORKSPACE/tap/unit + +cd $WORKSPACE/tests + +prove --merge --exec '' - < $WORKSPACE/tests/unit_tests --archive $WORKSPACE/tap/unit/ || true + +# TAP plugin is having a hard time with .yml files. +rm -f $WORKSPACE/tap/unit/meta.yml + +# And also with files without extension, so rename all result to *.tap +find $WORKSPACE/tap/unit/ -type f -exec mv {} {}.tap \; + +# Cleanup +make clean + +# Cleanup rpath and libtool .la files +find $WORKSPACE/build/lib -name "*.so" -exec chrpath --delete {} \; +find $WORKSPACE/build/lib -name "*.la" -exec rm -f {} \;