all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Dave Love <fx@gnu.org>
Cc: 28673@debbugs.gnu.org
Subject: [bug#28673] [PATCH 1/6] gnu: Add papi.
Date: Tue, 03 Oct 2017 15:43:30 +0200	[thread overview]
Message-ID: <87d1645ou5.fsf@gnu.org> (raw)
In-Reply-To: <20171002204848.23646-1-fx@gnu.org> (Dave Love's message of "Mon, 2 Oct 2017 21:48:43 +0100")

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

Dave Love <fx@gnu.org> skribis:

> * gnu/packages/profiling.scm: New file.
> * gnu/local.mk: Add it.

Neat.  Applied with the following changes.

Thanks,
Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 2088 bytes --]

diff --git a/gnu/packages/profiling.scm b/gnu/packages/profiling.scm
index cd678cfea..6d62aa260 100644
--- a/gnu/packages/profiling.scm
+++ b/gnu/packages/profiling.scm
@@ -79,7 +79,8 @@ stealtime lmsensors infiniband powercap"
            (lambda _
              (with-directory-excursion "src/components"
                (substitute* '("lmsensors/configure" "infiniband_umad/configure")
-                 (("/bin/sh") (which "sh"))))))
+                 (("/bin/sh") (which "sh"))))
+             #t))
          (add-after 'configure 'components
            (lambda*  (#:key inputs #:allow-other-keys)
              (with-directory-excursion "components"
@@ -95,16 +96,19 @@ stealtime lmsensors infiniband powercap"
                                      "/include/sensors")
                       (string-append "--with-sensors_libdir=" base "/lib")))))))))
          (add-after 'install 'extra-doc
-           (lambda _
-             (let ((doc (string-append (assoc-ref %outputs "out") "/share/doc")))
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((doc (string-append (assoc-ref outputs "out")
+                                       "/share/doc")))
                (mkdir-p doc)
                (chdir "..")             ; we went into src above
                (for-each (lambda (file)
                            (install-file file doc))
-                         '("README" "RELEASENOTES.txt" "LICENSE.txt"))))))))
+                         '("README" "RELEASENOTES.txt" "LICENSE.txt"))
+               #t))))))
     (home-page "http://icl.cs.utk.edu/papi/")
     (synopsis "Performance Application Programming Interface")
-    (description "PAPI provides the tool designer and application engineer with a consistent
+    (description
+     "PAPI provides the tool designer and application engineer with a consistent
 interface and methodology for use of the performance counter hardware found in
 most major microprocessors.  PAPI enables software engineers to see, in near
 real time, the relation between software performance and processor events.

      parent reply	other threads:[~2017-10-03 13:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-02 20:48 [bug#28673] [PATCH 1/6] gnu: Add papi Dave Love
2017-10-02 20:48 ` [bug#28673] [PATCH 2/6] gnu: Add otf2 Dave Love
2017-10-03 14:09   ` Ludovic Courtès
2017-10-02 20:48 ` [bug#28673] [PATCH 3/6] gnu: Add cube Dave Love
2017-10-03 14:44   ` Ludovic Courtès
2017-10-02 20:48 ` [bug#28673] [PATCH 4/6] gnu: Add opari2 Dave Love
2017-10-03 14:13   ` Ludovic Courtès
2017-10-02 20:48 ` [bug#28673] [PATCH 5/6] gnu: libunwind: Merge update and test changes Dave Love
2017-10-03 14:46   ` Ludovic Courtès
2017-11-16  9:47     ` bug#28673: " Ludovic Courtès
2017-10-02 20:48 ` [bug#28673] [PATCH 6/6] gnu: Add scorep-openmpi Dave Love
2017-10-03 15:07   ` Ludovic Courtès
2017-10-03 13:43 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1645ou5.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=28673@debbugs.gnu.org \
    --cc=fx@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.