[commit: ghc] wip/jenkins: Fix configure arguments (4206227)

git at git.haskell.org git at git.haskell.org
Thu Jul 27 20:49:44 UTC 2017


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

On branch  : wip/jenkins
Link       : http://ghc.haskell.org/trac/ghc/changeset/4206227926c9a1d38719ff0f9f7351606589fa2c/ghc

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

commit 4206227926c9a1d38719ff0f9f7351606589fa2c
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon May 29 22:55:51 2017 -0400

    Fix configure arguments


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

4206227926c9a1d38719ff0f9f7351606589fa2c
 Jenkinsfile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 90cf036..b2bd47a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -108,19 +108,19 @@ def buildGhc(params) {
     }
     writeFile(file: 'mk/build.mk', text: build_mk)
 
-    def configure_opts = '--enable-tarballs-autodownload'
+    def configure_opts = ['--enable-tarballs-autodownload']
     if (crossTarget) {
-      configure_opts += "--target=${crossTarget}"
+      configure_opts += '--target=${crossTarget}'
     }
     if (disableLargeAddrSpace) {
-      configure_opts += "--disable-large-address-space"
+      configure_opts += '--disable-large-address-space'
     }
     if (unreg) {
-      configure_opts += "--enable-unregisterised"
+      configure_opts += '--enable-unregisterised'
     }
     sh """
        ./boot
-       ./configure ${configure_opts}
+       ./configure ${configure_opts.join(' ')}
        """
   }
 



More information about the ghc-commits mailing list