[commit: ghc] wip/jenkins: Unregisterised (3019767)

git at git.haskell.org git at git.haskell.org
Sun Jun 4 05:09:09 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/jenkins
Link       : http://ghc.haskell.org/trac/ghc/changeset/30197671df3dbdeb6289b9f8bd8e2fc5bb1c8768/ghc

>---------------------------------------------------------------

commit 30197671df3dbdeb6289b9f8bd8e2fc5bb1c8768
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu May 18 01:55:35 2017 -0400

    Unregisterised


>---------------------------------------------------------------

30197671df3dbdeb6289b9f8bd8e2fc5bb1c8768
 Jenkinsfile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index d759a03..ecaf027 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -23,7 +23,7 @@ def installPackages(String[] pkgs) {
   sh "cabal install -j${env.THREADS} --with-compiler=`pwd`/inplace/bin/ghc-stage2 --package-db=`pwd`/inplace/lib/package.conf.d ${pkgs.join(' ')}"
 }
 
-def buildGhc(boolean runNofib, String cross_target=null) {
+def buildGhc(boolean runNofib, String cross_target=null, boolean unreg=false) {
   stage('Clean') {
     checkout scm
     if (false) {
@@ -53,9 +53,12 @@ def buildGhc(boolean runNofib, String cross_target=null) {
     }
     writeFile(file: 'mk/build.mk', text: build_mk)
 
-    def target_opt = ''
+    def configure_opts = '--enable-tarballs-autodownload'
     if (cross_target) {
-      target_opt = "--target=${cross_target}"
+      configure_opts += "--target=${cross_target}"
+    }
+    if (unreg) {
+      configure_opts += "--enable-unregisterised"
     }
     sh """
        ./boot



More information about the ghc-commits mailing list