[commit: ghc] wip/jenkins: Fix configure arguments (00e6918)
git at git.haskell.org
git at git.haskell.org
Tue May 30 02:56:10 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/jenkins
Link : http://ghc.haskell.org/trac/ghc/changeset/00e69186276a3d90f7b9727c46de6c5c851d3db9/ghc
>---------------------------------------------------------------
commit 00e69186276a3d90f7b9727c46de6c5c851d3db9
Author: Ben Gamari <ben at smart-cactus.org>
Date: Mon May 29 22:55:51 2017 -0400
Fix configure arguments
>---------------------------------------------------------------
00e69186276a3d90f7b9727c46de6c5c851d3db9
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