Project

General

Profile

Revision 35f9136d

Added by Holger Hans Peter Freyther over 3 years ago

jenkins: Add the build script from jenkins here

This can be used to replicate a build issue more easily.

View differences:

contrib/jenkins.sh
1
#!/usr/bin/env bash
2

  
3
set -ex
4

  
5
rm -rf deps/install
6
mkdir deps || true
7
cd deps
8
osmo-deps.sh libosmocore
9

  
10
cd libosmocore
11
autoreconf --install --force
12
./configure --prefix=$PWD/../install
13
$MAKE $PARALLEL_MAKE install
14

  
15
cd ../
16
osmo-deps.sh libosmo-abis
17
cd libosmo-abis
18
autoreconf --install --force
19
PKG_CONFIG_PATH=$PWD/../install/lib/pkgconfig:$PKG_CONFIG_PATH ./configure --prefix=$PWD/../install  
20
PKG_CONFIG_PATH=$PWD/..//install/lib/pkgconfig:$PKG_CONFIG_PATH $MAKE $PARALLEL_MAKE install
21

  
22
cd ../
23
osmo-deps.sh libosmo-netif
24
cd libosmo-netif
25
autoreconf --install --force
26
PKG_CONFIG_PATH=$PWD/../install/lib/pkgconfig:$PKG_CONFIG_PATH ./configure --prefix=$PWD/../install  
27
PKG_CONFIG_PATH=$PWD/..//install/lib/pkgconfig:$PKG_CONFIG_PATH $MAKE $PARALLEL_MAKE install
28

  
29

  
30
cd ../
31
osmo-deps.sh libosmo-sccp
32
cd libosmo-sccp
33
autoreconf --install --force
34
PKG_CONFIG_PATH=$PWD/../install/lib/pkgconfig ./configure --prefix=$PWD/../install  
35
PKG_CONFIG_PATH=$PWD/..//install/lib/pkgconfig $MAKE $PARALLEL_MAKE install
36

  
37
cd ../../
38
autoreconf --install --force
39
PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig ./configure
40
PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig $MAKE $PARALLEL_MAKE
41
PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig LD_LIBRARY_PATH=$PWD/deps/install/lib $MAKE distcheck

Also available in: Unified diff

Add picture from clipboard (Maximum size: 48.8 MB)