From 90e91bcce9c34e386f3fb9facbed9c69308eeafc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Thu, 3 Jun 2010 10:31:45 +0000 Subject: [PATCH] actionsapi/scons: Pass -j option to enable parallel builds --- pisi/actionsapi/scons.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/actionsapi/scons.py b/pisi/actionsapi/scons.py index 82df7ae7..6b2a146e 100644 --- a/pisi/actionsapi/scons.py +++ b/pisi/actionsapi/scons.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2005 - 2007, TUBITAK/UEKAE +# Copyright (C) 2005-2010 TUBITAK/UEKAE # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free @@ -35,7 +35,7 @@ class InstallError(pisi.actionsapi.Error): ctx.ui.error(value) def make(parameters = ''): - if system('scons %s' % parameters): + if system('scons %s %s' % (get.makeJOBS(), parameters)): raise MakeError(_('Make failed.')) def install(parameters = 'install', prefix = get.installDIR(), argument='prefix'):