-
Notifications
You must be signed in to change notification settings - Fork 0
/
autogen.sh
executable file
·34 lines (20 loc) · 729 Bytes
/
autogen.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
# git submodule init
# git submodule update
# MIQS_HOME=`pwd`
# RUSTUP_PATH=`which rustup`
# if [[ "${RUSTUP_PATH}x" == "x" ]]; then
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# fi
# rustup update
# cd ${MIQS_HOME}/src/lib/rust_mongo_bench
# cargo build --release
# cd ${MIQS_HOME}/src/lib/json-c
# mkdir build
# cd build
# cmake -DCMAKE_INSTALL_PREFIX=./json_c_lib ../
# make && make install
# cd ${MIQS_HOME}
# export CRAYPE_LINK_TYPE=dynamic
# cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -H${MIQS_HOME} -B${MIQS_HOME}/build -G "Unix Makefiles"
# cmake --build ${MIQS_HOME}/build --config Debug --target all -- -j 14