jenkins: tweak openbsd configuration
authorJustus Winter <justus@g10code.com>
Wed, 18 Jan 2017 11:33:30 +0000 (12:33 +0100)
committerJustus Winter <justus@g10code.com>
Wed, 18 Jan 2017 11:33:30 +0000 (12:33 +0100)
misc/jenkins/README.org
misc/jenkins/bin/build.bash

index 0fe24c7..4862601 100644 (file)
@@ -23,3 +23,12 @@ Add some compatibility links to PATH:
   $ cd compat
   $ ln -s /usr/local/bin/gmakeinfo makeinfo
   $ [ add $HOME/compat to ~/.profile ]
+
+Tweak limits:
+
+  # echo 'jenkins:\
+        :maxproc-max=1024:\
+        :maxproc-cur=1024:\
+        :tc=pbuild:
+' >> /etc/login.conf
+  # user mod -L jenkins jenkins
index cc15bf4..48cd353 100755 (executable)
@@ -99,7 +99,7 @@ case "$JOB_NAME" in
            CONFIGUREFLAGS="$CONFIGUREFLAGS --with-libiconv-prefix=$HOME/pkg"
        fi
        if [ "$NODE_NAME" = openbsd60 ]; then
-           CONFIGUREFLAGS="$CONFIGUREFLAGS --with-libiconv-prefix=/usr/local"
+           CONFIGUREFLAGS="$CONFIGUREFLAGS --with-libiconv-prefix=/usr/local --with-bzip2=/usr/local"
        fi
 
        # The libraries use rpath when linking the tests, so they