guix-commits
[Top][All Lists]
Advanced

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

04/06: gnu: hwloc: Default to 2.x.


From: guix-commits
Subject: 04/06: gnu: hwloc: Default to 2.x.
Date: Tue, 19 Nov 2019 04:52:04 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 8ec7ca22d363b80b173ce87c5f39d5ca9686d248
Author: Ludovic Courtès <address@hidden>
Date:   Tue Nov 19 10:28:22 2019 +0100

    gnu: hwloc: Default to 2.x.
    
    * gnu/packages/mpi.scm (hwloc): Rename to...
    (hwloc-1): ... this.
    (hwloc-2): Adjust 'inherit' clause accordingly.
    (hwloc): New variable.
---
 gnu/packages/mpi.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index f51e03a..116fa1e 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -52,7 +52,7 @@
   #:use-module (srfi srfi-1)
   #:use-module (ice-9 match))
 
-(define-public hwloc
+(define-public hwloc-1
   ;; Note: For now we keep 1.x as the default because many packages have yet
   ;; to migrate to 2.0.
   (package
@@ -134,7 +134,7 @@ bind processes, and much more.")
 (define-public hwloc-2
   ;; Note: 2.0 isn't the default yet, see above.
   (package
-    (inherit hwloc)
+    (inherit hwloc-1)
     (version "2.1.0")
     (source (origin
               (method url-fetch)
@@ -163,6 +163,10 @@ bind processes, and much more.")
 (define-deprecated hwloc-2.0 'hwloc-2
   hwloc-2)
 
+(define-public hwloc
+  ;; The latest stable series of hwloc.
+  hwloc-2)
+
 (define-public openmpi
   (package
     (name "openmpi")



reply via email to

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