diff options
| author | Romain GARBAGE <romain.garbage@inria.fr> | 2026-04-02 16:16:50 +0200 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-04-12 10:43:48 +0200 |
| commit | afed30993798b0879fe62e0fb064fe9ee7173d20 (patch) | |
| tree | 6163af9e7bdbae31cca00b54f1bdbdcae7bdc757 | |
| parent | d4afa4f3a1805760ed26eaf219593f41cfc4a11e (diff) | |
gnu: osu-micro-benchmarks: Add symlinks to binaries in /bin.
* gnu/packages/benchmark.scm (osu-micro-benchmarks): Add symlinks to
binaries in /bin.
Merges guix/guix!7631
Change-Id: Ie64994b6b2903ee3311f256b452a1fc939c212f1
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
| -rw-r--r-- | gnu/packages/benchmark.scm | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm index 489f9dd52bb..8f375ad0a46 100644 --- a/gnu/packages/benchmark.scm +++ b/gnu/packages/benchmark.scm | |||
| @@ -944,7 +944,20 @@ configurable through a set of options.") | |||
| 944 | #~(list (string-append | 944 | #~(list (string-append |
| 945 | "CC=" #$(this-package-input "openmpi") "/bin/mpicc") | 945 | "CC=" #$(this-package-input "openmpi") "/bin/mpicc") |
| 946 | (string-append | 946 | (string-append |
| 947 | "CXX=" #$(this-package-input "openmpi") "/bin/mpicxx")))) | 947 | "CXX=" #$(this-package-input "openmpi") "/bin/mpicxx")) |
| 948 | #:phases | ||
| 949 | #~(modify-phases %standard-phases | ||
| 950 | ;; OSU installs its binaries to /libexec. Have a symlink in /bin to | ||
| 951 | ;; improve user experience. | ||
| 952 | (add-after 'install 'symlink-binaries-in-bin | ||
| 953 | (lambda _ | ||
| 954 | (mkdir-p (string-append #$output "/bin")) | ||
| 955 | (for-each (lambda (file) | ||
| 956 | (symlink file | ||
| 957 | (string-append #$output "/bin/" | ||
| 958 | (basename file)))) | ||
| 959 | (find-files (string-append #$output | ||
| 960 | "/libexec")))))))) | ||
| 948 | (home-page "https://mvapich.cse.ohio-state.edu/benchmarks/") | 961 | (home-page "https://mvapich.cse.ohio-state.edu/benchmarks/") |
| 949 | (synopsis "Benchmarking suite from the MVAPICH project") | 962 | (synopsis "Benchmarking suite from the MVAPICH project") |
| 950 | (description | 963 | (description |
