From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: [PATCH] build-system/perl: Add handling of flags for parallel build and testing. Date: Wed, 27 Aug 2014 12:23:47 +0200 Message-ID: <20140827102347.GA19935@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMaOU-0001s6-Bm for guix-devel@gnu.org; Wed, 27 Aug 2014 06:24:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMaOM-0000fL-SO for guix-devel@gnu.org; Wed, 27 Aug 2014 06:23:58 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:58477) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMaOM-0000f3-Ic for guix-devel@gnu.org; Wed, 27 Aug 2014 06:23:50 -0400 Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org The patch below should do what is says... I needed to add the flags in two places, actually. Can I push it? Andreas * guix/build-system/perl.scm (perl-build): Add support for variables parallel-build? and parallel-tests?. * guix/build-system/gnu.scm (gnu-build): Add a line break for clarity. --- guix/build-system/gnu.scm | 3 ++- guix/build-system/perl.scm | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/guix/build-system/gnu.scm b/guix/build-system/gnu.scm index b2b184d..2c41ce0 100644 --- a/guix/build-system/gnu.scm +++ b/guix/build-system/gnu.scm @@ -268,7 +268,8 @@ System: GCC, GNU Make, Bash, Coreutils, etc." (out-of-source? #f) (tests? #t) (test-target "check") - (parallel-build? #t) (parallel-tests? #t) + (parallel-build? #t) + (parallel-tests? #t) (patch-shebangs? #t) (strip-binaries? #t) (strip-flags ''("--strip-debug")) diff --git a/guix/build-system/perl.scm b/guix/build-system/perl.scm index 5695491..e8fe2d5 100644 --- a/guix/build-system/perl.scm +++ b/guix/build-system/perl.scm @@ -47,6 +47,8 @@ (perl (default-perl)) (search-paths '()) (tests? #t) + (parallel-build? #t) + (parallel-tests? #t) (make-maker-flags ''()) (phases '(@ (guix build perl-build-system) %standard-phases)) @@ -79,6 +81,8 @@ provides a `Makefile.PL' file as its build system." #:system ,system #:test-target "test" #:tests? ,tests? + #:parallel-build? ,parallel-build? + #:parallel-tests? ,parallel-tests? #:outputs %outputs #:inputs %build-inputs))) -- 1.8.4