File tree 4 files changed +44
-26
lines changed
4 files changed +44
-26
lines changed Original file line number Diff line number Diff line change 1
- machine :
2
- environment :
3
- LD_LIBRARY_PATH : .:`cat /etc/ld.so.conf.d/* | grep -v -E "#" | tr "\\n" ":" | sed -e "s/:$//g"`
4
- pre :
5
- - sudo add-apt-repository -y ppa:boost-latest/ppa
6
- # - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
7
- - sudo rm -f -f /etc/apt/sources.list.d/neo4j.list
8
- - sudo apt-get update
9
-
10
1
checkout :
11
2
post :
12
3
- git submodule sync
13
4
- git submodule update --init
14
- - for dep in midgard baldr sif mjolnir loki odin; do git clone --depth=1 --recurse-submodules --single-branch --branch=master https://github.com/valhalla/$dep.git deps/$dep; done
15
5
16
6
dependencies :
17
7
override :
18
- - sudo apt-get remove --purge -y libboost*
19
- - sudo apt-get install -y autoconf automake libtool make gcc-4.8 g++-4.8 libboost1.54-dev libboost-program-options1.54-dev libboost-filesystem1.54-dev libboost-system1.54-dev libboost-thread1.54-dev lcov protobuf-compiler libprotobuf-dev lua5.2 liblua5.2-dev
20
- - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
21
- - scripts/install_service_deps.sh
22
- # valhalla dependencies
23
- - cd deps; for dep in midgard baldr sif mjolnir loki odin; do cd $dep; ./autogen.sh && ./configure CPPFLAGS=-DBOOST_SPIRIT_THREADSAFE && sudo make -j4 install; cd ..; done
8
+ - scripts/dependencies.sh
24
9
25
10
test :
26
- pre :
27
- - ./autogen.sh && ./configure --enable-coverage --with-valhalla-midgard=/usr/local --with-valhalla-baldr=/usr/local --with-valhalla-loki=/usr/local --with-valhalla-odin=/usr/local --with-valhalla-sif=/usr/local --with-valhalla-mjolnir=/usr/local CPPFLAGS=-DBOOST_SPIRIT_THREADSAFE
28
11
override :
29
- - make test -j4
30
- post :
31
- - sudo make install
12
+ - scripts/install.sh
32
13
33
14
general :
34
15
artifacts :
35
16
- config.log
36
17
- test/*.log
37
18
- Makefile
38
- - valhalla/config.h
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+
4
+ export LD_LIBRARY_PATH=.:` cat /etc/ld.so.conf.d/* | grep -v -E " #" | tr " \\ n" " :" | sed -e " s/:$//g" `
5
+ sudo apt-get install -y autoconf automake libtool make gcc-4.8 g++-4.8 libboost1.54-dev libboost-program-options1.54-dev libboost-filesystem1.54-dev libboost-system1.54-dev libboost-thread1.54-dev lcov protobuf-compiler libprotobuf-dev
6
+ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
7
+
8
+ # clone async
9
+ mkdir -p deps
10
+ for dep in midgard baldr sif; do
11
+ git clone --depth=1 --recurse-submodules --single-branch --branch=master https://github.com/valhalla/$dep .git deps/$dep &
12
+ done
13
+ wait
14
+
15
+ # install the service deps in the background
16
+ DIR=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd )
17
+ $DIR /install_service_deps.sh &
18
+
19
+ # build sync
20
+ for dep in midgard baldr sif; do
21
+ pushd deps/$dep
22
+ ./autogen.sh
23
+ ./configure CPPFLAGS=-DBOOST_SPIRIT_THREADSAFE
24
+ make -j4
25
+ sudo make install
26
+ popd
27
+ done
28
+ wait
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+
4
+ export LD_LIBRARY_PATH=.:` cat /etc/ld.so.conf.d/* | grep -v -E " #" | tr " \\ n" " :" | sed -e " s/:$//g" `
5
+ ./autogen.sh
6
+ ./configure --enable-coverage
7
+ make test -j4
8
+ sudo make install
Original file line number Diff line number Diff line change 4
4
# grab the latest zmq library:
5
5
git clone --depth=1 --recurse-submodules --single-branch --branch=master https://github.com/zeromq/libzmq.git
6
6
pushd libzmq
7
- ./autogen.sh && ./configure --without-libsodium --without-documentation && make -j4
7
+ ./autogen.sh
8
+ ./configure --without-libsodium --without-documentation
9
+ make -j4
8
10
sudo make install
9
11
popd
10
- rm -rf libzmq
11
12
12
13
# grab experimental zmq-based server API:
13
14
git clone --depth=1 --recurse-submodules --single-branch --branch=master https://github.com/kevinkreiser/prime_server.git
14
15
pushd prime_server
15
- ./autogen.sh && ./configure && make test -j4
16
+ ./autogen.sh
17
+ ./configure
18
+ make -j4
16
19
sudo make install
17
20
popd
18
- rm -rf prime_server
You can’t perform that action at this time.
0 commit comments