forked from vmware/concord-bft
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcmake-build-options.sh
More file actions
executable file
·36 lines (33 loc) · 883 Bytes
/
cmake-build-options.sh
File metadata and controls
executable file
·36 lines (33 loc) · 883 Bytes
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
33
34
35
36
#!/bin/bash -ex
# Helper script for invoking cmake with various options.
# The list of options is obtained using the following command and are needed to be updated when options change:
# cmake -LA ..| grep -vE "^--|^CMAKE|_DIR|_LIBRARY|NOTFOUND|^LIB|FILEPATH"
#
[[ -d build ]] || mkdir build
cd build
#CC=clang CXX=clang++ \
cmake \
--graphviz=concord-bft.dot \
-DBUILD_COMM_TCP_PLAIN=OFF \
-DBUILD_COMM_TCP_TLS=ON \
-DBUILD_ROCKSDB_STORAGE=ON \
-DBUILD_SLOWDOWN=OFF \
-DBUILD_TESTING=OFF \
-DBUILD_THIRDPARTY=ON \
-DKEEP_APOLLO_LOGS=OFF \
-DLEAKCHECK=OFF \
-DOMIT_TEST_OUTPUT=OFF \
-DTHREADCHECK=OFF \
-DCODECOVERAGE=OFF \
-DTXN_SIGNING_ENABLED=ON \
-DUSE_FAKE_CLOCK_IN_TIME_SERVICE=OFF \
-DUSE_OPENTRACING=OFF \
-DUSE_S3_OBJECT_STORE=OFF \
-DUSE_GRPC=OFF \
-DUSE_OPENSSL=ON \
-DUSE_LOG4CPP=OFF \
-DUSE_PROMETHEUS=OFF \
-DUSE_JAEGER=OFF \
-DUSE_JSON=OFF \
-DUSE_HTTPLIB=OFF \
..