From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dz7k3-0007vs-EX for guix-patches@gnu.org; Mon, 02 Oct 2017 16:55:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dz7k0-0001i5-NV for guix-patches@gnu.org; Mon, 02 Oct 2017 16:55:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35940) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dz7k0-0001hp-Jo for guix-patches@gnu.org; Mon, 02 Oct 2017 16:55:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dz7k0-00060W-Bx for guix-patches@gnu.org; Mon, 02 Oct 2017 16:55:04 -0400 Subject: [bug#28673] [PATCH 4/6] gnu: Add opari2. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dz7iz-0007nM-Je for guix-patches@gnu.org; Mon, 02 Oct 2017 16:54:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dz7iy-0007uX-AN for guix-patches@gnu.org; Mon, 02 Oct 2017 16:54:01 -0400 From: Dave Love Date: Mon, 2 Oct 2017 21:48:46 +0100 Message-Id: <20171002204848.23646-4-fx@gnu.org> In-Reply-To: <20171002204848.23646-1-fx@gnu.org> References: <20171002204848.23646-1-fx@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28673@debbugs.gnu.org Cc: Dave Love * gnu/packages/profiling.scm (opari2): New variable. --- gnu/packages/profiling.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/profiling.scm b/gnu/packages/profiling.scm index 3f08f7e3d..cef363dee 100644 --- a/gnu/packages/profiling.scm +++ b/gnu/packages/profiling.scm @@ -28,6 +28,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages documentation) #:use-module (gnu packages fabric-management) + #:use-module (gnu packages gawk) #:use-module (gnu packages glib) #:use-module (gnu packages gcc) #:use-module (gnu packages libunwind) @@ -282,3 +283,36 @@ metrics are uniformly accommodated in the same display and thus provide the ability to easily compare the effects of different kinds of performance behavior.") (license license:bsd-3))) + +(define-public opari2 + (package + (name "opari2") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (let* ((parts (string-split version #\.) ) + (major (car parts)) + (minor (cadr parts))) + (string-append "http://www.vi-hps.org/upload/packages/opari2/opari2-" + version ".tar.gz"))) + (sha256 (base32 "1ph8l5c646bm9l5vcn8rrbjvkyi7y8yvn2ny95r6kmlzs766g3q8")))) + (build-system gnu-build-system) + (inputs `(("gfortran" ,gfortran))) + (native-inputs `(("gawk" ,gawk) ;for tests + ("which" ,which))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'licence + (lambda _ + (let ((doc (string-append (assoc-ref %outputs "out") "/share/doc"))) + (mkdir-p doc) + (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.") + (license license:bsd-3))) -- 2.11.0