[Git][ghc/ghc][wip/backports] 2 commits: gitlab-ci: Configure bignum backend in Hadrian builds

Ben Gamari gitlab at gitlab.haskell.org
Mon Sep 7 07:18:43 UTC 2020



Ben Gamari pushed to branch wip/backports at Glasgow Haskell Compiler / GHC


Commits:
104b0ccd by Ben Gamari at 2020-09-07T03:18:32-04:00
gitlab-ci: Configure bignum backend in Hadrian builds

- - - - -
cee137dc by Ben Gamari at 2020-09-07T03:18:32-04:00
gitlab-ci: Use hadrian builds for Window release artifacts

- - - - -


2 changed files:

- .gitlab-ci.yml
- .gitlab/ci.sh


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -879,13 +879,13 @@ nightly-x86_64-windows:
 # Normal Windows validate builds are profiled; that won't do for releases.
 release-x86_64-windows:
   <<: *release
-  extends: validate-x86_64-windows
+  extends: validate-x86_64-windows-hadrian
   variables:
     BUILD_FLAVOUR: "perf"
-    #
+
 release-x86_64-windows-integer-simple:
   <<: *release
-  extends: validate-x86_64-windows
+  extends: validate-x86_64-windows-hadrian
   variables:
     BIGNUM_BACKEND: native
     BUILD_FLAVOUR: "perf"


=====================================
.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 \
     $@
 }



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/46fa939cf58401d4e933012f705618f888aafb97...cee137dcab0b33915b0add69db9535ef4227f824

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/46fa939cf58401d4e933012f705618f888aafb97...cee137dcab0b33915b0add69db9535ef4227f824
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200907/ec062c16/attachment-0001.html>


More information about the ghc-commits mailing list