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

git at git.haskell.org git at git.haskell.org
Mon May 29 20:34:43 UTC 2017


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

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

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

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

    Disable large address space on FreeBSD


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

a4faeed6e3faa8026234fc4b4d7ee9d2fa2dec69
 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