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-07-30 16:58:19 +08:00
|
|
|
cd ../..
|
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
|
2017-12-04 20:56:17 +08:00
|
|
|
cmake -DTOOLS=ON ..
|
2017-07-21 21:19:52 +08:00
|
|
|
TIMEOUT=1000 make -j$THREADS
|
|
|
|
|
2017-07-30 05:17:17 +08:00
|
|
|
cd ..
|
|
|
|
mkdir build_release
|
|
|
|
cd build_release
|
|
|
|
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=release ..
|
2017-12-11 22:51:53 +08:00
|
|
|
TIMEOUT=1000 make -j$THREADS memgraph memgraph__macro_benchmark memgraph__stress
|
2017-07-30 05:17:17 +08:00
|
|
|
|
2017-12-04 20:56:17 +08:00
|
|
|
# Install tools, because they may be needed to run some benchmarks and tests.
|
2017-10-25 21:28:10 +08:00
|
|
|
cd ../tools
|
|
|
|
./setup
|
2017-07-21 21:19:52 +08:00
|
|
|
|
2017-10-25 21:28:10 +08:00
|
|
|
cd apollo
|
2017-07-30 16:58:19 +08:00
|
|
|
./generate debug
|