1 # Create build directory
2 rm -rf $WORKSPACE/build
3 mkdir
-p $WORKSPACE/build
6 URCU_INCS
="$WORKSPACE/dependencies/liburcu/build/include/"
7 URCU_LIBS
="$WORKSPACE/dependencies/liburcu/build/lib/"
9 export CPPFLAGS
="-I$URCU_INCS"
10 export LDFLAGS
="-L$URCU_LIBS"
11 export LD_LIBRARY_PATH
="$URCU_LIBS:$LD_LIBRARY_PATH"
13 PREFIX
="$WORKSPACE/build"
20 # Unsupported! liblttng-ust can't pull in it's static (.a) dependencies.
23 # CONF_OPTS="--enable-static --disable-shared"
26 echo "Java agent build"
27 export CLASSPATH
="/usr/share/java/log4j-1.2.jar"
28 CONF_OPTS
="--enable-java-agent-all"
38 # oot : out-of-tree build
39 # dist: build via make dist
40 # * : normal tree build
43 BUILD_PATH
=$WORKSPACE/oot
53 $WORKSPACE/configure
--prefix=$PREFIX $CONF_OPTS
59 mkdir
-p $WORKSPACE/tap
/unit
63 prove
--merge --exec '' - < $BUILD_PATH/tests
/unit_tests
--archive $WORKSPACE/tap
/unit
/ || true
65 # TAP plugin is having a hard time with .yml files.
66 rm -f $WORKSPACE/tap
/unit
/meta.yml
68 # And also with files without extension, so rename all result to *.tap
69 find $WORKSPACE/tap
/unit
/ -type f
-exec mv {} {}.tap \
;
74 # Cleanup rpath and libtool .la files
75 find $WORKSPACE/build
/lib
-name "*.so" -exec chrpath
--delete {} \
;
76 find $WORKSPACE/build
/lib
-name "*.la" -exec rm -f {} \
;
This page took 0.031037 seconds and 4 git commands to generate.