From 37d6b0978c6d74d15c6f0df3293b85341c8de562 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Wed, 3 Feb 2016 21:05:51 +0100 Subject: gnu: hwloc: Build without numactl support on armhf. * gnu/packages/mpi.scm (hwloc)[inputs]: Drop numactl on armhf, where the package is not available. --- gnu/packages/mpi.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm index 420291d7f0..abe4fac470 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2014, 2015 Eric Bavier ;;; Copyright © 2014, 2015 Ludovic Courtès ;;; Copyright © 2014 Ian Denhardt +;;; Copyright © 2016 Andreas Enge ;;; ;;; This file is part of GNU Guix. ;;; @@ -54,8 +55,12 @@ `(("libx11" ,libx11) ("cairo" ,cairo) ("ncurses" ,ncurses) - ("numactl" ,numactl) - ("expat" ,expat))) + ("expat" ,expat) + ,@(if (not (string-prefix? "armhf" + (or (%current-target-system) + (%current-system)))) + `(("numactl" ,numactl)) + '()))) (propagated-inputs ;; hwloc.pc lists it in 'Requires.private'. `(("libpciaccess" ,libpciaccess))) -- cgit 1.4.1