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/}
# What host to compile for. See also ./depends/README.md
# 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
export HOST=${HOST:-x86_64-unknown-linux-gnu}
# Tests that run natively guess the host
export HOST=${HOST:-$("$BASE_ROOT_DIR/depends/config.guess")}
# Whether to prefer BusyBox over GNU utilities
export USE_BUSY_BOX=${USE_BUSY_BOX:-false}
export RUN_UNIT_TESTS=${RUN_UNIT_TESTS:-true}