guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: hwloc: Build without numactl support on armhf.


From: Andreas Enge
Subject: 02/02: gnu: hwloc: Build without numactl support on armhf.
Date: Wed, 03 Feb 2016 20:07:17 +0000

andreas pushed a commit to branch master
in repository guix.

commit 37d6b0978c6d74d15c6f0df3293b85341c8de562
Author: Andreas Enge <address@hidden>
Date:   Wed Feb 3 21:05:51 2016 +0100

    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 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 420291d..abe4fac 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2014, 2015 Eric Bavier <address@hidden>
 ;;; Copyright © 2014, 2015 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2014 Ian Denhardt <address@hidden>
+;;; Copyright © 2016 Andreas Enge <address@hidden>
 ;;;
 ;;; 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]