projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: set ulimit when running test
[lttng-ci.git]
/
scripts
/
liburcu
/
build.sh
diff --git
a/scripts/liburcu/build.sh
b/scripts/liburcu/build.sh
index 76c0c614972bad01963f438b1498b5c36c55c53b..7afb07f6e4e0d09587759b0ad592ae091fdf58e8 100755
(executable)
--- a/
scripts/liburcu/build.sh
+++ b/
scripts/liburcu/build.sh
@@
-84,6
+84,7
@@
rm -rf "$PREFIX" "$TMPDIR"
mkdir -p "$PREFIX" "$TMPDIR"
export TMPDIR
mkdir -p "$PREFIX" "$TMPDIR"
export TMPDIR
+export CFLAGS="-g -O2"
# Set platform variables
case "$arch" in
# Set platform variables
case "$arch" in
@@
-102,8
+103,6
@@
sol11-i386)
export MAKE=gmake
export TAR=gtar
export NPROC=nproc
export MAKE=gmake
export TAR=gtar
export NPROC=nproc
- export BISON="/opt/csw/bin/bison"
- export YACC="$BISON -y"
export PATH="$PATH:/usr/perl5/bin"
#export LD_ALTEXEC=/usr/sfw/bin/gld
#export LD=/usr/sfw/bin/gld
export PATH="$PATH:/usr/perl5/bin"
#export LD_ALTEXEC=/usr/sfw/bin/gld
#export LD=/usr/sfw/bin/gld
@@
-115,7
+114,7
@@
macosx)
export BISON="bison"
export YACC="$BISON -y"
export LDFLAGS="-L/opt/local/lib"
export BISON="bison"
export YACC="$BISON -y"
export LDFLAGS="-L/opt/local/lib"
- export CFLAGS="-I/opt/local/include"
+ export CFLAGS="
$CFLAGS
-I/opt/local/include"
export PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
;;
export PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
;;
@@
-154,7
+153,12
@@
debug-rcu)
if vergte "$PACKAGE_VERSION" "0.10"; then
CONF_OPTS="--enable-rcu-debug"
else
if vergte "$PACKAGE_VERSION" "0.10"; then
CONF_OPTS="--enable-rcu-debug"
else
- export CFLAGS="${CFLAGS:} -DDEBUG_RCU"
+ export CFLAGS="$CFLAGS -DDEBUG_RCU"
+ fi
+
+ echo "Enable iterator sanity validator"
+ if vergte "$PACKAGE_VERSION" "0.11"; then
+ CONF_OPTS+=" --enable-cds-lfht-iter-debug"
fi
;;
fi
;;
@@
-209,7
+213,7
@@
$MAKE -j "$($NPROC)" V=1
$MAKE install
# Run tests
$MAKE install
# Run tests
-$MAKE check
+$MAKE
--keep-going
check
# Only run regtest for 0.9 and up
if vergte "$PACKAGE_VERSION" "0.9"; then
$MAKE regtest
# Only run regtest for 0.9 and up
if vergte "$PACKAGE_VERSION" "0.9"; then
$MAKE regtest
This page took
0.023638 seconds
and
4
git commands to generate.