Fix scan-build job for lttng-ust
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 3 Sep 2015 19:00:10 +0000 (15:00 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Thu, 3 Sep 2015 19:00:10 +0000 (15:00 -0400)
jobs/lttng-ust.yaml
scripts/lttng-ust/scan-build.sh

index fdce43aee25229a2015adaef2757540005a71324..cda7068312a2704bae79d4f3a374ba1b43aab164 100644 (file)
           artifacts: 'build/**'
           allow-empty: false
       - workspace-cleanup
+      - ircbot:
+          matrix-notifier: only-parent
+          channels:
+            - name: '#lttng'
 
 
 - job-template:
           cron: "@daily"
 
     builders:
+      - copyartifact:
+          project: liburcu_master_build/arch=x86-64,conf=std,build=std
+          which-build: last-successful
+          stable: true
+          filter: 'build/**'
+          target: 'deps/liburcu'
+          do-not-fingerprint: true
       - shell:
           !include-raw-escape scripts/lttng-ust/scan-build.sh
 
     publishers:
       - workspace-cleanup
 
+# TODO
 - job-template:
     name: lttng-ust_{version}_pylint
     defaults: lttng-ust
index e67305a49e9daccfef821e08e4ac505f62bf613f..da98d40dfa68f001d7c082e40cab838a631b9d84 100755 (executable)
@@ -29,7 +29,15 @@ SCAN_BUILD_ARCHIVE="${WORKSPACE}/scan-build-archive"
 rm -rf $WORKSPACE/build
 mkdir -p $WORKSPACE/build
 
+# liburcu
+URCU_INCS="$WORKSPACE/deps/liburcu/build/include/"
+URCU_LIBS="$WORKSPACE/deps/liburcu/build/lib/"
+
 export CFLAGS="-O0 -g -DDEBUG"
+export CPPFLAGS="-I$URCU_INCS"
+export LDFLAGS="-L$URCU_LIBS"
+export LD_LIBRARY_PATH="$URCU_LIBS:${LD_LIBRARY_PATH:-}"
+
 PREFIX="$WORKSPACE/build"
 
 ./bootstrap
This page took 0.023933 seconds and 4 git commands to generate.