diff options
| author | Luca Cirrottola <luca.cirro@gmail.com> | 2025-05-27 23:45:17 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-26 12:25:37 +0100 |
| commit | 4ba46078507c54a2bbe22df1485b2564a6d16cd7 (patch) | |
| tree | 8eec2f67211357964ffb3047cbdcdbe14919abdd | |
| parent | f14f4287012d5fee636012931d084c1b3d91055d (diff) | |
gnu: Add gotcha.
* gnu/packages/mpi.scm (gotcha): New variable.
Change-Id: Ia78f11ba482cacc0702092ac30462c3d5cc248f7
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/mpi.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm index 796170960e5..99fcedd334e 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm | |||
| @@ -30,14 +30,17 @@ | |||
| 30 | #:use-module (guix packages) | 30 | #:use-module (guix packages) |
| 31 | #:use-module ((guix licenses) #:prefix license:) | 31 | #:use-module ((guix licenses) #:prefix license:) |
| 32 | #:use-module (guix download) | 32 | #:use-module (guix download) |
| 33 | #:use-module (guix git-download) | ||
| 33 | #:use-module (guix utils) | 34 | #:use-module (guix utils) |
| 34 | #:use-module (guix deprecation) | 35 | #:use-module (guix deprecation) |
| 36 | #:use-module (guix build-system cmake) | ||
| 35 | #:use-module (guix build-system gnu) | 37 | #:use-module (guix build-system gnu) |
| 36 | #:use-module (guix build-system python) | 38 | #:use-module (guix build-system python) |
| 37 | #:use-module (gnu packages) | 39 | #:use-module (gnu packages) |
| 38 | #:use-module (gnu packages base) | 40 | #:use-module (gnu packages base) |
| 39 | #:use-module (gnu packages bash) | 41 | #:use-module (gnu packages bash) |
| 40 | #:use-module (gnu packages bison) | 42 | #:use-module (gnu packages bison) |
| 43 | #:use-module (gnu packages check) | ||
| 41 | #:use-module (gnu packages compression) | 44 | #:use-module (gnu packages compression) |
| 42 | #:use-module (gnu packages documentation) | 45 | #:use-module (gnu packages documentation) |
| 43 | #:use-module (gnu packages fabric-management) | 46 | #:use-module (gnu packages fabric-management) |
| @@ -60,6 +63,7 @@ | |||
| 60 | #:use-module (gnu packages python) | 63 | #:use-module (gnu packages python) |
| 61 | #:use-module (gnu packages ssh) | 64 | #:use-module (gnu packages ssh) |
| 62 | #:use-module (gnu packages valgrind) | 65 | #:use-module (gnu packages valgrind) |
| 66 | #:use-module (gnu packages version-control) | ||
| 63 | #:use-module (srfi srfi-1) | 67 | #:use-module (srfi srfi-1) |
| 64 | #:use-module (ice-9 match)) | 68 | #:use-module (ice-9 match)) |
| 65 | 69 | ||
| @@ -691,6 +695,38 @@ modular framework for other derived implementations.") | |||
| 691 | phases))) | 695 | phases))) |
| 692 | (synopsis "Implementation of the Message Passing Interface (MPI) for OmniPath"))) | 696 | (synopsis "Implementation of the Message Passing Interface (MPI) for OmniPath"))) |
| 693 | 697 | ||
| 698 | (define-public gotcha | ||
| 699 | (package | ||
| 700 | (name "gotcha") | ||
| 701 | (version "1.0.8") | ||
| 702 | (source | ||
| 703 | (origin | ||
| 704 | (method git-fetch) | ||
| 705 | (uri (git-reference | ||
| 706 | (url "https://github.com/LLNL/GOTCHA") | ||
| 707 | (commit version))) | ||
| 708 | (file-name (git-file-name name version)) | ||
| 709 | (sha256 | ||
| 710 | (base32 "172h70x7mpyik2rbqc4zynfi7kpjfcxpazcwnjnm3d9wsmlwb1z5")))) | ||
| 711 | (build-system cmake-build-system) | ||
| 712 | (native-inputs | ||
| 713 | ;; "git" is needed by test/unit/CMakeLists.txt but is not actually used | ||
| 714 | ;; if "check" is provided and DEPENDENCIES_PREINSTALLED is true. | ||
| 715 | (list git | ||
| 716 | check)) | ||
| 717 | (arguments | ||
| 718 | (list #:configure-flags #~'("-DGOTCHA_ENABLE_TESTS=on" | ||
| 719 | "-DDEPENDENCIES_PREINSTALLED=true"))) | ||
| 720 | (home-page "https://github.com/LLNL/GOTCHA") | ||
| 721 | (synopsis "Wrapping function calls in shared libraries") | ||
| 722 | (description | ||
| 723 | "Gotcha is a library that wraps functions. Tools can use gotcha to | ||
| 724 | install hooks into other libraries, for example putting a wrapper function | ||
| 725 | around libc's malloc. It is similar to @code{LD_PRELOAD}, but operates via a | ||
| 726 | programmable API.") | ||
| 727 | ;; See <LGPL> file for preamble notice. | ||
| 728 | (license license:lgpl2.1))) | ||
| 729 | |||
| 694 | (define (make-scorep mpi) | 730 | (define (make-scorep mpi) |
| 695 | (package | 731 | (package |
| 696 | (name (string-append "scorep-" (package-name mpi))) | 732 | (name (string-append "scorep-" (package-name mpi))) |
