[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/13: gnu: Add otf2.
From: |
Ludovic Courtès |
Subject: |
07/13: gnu: Add otf2. |
Date: |
Tue, 3 Oct 2017 11:18:21 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit a6121c0a3e75013a463d8e81c8e9fb999650e01b
Author: Dave Love <address@hidden>
Date: Mon Oct 2 21:48:44 2017 +0100
gnu: Add otf2.
* gnu/packages/profiling.scm (otf2): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/profiling.scm | 37 ++++++++++++++++++++++++++++++++++++-
1 file changed, 36 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/profiling.scm b/gnu/packages/profiling.scm
index 6d62aa2..7c0ab6e 100644
--- a/gnu/packages/profiling.scm
+++ b/gnu/packages/profiling.scm
@@ -29,7 +29,8 @@
#:use-module (gnu packages gcc)
#:use-module (gnu packages libunwind)
#:use-module (gnu packages linux)
- #:use-module (gnu packages ncurses))
+ #:use-module (gnu packages ncurses)
+ #:use-module (gnu packages python))
;; Fixme: Separate out lib and fix resulting cycle errors; separate libpfm
;; output(?); build libmsr and add that component.
@@ -124,3 +125,37 @@ performance measurement opportunites across the hardware
and software stack.")
;; "BSD-like": src/libpfm-3.y/*, src/libpfm4/*
;; lgpl2.1+: src/perfctr-2.*/*
))))
+
+;; NB. there's a potential name clash with libotf.
+(define-public otf2
+ (package
+ (name "otf2")
+ (version "2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://www.vi-hps.org/upload/packages/otf2/otf2-"
+ version ".tar.gz"))
+ (sha256 (base32
"1lyaqhdfaqm1kd23yk71g71vkscw83s7m57j017y768h8sh8xlwa"))))
+ (native-inputs `(("python" ,python)))
+ (outputs '("doc" ; 18MB
+ "lib"
+ "out"))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags '("--enable-shared" "--disable-static")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'licence
+ (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 scalable, memory
+efficient event trace data format plus support library.")
+ (license license:bsd-3)))
- branch master updated (df71c88 -> 3d7a159), Ludovic Courtès, 2017/10/03
- 01/13: doc: Explain why synopses/descriptions must be literal strings., Ludovic Courtès, 2017/10/03
- 09/13: gnu: Add cube., Ludovic Courtès, 2017/10/03
- 02/13: gnu: services: Add cgit., Ludovic Courtès, 2017/10/03
- 07/13: gnu: Add otf2.,
Ludovic Courtès <=
- 05/13: gnu: cflow: Fix preprocess option., Ludovic Courtès, 2017/10/03
- 10/13: gnu: Add scorep-openmpi., Ludovic Courtès, 2017/10/03
- 06/13: gnu: Add papi., Ludovic Courtès, 2017/10/03
- 03/13: Update e-mail for Theodoros Foradis., Ludovic Courtès, 2017/10/03
- 11/13: gnu: openmpi: Add "debug" output., Ludovic Courtès, 2017/10/03
- 12/13: gnu: mgba: Update to 0.6.1., Ludovic Courtès, 2017/10/03
- 08/13: gnu: Add opari2., Ludovic Courtès, 2017/10/03
- 13/13: gnu: qtox: Update to 1.12.0., Ludovic Courtès, 2017/10/03
- 04/13: gnu: android: Add android-udev-rules package., Ludovic Courtès, 2017/10/03