From: Erwan Velu Date: Mon, 25 Apr 2016 14:40:47 +0000 (+0200) Subject: ceph-pull-requests: Override processor numbers X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F371%2Fhead;p=ceph-build.git ceph-pull-requests: Override processor numbers By default, run-make-check divide by 2 the number of processors to be used during the make process. When building a PR on our build farm, we need to use the full potential of the build hosts. By overriding NPROC with the actual number of processors, we speedup the build process and use in a more efficient way the build hosts. --- diff --git a/ceph-pull-requests/config/definitions/ceph-pull-requests.yml b/ceph-pull-requests/config/definitions/ceph-pull-requests.yml index b1675a4e3..000588671 100644 --- a/ceph-pull-requests/config/definitions/ceph-pull-requests.yml +++ b/ceph-pull-requests/config/definitions/ceph-pull-requests.yml @@ -46,7 +46,7 @@ wipe-workspace: true builders: - - shell: "timeout 7200 ./run-make-check.sh" + - shell: "export NPROC=$(nproc); timeout 7200 ./run-make-check.sh" publishers: - github-notifier