summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-09-06 18:12:48 -0400
committerBen Gamari <ben@smart-cactus.org>2020-09-07 03:18:32 -0400
commit104b0ccd45dd47c4032f0508dc2c710ee01266e0 (patch)
tree6d3fdc5ce9675b4c8bdace56145dc219b70abc9e
parent4e8f05fa345f5cd6e0c34b1466adbbbd771db03e (diff)
downloadhaskell-104b0ccd45dd47c4032f0508dc2c710ee01266e0.tar.gz
gitlab-ci: Configure bignum backend in Hadrian builds
-rwxr-xr-x.gitlab/ci.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab/ci.sh b/.gitlab/ci.sh
index f031c5f03f..81086d2ce1 100755
--- a/.gitlab/ci.sh
+++ b/.gitlab/ci.sh
@@ -427,10 +427,12 @@ function clean() {
}
function run_hadrian() {
+ if [ -z "$BIGNUM_BACKEND" ]; then BIGNUM_BACKEND="gmp"; fi
run hadrian/build-cabal \
--flavour="$FLAVOUR" \
-j"$cores" \
--broken-test="$BROKEN_TESTS" \
+ --bignum=$BIGNUM_BACKEND \
$HADRIAN_ARGS \
$@
}