[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/12: gnu: papi: Update phase style.
From: |
Tobias Geerinckx-Rice |
Subject: |
12/12: gnu: papi: Update phase style. |
Date: |
Sun, 4 Mar 2018 12:06:32 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit ac1a9ce8b07f3b80900ee08436ff6e683e8dc195
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Sun Mar 4 17:20:03 2018 +0100
gnu: papi: Update phase style.
* gnu/packages/profiling.scm (papi)[arguments]: Substitute INVOKE for
SYSTEM*, end phases with #t, and don't explicitly install LICENSE.txt.
---
gnu/packages/profiling.scm | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/profiling.scm b/gnu/packages/profiling.scm
index 4fdf260..35f9d38 100644
--- a/gnu/packages/profiling.scm
+++ b/gnu/packages/profiling.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 Dave Love <address@hidden>
+;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -84,7 +85,8 @@ stealtime lmsensors infiniband powercap"
(add-before 'configure 'autoconf
(lambda _
(chdir "src")
- (zero? (system* "autoconf"))))
+ (invoke "autoconf")
+ #t))
;; Amalgamating with the following clause gives double substitution.
(add-before 'patch-source-shebangs 'patch-components
(lambda _
@@ -95,26 +97,24 @@ stealtime lmsensors infiniband powercap"
(add-after 'configure 'components
(lambda* (#:key inputs #:allow-other-keys)
(with-directory-excursion "components"
- (and
- (with-directory-excursion "infiniband_umad"
- (zero? (system* "./configure")))
- (with-directory-excursion "lmsensors"
- (let ((base (assoc-ref inputs "lm-sensors")))
- (zero?
- (system*
- "./configure"
- (string-append "--with-sensors_incdir=" base
- "/include/sensors")
- (string-append "--with-sensors_libdir=" base
"/lib")))))))))
+ (with-directory-excursion "infiniband_umad"
+ (invoke "./configure"))
+ (with-directory-excursion "lmsensors"
+ (let ((base (assoc-ref inputs "lm-sensors")))
+ (invoke "./configure"
+ (string-append "--with-sensors_incdir="
+ base "/include/sensors")
+ (string-append "--with-sensors_libdir="
+ base "/lib")))))
+ #t))
(add-after 'install 'extra-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"))
#t))))))
(home-page "http://icl.cs.utk.edu/papi/")
(synopsis "Performance Application Programming Interface")
- 01/12: gnu: liblo: Mark up description., (continued)
- 01/12: gnu: liblo: Mark up description., Tobias Geerinckx-Rice, 2018/03/04
- 04/12: gnu: ii: Update to 1.8., Tobias Geerinckx-Rice, 2018/03/04
- 07/12: gnu: gitolite: Update phase style., Tobias Geerinckx-Rice, 2018/03/04
- 02/12: gnu: cloc: Update to 1.76., Tobias Geerinckx-Rice, 2018/03/04
- 06/12: gnu: gitolite: Update to 3.6.7., Tobias Geerinckx-Rice, 2018/03/04
- 10/12: gnu: tomb: Use HTTPS home page., Tobias Geerinckx-Rice, 2018/03/04
- 05/12: gnu: ii, sic: Use HTTPS home pages., Tobias Geerinckx-Rice, 2018/03/04
- 08/12: gnu: footswitch: Remove redundant MKDIR-P., Tobias Geerinckx-Rice, 2018/03/04
- 09/12: gnu: footswitch: Update to 0.1-2.deedd87., Tobias Geerinckx-Rice, 2018/03/04
- 11/12: gnu: tomb: Update phase style., Tobias Geerinckx-Rice, 2018/03/04
- 12/12: gnu: papi: Update phase style.,
Tobias Geerinckx-Rice <=