|
63 | 63 |
|
64 | 64 | # The default build directory. |
65 | 65 | #------------------------------------------------------------------------------ |
66 | | -BUILD_DIR="build-libbitcoin-system" |
| 66 | +BUILD_SRC_DIR="build-libbitcoin-system" |
67 | 67 |
|
68 | 68 | PRESUMED_CI_PROJECT_PATH=$(pwd) |
69 | 69 |
|
@@ -165,13 +165,13 @@ make_jobs() |
165 | 165 | shift 1 |
166 | 166 |
|
167 | 167 | VERBOSITY="" |
168 | | - if [[ DISPLAY_VERBOSE ]]; then |
| 168 | + if [[ $DISPLAY_VERBOSE ]]; then |
169 | 169 | VERBOSITY="VERBOSE=1" |
170 | 170 | fi |
171 | 171 |
|
172 | 172 | SEQUENTIAL=1 |
173 | 173 | # Avoid setting -j1 (causes problems on single threaded systems [TRAVIS]). |
174 | | - if [[ $JOBS > $SEQUENTIAL ]]; then |
| 174 | + if [[ $JOBS -gt $SEQUENTIAL ]]; then |
175 | 175 | make -j"$JOBS" "$@" $VERBOSITY |
176 | 176 | else |
177 | 177 | make "$@" $VERBOSITY |
@@ -276,7 +276,7 @@ parse_command_line_options() |
276 | 276 | (--build-secp256k1) BUILD_SECP256K1="yes";; |
277 | 277 |
|
278 | 278 | # Unique script options. |
279 | | - (--build-dir=*) BUILD_DIR="${OPTION#*=}";; |
| 279 | + (--build-dir=*) BUILD_SRC_DIR="${OPTION#*=}";; |
280 | 280 | (--preset=*) PRESET_ID="${OPTION#*=}";; |
281 | 281 |
|
282 | 282 | # Handle ndebug declarations due to disabled argument passthrough |
@@ -331,11 +331,6 @@ set_os_specific_compiler_settings() |
331 | 331 | else # Linux |
332 | 332 | STDLIB="stdc++" |
333 | 333 | fi |
334 | | - |
335 | | - if [[ ($OS == Darwin) && ($CC == clang*) ]]; then |
336 | | - CFLAGS="${CFLAGS} -DBOOST_NO_CXX98_FUNCTION_BASE" |
337 | | - CXXFLAGS="${CXXFLAGS} -DBOOST_NO_CXX98_FUNCTION_BASE" |
338 | | - fi |
339 | 334 | } |
340 | 335 |
|
341 | 336 | link_to_standard_library() |
@@ -517,7 +512,7 @@ display_configuration() |
517 | 512 | display_message "BUILD_BOOST : $BUILD_BOOST" |
518 | 513 | display_message "BUILD_SECP256K1 : $BUILD_SECP256K1" |
519 | 514 | display_message "BOOST_ROOT : $BOOST_ROOT" |
520 | | - display_message "BUILD_DIR : $BUILD_DIR" |
| 515 | + display_message "BUILD_SRC_DIR : $BUILD_SRC_DIR" |
521 | 516 | display_message "PRESET_ID : $PRESET_ID" |
522 | 517 | display_message "CUMULATIVE_FILTERED_ARGS : $CUMULATIVE_FILTERED_ARGS" |
523 | 518 | display_message "CUMULATIVE_FILTERED_ARGS_CMAKE : $CUMULATIVE_FILTERED_ARGS_CMAKE" |
@@ -1076,10 +1071,10 @@ BITCOIN_SYSTEM_OPTIONS=( |
1076 | 1071 | display_configuration |
1077 | 1072 |
|
1078 | 1073 | if [[ ! ($CI == true) ]]; then |
1079 | | - create_directory "$BUILD_DIR" |
1080 | | - push_directory "$BUILD_DIR" |
| 1074 | + create_directory "$BUILD_SRC_DIR" |
| 1075 | + push_directory "$BUILD_SRC_DIR" |
1081 | 1076 | else |
1082 | | - push_directory "$BUILD_DIR" |
| 1077 | + push_directory "$BUILD_SRC_DIR" |
1083 | 1078 | fi |
1084 | 1079 |
|
1085 | 1080 | initialize_git |
|
0 commit comments