Add email notification to barectf jobs
[lttng-ci.git] / scripts / liburcu / build.sh
index 76c0c614972bad01963f438b1498b5c36c55c53b..6b0298ae8ba9ad676eb8f8ad135a9d64f11f826f 100755 (executable)
@@ -84,6 +84,7 @@ rm -rf "$PREFIX" "$TMPDIR"
 mkdir -p "$PREFIX" "$TMPDIR"
 
 export TMPDIR
+export CFLAGS="-g -O2"
 
 # Set platform variables
 case "$arch" in
@@ -115,7 +116,7 @@ macosx)
     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"
     ;;
 
@@ -154,7 +155,7 @@ debug-rcu)
     if vergte "$PACKAGE_VERSION" "0.10"; then
        CONF_OPTS="--enable-rcu-debug"
     else
-       export CFLAGS="${CFLAGS:} -DDEBUG_RCU"
+       export CFLAGS="$CFLAGS -DDEBUG_RCU"
     fi
     ;;
 
@@ -209,7 +210,7 @@ $MAKE -j "$($NPROC)" V=1
 $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
This page took 0.023826 seconds and 4 git commands to generate.