|
69 | 69 |
|
70 | 70 | # The default build directory. |
71 | 71 | #------------------------------------------------------------------------------ |
72 | | -BUILD_DIR="build-libbitcoin-server" |
| 72 | +BUILD_SRC_DIR="build-libbitcoin-server" |
73 | 73 |
|
74 | 74 | PRESUMED_CI_PROJECT_PATH=$(pwd) |
75 | 75 |
|
@@ -176,13 +176,13 @@ make_jobs() |
176 | 176 | shift 1 |
177 | 177 |
|
178 | 178 | VERBOSITY="" |
179 | | - if [[ DISPLAY_VERBOSE ]]; then |
| 179 | + if [[ $DISPLAY_VERBOSE ]]; then |
180 | 180 | VERBOSITY="VERBOSE=1" |
181 | 181 | fi |
182 | 182 |
|
183 | 183 | SEQUENTIAL=1 |
184 | 184 | # Avoid setting -j1 (causes problems on single threaded systems [TRAVIS]). |
185 | | - if [[ $JOBS > $SEQUENTIAL ]]; then |
| 185 | + if [[ $JOBS -gt $SEQUENTIAL ]]; then |
186 | 186 | make -j"$JOBS" "$@" $VERBOSITY |
187 | 187 | else |
188 | 188 | make "$@" $VERBOSITY |
@@ -289,7 +289,7 @@ parse_command_line_options() |
289 | 289 | (--build-zmq) BUILD_ZMQ="yes";; |
290 | 290 |
|
291 | 291 | # Unique script options. |
292 | | - (--build-dir=*) BUILD_DIR="${OPTION#*=}";; |
| 292 | + (--build-dir=*) BUILD_SRC_DIR="${OPTION#*=}";; |
293 | 293 | (--preset=*) PRESET_ID="${OPTION#*=}";; |
294 | 294 |
|
295 | 295 | # Handle ndebug declarations due to disabled argument passthrough |
@@ -344,11 +344,6 @@ set_os_specific_compiler_settings() |
344 | 344 | else # Linux |
345 | 345 | STDLIB="stdc++" |
346 | 346 | fi |
347 | | - |
348 | | - if [[ ($OS == Darwin) && ($CC == clang*) ]]; then |
349 | | - CFLAGS="${CFLAGS} -DBOOST_NO_CXX98_FUNCTION_BASE" |
350 | | - CXXFLAGS="${CXXFLAGS} -DBOOST_NO_CXX98_FUNCTION_BASE" |
351 | | - fi |
352 | 347 | } |
353 | 348 |
|
354 | 349 | link_to_standard_library() |
@@ -535,7 +530,7 @@ display_configuration() |
535 | 530 | display_message "BUILD_SECP256K1 : $BUILD_SECP256K1" |
536 | 531 | display_message "BUILD_ZMQ : $BUILD_ZMQ" |
537 | 532 | display_message "BOOST_ROOT : $BOOST_ROOT" |
538 | | - display_message "BUILD_DIR : $BUILD_DIR" |
| 533 | + display_message "BUILD_SRC_DIR : $BUILD_SRC_DIR" |
539 | 534 | display_message "PRESET_ID : $PRESET_ID" |
540 | 535 | display_message "CUMULATIVE_FILTERED_ARGS : $CUMULATIVE_FILTERED_ARGS" |
541 | 536 | display_message "CUMULATIVE_FILTERED_ARGS_CMAKE : $CUMULATIVE_FILTERED_ARGS_CMAKE" |
@@ -1179,10 +1174,10 @@ BITCOIN_SERVER_OPTIONS=( |
1179 | 1174 | display_configuration |
1180 | 1175 |
|
1181 | 1176 | if [[ ! ($CI == true) ]]; then |
1182 | | - create_directory "$BUILD_DIR" |
1183 | | - push_directory "$BUILD_DIR" |
| 1177 | + create_directory "$BUILD_SRC_DIR" |
| 1178 | + push_directory "$BUILD_SRC_DIR" |
1184 | 1179 | else |
1185 | | - push_directory "$BUILD_DIR" |
| 1180 | + push_directory "$BUILD_SRC_DIR" |
1186 | 1181 | fi |
1187 | 1182 |
|
1188 | 1183 | initialize_git |
|
0 commit comments