diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-11-04 13:57:02 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-11-04 14:10:24 -0500 |
commit | fa8a60bce9a0b407f8fbed5409fccaad1204b7e7 (patch) | |
tree | 006b737378e41a30a3ae5d16f7ec916956833683 /ci/test/00_setup_env.sh | |
parent | fa56bcbb010467fc26c8c50e077d050abaeda9b8 (diff) |
ci: Run non-cross-compile builds natively
Diffstat (limited to 'ci/test/00_setup_env.sh')
-rwxr-xr-x | ci/test/00_setup_env.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/test/00_setup_env.sh b/ci/test/00_setup_env.sh index 8bc50da2c3..07b191739a 100755 --- a/ci/test/00_setup_env.sh +++ b/ci/test/00_setup_env.sh @@ -21,6 +21,9 @@ echo "Fallback to default values in env (if not yet set)" export MAKEJOBS=${MAKEJOBS:--j4} # A folder for the ci system to put temporary files (ccache, datadirs for tests, ...) 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} # Whether to prefer BusyBox over GNU utilities export USE_BUSY_BOX=${USE_BUSY_BOX:-false} |