1 # Create build directory
2 rm -rf $WORKSPACE/build
3 mkdir
-p $WORKSPACE/build
5 PREFIX
="$WORKSPACE/build"
14 CONF_OPTS
="--enable-static --disable-shared"
17 echo "Build with python bindings"
18 # We only support bindings built with Python 3
19 export PYTHON
="python3"
20 export PYTHON_CONFIG
="/usr/bin/python3-config"
21 CONF_OPTS
="--enable-python-bindings"
29 .
/configure
--prefix=$PREFIX $CONF_OPTS
35 mkdir
-p $WORKSPACE/tap
39 # Run make check tests
40 prove
--merge --exec '' - < $WORKSPACE/tests
/tests
--archive $WORKSPACE/tap
/ || true
42 # TAP plugin is having a hard time with .yml files.
43 rm -f $WORKSPACE/tap
/meta.yml
45 # And also with files without extension, so rename all result to *.tap
46 find $WORKSPACE/tap
/ -type f
-exec mv {} {}.tap \
;
50 # Cleanup rpath and libtool .la files
51 find $WORKSPACE/build
/bin
-executable -type f
-exec chrpath
--delete {} \
;
52 find $WORKSPACE/build
/lib
-name "*.so" -exec chrpath
--delete {} \
;
53 find $WORKSPACE/build
/lib
-name "*.la" -exec rm -f {} \
;
This page took 0.030548 seconds and 4 git commands to generate.