From b59385a3ce71a204dfa417f0fd5ddfe88855aba4 Mon Sep 17 00:00:00 2001 From: Matej Ferencevic <matej.ferencevic@memgraph.io> Date: Fri, 21 Jul 2017 15:19:52 +0200 Subject: [PATCH] First version of apollo_build script. Reviewers: buda Reviewed By: buda Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D584 --- tools/apollo_build | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tools/apollo_build diff --git a/tools/apollo_build b/tools/apollo_build new file mode 100644 index 000000000..885386b70 --- /dev/null +++ b/tools/apollo_build @@ -0,0 +1,17 @@ +# 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! + +cd .. + +./init +bash -c "doxygen Doxyfile >/dev/null 2>/dev/null" + +cd build +cmake -DTEST_COVERAGE=ON .. +TIMEOUT=1000 make -j$THREADS + +cd ../tools + +./apollo_generate