guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#28673] [PATCH 4/6] gnu: Add opari2.


From: Ludovic Courtès
Subject: [bug#28673] [PATCH 4/6] gnu: Add opari2.
Date: Tue, 03 Oct 2017 16:13:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Dave Love <address@hidden> skribis:

> * gnu/packages/profiling.scm (opari2): New variable.

Applied with the change below.

BTW, I’m 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
‘core-updates’.  I’ll see if I can propose a patch if nobody beats me.

Thanks,
Ludo’.

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)))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]