From eaf54b598f1066653222f4a6e58833b6aa5bf22b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 4 Apr 2024 16:05:30 +0200 Subject: 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 --- gnu/packages/mpi.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu/packages') 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 -;;; Copyright © 2014-2023 Ludovic Courtès +;;; Copyright © 2014-2024 Ludovic Courtès ;;; Copyright © 2014 Ian Denhardt ;;; Copyright © 2016 Andreas Enge ;;; Copyright © 2017 Dave Love @@ -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'. -- cgit v1.2.3 ran.scm?id=ca379399d2786ba0d74d9d10d4b41a2e01891e18'>diff
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/cran.scm')