0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-10 10:52:31 -05:00

ci: Guess the native host when not cross compiling

This commit is contained in:
MarcoFalke 2019-11-07 13:52:06 -05:00
parent fa8a60bce9
commit faf757a125
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -23,8 +23,8 @@ export MAKEJOBS=${MAKEJOBS:--j4}
export BASE_SCRATCH_DIR=${BASE_SCRATCH_DIR:-$BASE_ROOT_DIR/ci/scratch/} export BASE_SCRATCH_DIR=${BASE_SCRATCH_DIR:-$BASE_ROOT_DIR/ci/scratch/}
# What host to compile for. See also ./depends/README.md # What host to compile for. See also ./depends/README.md
# Tests that need cross-compilation export the appropriate HOST. # Tests that need cross-compilation export the appropriate HOST.
# Tests that run natively, do not set a HOST, but we assume x86_64 here if the calling environment did not set a HOST # Tests that run natively guess the host
export HOST=${HOST:-x86_64-unknown-linux-gnu} export HOST=${HOST:-$("$BASE_ROOT_DIR/depends/config.guess")}
# Whether to prefer BusyBox over GNU utilities # Whether to prefer BusyBox over GNU utilities
export USE_BUSY_BOX=${USE_BUSY_BOX:-false} export USE_BUSY_BOX=${USE_BUSY_BOX:-false}
export RUN_UNIT_TESTS=${RUN_UNIT_TESTS:-true} export RUN_UNIT_TESTS=${RUN_UNIT_TESTS:-true}