From 3b750c5a5ee5de691ddd9064f8dae9abb7a88917 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Mon, 25 Apr 2016 16:40:47 +0200 Subject: [PATCH] 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. --- ceph-pull-requests/config/definitions/ceph-pull-requests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph-pull-requests/config/definitions/ceph-pull-requests.yml b/ceph-pull-requests/config/definitions/ceph-pull-requests.yml index b1675a4e..00058867 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 -- 2.39.5