/pidgin/main: 8cf47ff9be6e: use nproc instead of parsing /proc/c...

Gary Kramlich <[email protected]> Wed, 14 Sep 2016 15:54:40 -0400
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 8cf47ff9be6e68c9e324a43456ef07174504b9df
Author:	 Gary Kramlich <[email protected]>
Date:	 2016-09-09 10:31 -0500
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/8cf47ff9be6e

Description:

use nproc instead of parsing /proc/cpuinfo

diffstat:

 bitbucket-pipelines.yml |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (13 lines):

diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml
--- a/bitbucket-pipelines.yml
+++ b/bitbucket-pipelines.yml
@@ -6,7 +6,6 @@ pipelines:
         script:
           - set -ex
           - ./autogen.sh --disable-kwallet --disable-meanwhile --enable-debug --enable-gtk-doc
-          - CPUS=$(cat /proc/cpuinfo | egrep "^processor\s+:" | wc -l)
-          - make -s -j${CPUS}
-          - make -s -j${CPUS} check
+          - make -s -j$(nproc)
+          - make -s -j$(nproc) check
 

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits