projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix
[lttng-ci.git]
/
userspace-rcu
/
liburcu-master.sh
diff --git
a/userspace-rcu/liburcu-master.sh
b/userspace-rcu/liburcu-master.sh
index 20da6f9d29d467c707929b7256feb5b7079c758d..52fbba46d6a725450dab36a2d3afbeb017a3a89d 100755
(executable)
--- 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
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"
;;
dist)
echo "Distribution out of tree build"
@@
-52,17
+53,18
@@
case "$build" in
cd $BUILD_PATH
# Ignore level 1 of tar
cd $BUILD_PATH
# Ignore level 1 of tar
- tar xvf *.tar.* --st
atic
rip 1
+ tar xvf *.tar.* --strip 1
$BUILD_PATH/configure --prefix=$PREFIX $CONF_OPTS
;;
*)
$BUILD_PATH/configure --prefix=$PREFIX $CONF_OPTS
;;
*)
- echo "Standard tree build"
BUILD_PATH=$WORKSPACE
BUILD_PATH=$WORKSPACE
- $WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS;;
+ echo "Standard tree build"
+ $WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS
+ ;;
esac
esac
-make
V=1
+make
make install
make clean
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 {} \;
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
if [ $build = "dist" ]; then
rm -rf $BUILD_PATH
fi
This page took
0.023078 seconds
and
4
git commands to generate.