diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-05-17 18:02:50 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-04-17 14:46:09 -0400 |
commit | db673811e674dc246fefa432d205f67ef3c56dbc (patch) | |
tree | 0d36865adacaf0f3ce4fd4b074d3266f4d568f54 /config.testing | |
parent | 6c36c3fac724435328d1ba3df47b435087ef9795 (diff) |
test/: Make which architectures to build for configurable.
Diffstat (limited to 'config.testing')
-rw-r--r-- | config.testing | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config.testing b/config.testing index a7ec4d1..24c2283 100644 --- a/config.testing +++ b/config.testing @@ -1,5 +1,10 @@ #!/hint/bash +# The host architecture +ARCH_HOST=$(uname -m) +# Which architectures should we test building for? +ARCH_BUILD=("$ARCH_HOST"); if [[ $ARCH_HOST == x86_64 ]]; then ARCH_BUILD+=("i686"); fi + # override the default TMPDIR [[ -n $MASTER_TMPDIR ]] || export MASTER_TMPDIR="$(mktemp -dt "${0##*/}.XXXXXXXXXX")" TMPDIR=$MASTER_TMPDIR |