2017-07-21 21:19:52 +08:00
|
|
|
# WARNING: do not run this script without defining THREADS!
|
|
|
|
# If THREADS isn't defined then this script will call 'make -j'.
|
|
|
|
# From the manpage: "If the -j option is given without an argument, make will not limit the number of jobs that can run simultaneously."
|
|
|
|
# That means that the whole build will be started simultaneously and IT WILL CRASH YOUR COMPUTER!
|
|
|
|
|
2017-08-24 21:03:21 +08:00
|
|
|
cd ../../..
|
|
|
|
|
|
|
|
cp -r memgraph parent
|
|
|
|
|
|
|
|
cd memgraph
|
2017-07-21 21:19:52 +08:00
|
|
|
|
2017-07-30 05:17:17 +08:00
|
|
|
TIMEOUT=600 ./init
|
2017-07-21 21:19:52 +08:00
|
|
|
bash -c "doxygen Doxyfile >/dev/null 2>/dev/null"
|
|
|
|
|
|
|
|
cd build
|
|
|
|
cmake -DTEST_COVERAGE=ON ..
|
|
|
|
TIMEOUT=1000 make -j$THREADS
|
|
|
|
|
2017-07-30 05:17:17 +08:00
|
|
|
cd ..
|
|
|
|
mkdir build_release
|
2017-08-24 21:03:21 +08:00
|
|
|
|
2017-07-30 05:17:17 +08:00
|
|
|
cd build_release
|
2017-08-24 21:03:21 +08:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=release ..
|
2017-08-25 17:08:45 +08:00
|
|
|
TIMEOUT=1000 make -j$THREADS memgraph_link_target memgraph__macro_benchmark__harness_client
|
2017-07-30 05:17:17 +08:00
|
|
|
|
2017-08-24 21:03:21 +08:00
|
|
|
cd ../../parent
|
|
|
|
|
|
|
|
git checkout HEAD~1
|
|
|
|
TIMEOUT=600 ./init
|
|
|
|
|
|
|
|
cd build
|
2017-07-30 05:17:17 +08:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=release ..
|
2017-08-25 19:44:35 +08:00
|
|
|
TIMEOUT=1000 make -j$THREADS memgraph_link_target parent__macro_benchmark__harness_client
|
2017-07-30 05:17:17 +08:00
|
|
|
|
2017-08-24 21:03:21 +08:00
|
|
|
cd ../../memgraph/tools/apollo
|
2017-07-21 21:19:52 +08:00
|
|
|
|
2017-07-30 16:58:19 +08:00
|
|
|
./generate diff
|