From 7d6251c9690cf3d051f326b036fc0f67436a0446 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 12 Apr 2016 18:14:13 -0700 Subject: [PATCH] Don't try to do parallel builds on Windows. --- Gruntfile.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index db6ff1457..3894126c4 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -15,7 +15,7 @@ module.exports = (grunt) -> pkg: loadPkg() BIN: ['node_modules', '.bin', ''].join(path.sep) - ncpus: os.cpus().length + MAKEFLAGS: if process.platform is 'linux' then "-j#{os.cpus().length}" else '' shell: options: @@ -23,11 +23,11 @@ module.exports = (grunt) -> stderr: true failOnError: true build: - command: 'make -j<%= ncpus %>' + command: 'make <%= MAKEFLAGS %>' full: command: """ make cleanall - make -j<%= ncpus %> all + make <%= MAKEFLAGS %> all """.split('\n').join('&&') clean: command: 'make clean'