diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2024-04-04 16:05:30 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-04-04 16:05:30 +0200 |
commit | eaf54b598f1066653222f4a6e58833b6aa5bf22b (patch) | |
tree | 3813f127a43f3a5699110023efdbc71fc3050cea /gnu/packages/mpi.scm | |
parent | dc5e9ba1a5b03a3f8e555a8515badc18827c9948 (diff) | |
download | guix-eaf54b598f1066653222f4a6e58833b6aa5bf22b.tar.gz guix-eaf54b598f1066653222f4a6e58833b6aa5bf22b.zip |
gnu: hwloc: Remove dependency on graphics libraries when cross-compiling.
* gnu/packages/mpi.scm (hwloc-1)[inputs]: Remove dependency on graphics
libraries when cross-compiling.
Change-Id: I698ac3f8aadda634f6753bdeba0f5fbd77e608df
Diffstat (limited to 'gnu/packages/mpi.scm')
-rw-r--r-- | gnu/packages/mpi.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm index 85afc8cefc..f1e4414bac 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014, 2015, 2018, 2019 Eric Bavier <bavier@member.fsf.org> -;;; Copyright © 2014-2023 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2014-2024 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net> ;;; Copyright © 2016 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2017 Dave Love <fx@gnu.org> @@ -78,7 +78,9 @@ "doc" ;400+ section 3 man pages "debug")) (inputs - (append (list libx11 cairo ncurses expat) + (append (if (%current-target-system) + '() ;fewer dependencies when cross-compiling + (list libx11 cairo ncurses expat)) (if (target-arm32?) '() (list numactl)))) (propagated-inputs ;; hwloc.pc lists it in 'Requires.private'. |