guix-patches
[Top][All Lists]
Advanced

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

[bug#28673] [PATCH 2/6] gnu: Add otf2.


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

Dave Love <address@hidden> skribis:

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

Applied with the minor changes below, thanks!

Ludo’.

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

reply via email to

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