[commit: ghc] wip/jenkins: Disable large address space on FreeBSD (02b56bf)

git at git.haskell.org git at git.haskell.org
Fri Jun 9 07:24:41 UTC 2017


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

On branch  : wip/jenkins
Link       : http://ghc.haskell.org/trac/ghc/changeset/02b56bfdc9e020320d9932f28c959624291663f2/ghc

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

commit 02b56bfdc9e020320d9932f28c959624291663f2
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon May 29 16:34:26 2017 -0400

    Disable large address space on FreeBSD


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

02b56bfdc9e020320d9932f28c959624291663f2
 Jenkinsfile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 10d2280..eac4b79 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -25,7 +25,9 @@ parallel (
     node(label: 'linux && aarch64') {buildGhc(runNoFib: false)}
   },
   "freebsd"            : {
-    node(label: 'freebsd && amd64') {buildGhc(runNoFib: false, makeCmd: 'gmake')}
+    node(label: 'freebsd && amd64') {
+      buildGhc(runNoFib: false, makeCmd: 'gmake', disableLargeAddrSpace: true)
+    }
   },
   // Requires cygpath plugin?
   // Make
@@ -56,6 +58,7 @@ def buildGhc(params) {
   boolean runNoFib = params?.runNofib ?: false
   String crossTarget = params?.crossTarget
   boolean unreg = params?.unreg ?: false
+  boolean disableLargeAddrSpace = params?.disableLargeAddrSpace ?: false
   String makeCmd = params?.makeCmd ?: 'make'
 
   stage('Checkout') {
@@ -90,6 +93,9 @@ def buildGhc(params) {
     if (crossTarget) {
       configure_opts += "--target=${crossTarget}"
     }
+    if (disableLargeAddrSpace) {
+      configure_opts += "--disable-large-address-space"
+    }
     if (unreg) {
       configure_opts += "--enable-unregisterised"
     }



More information about the ghc-commits mailing list