From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzNtd-0000vt-Ju for guix-patches@gnu.org; Tue, 03 Oct 2017 10:10:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzNta-0007Rk-Ay for guix-patches@gnu.org; Tue, 03 Oct 2017 10:10:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37672) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dzNta-0007RJ-6x for guix-patches@gnu.org; Tue, 03 Oct 2017 10:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dzNta-0002TN-0o for guix-patches@gnu.org; Tue, 03 Oct 2017 10:10:02 -0400 Subject: [bug#28673] [PATCH 2/6] gnu: Add otf2. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20171002204848.23646-1-fx@gnu.org> <20171002204848.23646-2-fx@gnu.org> Date: Tue, 03 Oct 2017 16:09:11 +0200 In-Reply-To: <20171002204848.23646-2-fx@gnu.org> (Dave Love's message of "Mon, 2 Oct 2017 21:48:44 +0100") Message-ID: <878tgs5nnc.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Dave Love Cc: 28673@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dave Love skribis: > * gnu/packages/profiling.scm (otf2): New variable. Applied with the minor changes below, thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/profiling.scm b/gnu/packages/profiling.scm index 1d0a5d6c4..7c0ab6e95 100644 --- a/gnu/packages/profiling.scm +++ b/gnu/packages/profiling.scm @@ -138,7 +138,7 @@ performance measurement opportunites across the hardware and software stack.") version ".tar.gz")) (sha256 (base32 "1lyaqhdfaqm1kd23yk71g71vkscw83s7m57j017y768h8sh8xlwa")))) (native-inputs `(("python" ,python))) - (outputs '("doc" ; 18MB + (outputs '("doc" ; 18MB "lib" "out")) (build-system gnu-build-system) @@ -147,16 +147,15 @@ performance measurement opportunites across the hardware and software stack.") #:phases (modify-phases %standard-phases (add-after 'install 'licence - (lambda _ - (for-each - (lambda (op) - (let ((doc (string-append (assoc-ref %outputs op) "/share/doc"))) - (mkdir-p doc) - (install-file "COPYING" doc))) - '("lib" "doc")) + (lambda* (#:key outputs #:allow-other-keys) + (for-each (lambda (output) + (let ((doc (string-append (assoc-ref outputs output) + "/share/doc/otf2"))) + (install-file "COPYING" doc))) + '("lib" "doc")) #t))))) (home-page "http://www.vi-hps.org/projects/score-p/") (synopsis "Open Trace Format 2 library") - (description "The Open Trace Format 2 (OTF2) is a highly scalable, memory efficient event -trace data format plus support library.") + (description "The Open Trace Format 2 (OTF2) is a scalable, memory +efficient event trace data format plus support library.") (license license:bsd-3))) --=-=-=--