From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzNxY-000383-HY for guix-patches@gnu.org; Tue, 03 Oct 2017 10:14:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzNxS-0003ue-Ku for guix-patches@gnu.org; Tue, 03 Oct 2017 10:14:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37678) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dzNxS-0003uS-Hq for guix-patches@gnu.org; Tue, 03 Oct 2017 10:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dzNxS-0002ZY-9w for guix-patches@gnu.org; Tue, 03 Oct 2017 10:14:02 -0400 Subject: [bug#28673] [PATCH 4/6] gnu: Add opari2. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20171002204848.23646-1-fx@gnu.org> <20171002204848.23646-4-fx@gnu.org> Date: Tue, 03 Oct 2017 16:13:24 +0200 In-Reply-To: <20171002204848.23646-4-fx@gnu.org> (Dave Love's message of "Mon, 2 Oct 2017 21:48:46 +0100") Message-ID: <874lrg5ngb.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 (opari2): New variable. Applied with the change below. BTW, I=E2=80=99m not satisfied with all the custom phases to install license files. I think we should fix it once and for all in the build system in =E2=80=98core-updates=E2=80=99. I=E2=80=99ll see if I can propose a patch = if nobody beats me. 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 7340b0172..9a2f2a664 100644 --- a/gnu/packages/profiling.scm +++ b/gnu/packages/profiling.scm @@ -182,14 +182,14 @@ efficient event trace data format plus support library.") `(#:phases (modify-phases %standard-phases (add-after 'install 'licence - (lambda _ - (let ((doc (string-append (assoc-ref %outputs "out") "/share/doc"))) - (mkdir-p doc) + (lambda* (#:key outputs #:allow-other-keys) + (let ((doc (string-append (assoc-ref outputs "out") + "/share/doc/opari2"))) (install-file "COPYING" doc) #t)))))) (home-page "http://www.vi-hps.org/projects/score-p") - (synopsis "An OpenMP runtime performance measurement instrumenter") - (description "OPARI2 is a source-to-source instrumentation tool for OpenMP and hybrid -codes. It surrounds OpenMP directives and runtime library calls with calls -to the POMP2 measurement interface.") + (synopsis "OpenMP runtime performance measurement instrumenter") + (description "OPARI2 is a source-to-source instrumentation tool for OpenMP +and hybrid codes. It surrounds OpenMP directives and runtime library calls +with calls to the POMP2 measurement interface.") (license license:bsd-3))) --=-=-=--