Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- set -e
- function test_compile {
- echo ------------------------------------
- echo ------------------------------------
- echo Compiling with $1
- echo ------------------------------------
- sudo update-alternatives --set gcc /usr/bin/gcc-$1
- cd build/
- #cmake ..
- # Release RelWithDebInfo MinSizeRel Debug
- cmake -DWITH_DOC=ON -DBUILD_DOXY=ON -DCMAKE_BUILD_TYPE=Debug ..
- #cmake -DCMAKE_VERBOSE_MAKEFILE=ON ..
- make
- sudo make install
- cp lib/pgrouting--2.4.0.sig ../tools/curr-sig/
- make doc
- make doxy
- cd ..
- #tools/testers/algorithm-tester.pl -alg dijkstra -debug1
- #tools/testers/algorithm-tester.pl -alg contraction
- #tools/testers/algorithm-tester.pl -alg pickDeliver
- #tools/testers/algorithm-tester.pl -alg trsp
- #tools/testers/algorithm-tester.pl
- #cd build
- #make doc
- #cd ..
- dropdb --if-exists ___pgr___test___
- createdb ___pgr___test___
- #sh ./tools/testers/pg_prove_tests.sh vicky
- dropdb ___pgr___test___
- }
- #test_compile 4.4
- #rm -rf build/*
- test_compile 5
- #rm -rf build/*
- #test_compile 4.9
- #rm -rf build/*
- #test_compile 4.6
- #sudo rm -f /usr/lib/postgresql/9.3/lib/libpgrouting-2.4.so
- #sudo rm -f /usr/share/postgresql/9.3/extension/pgrouting*2.4.0*
- #rm -rf build/*
- #test_compile 4.8
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement