guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: ucx: Update to 1.14.0.


From: guix-commits
Subject: 03/03: gnu: ucx: Update to 1.14.0.
Date: Mon, 27 Mar 2023 06:20:14 -0400 (EDT)

glv pushed a commit to branch core-updates
in repository guix.

commit c10bfa888545fb03d70a46ec70a676c69e6e0587
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Mon Mar 27 11:34:50 2023 +0200

    gnu: ucx: Update to 1.14.0.
    
    * gnu/packages/fabric-management.scm (ucx): Update to 1.14.0.
    * gnu/packages/patches/ucx-tcp-iface-ioctl.patch: Adapt patch to new ucx
      version.
---
 gnu/packages/fabric-management.scm             | 4 ++--
 gnu/packages/patches/ucx-tcp-iface-ioctl.patch | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/fabric-management.scm 
b/gnu/packages/fabric-management.scm
index 3ab1a35d7c..b6b2e5176c 100644
--- a/gnu/packages/fabric-management.scm
+++ b/gnu/packages/fabric-management.scm
@@ -183,7 +183,7 @@ testing InfiniBand networks.")
 (define-public ucx
   (package
     (name "ucx")
-    (version "1.9.0")
+    (version "1.14.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -193,7 +193,7 @@ testing InfiniBand networks.")
               (patches (search-patches "ucx-tcp-iface-ioctl.patch"))
               (sha256
                (base32
-                "0i0ji5ivzxjqh3ys1m517ghw3am7cw1hvf40ma7hsq3wznsyx5s1"))))
+                "0ki2r768wqm92qv06wxrh3kv2nl2yj4ds9fz0s0b5rr2ycjiw9ir"))))
     (build-system gnu-build-system)
     (arguments
      (list
diff --git a/gnu/packages/patches/ucx-tcp-iface-ioctl.patch 
b/gnu/packages/patches/ucx-tcp-iface-ioctl.patch
index 56f06fc920..c441a0861a 100644
--- a/gnu/packages/patches/ucx-tcp-iface-ioctl.patch
+++ b/gnu/packages/patches/ucx-tcp-iface-ioctl.patch
@@ -54,7 +54,7 @@ index cad4a2709..7c1d2c9de 100644
 +    for (i = 0; i < conf.ifc_len / sizeof(struct ifreq); i++) {
 +      const char *name = reqs[i].ifr_name;
 +
-+        if (!ucs_netif_is_active(name)) {
++        if (!ucs_netif_is_active(name, AF_INET)) {
 +            continue;
 +        }
 +
@@ -87,9 +87,9 @@ index cad4a2709..7c1d2c9de 100644
                                     unsigned *num_devices_p)
 @@ -599,9 +663,9 @@ ucs_status_t uct_tcp_query_devices(uct_md_h md,
  
-     dir = opendir(netdev_dir);
+     dir = opendir(UCT_TCP_IFACE_NETDEV_DIR);
      if (dir == NULL) {
--        ucs_error("opendir(%s) failed: %m", netdev_dir);
+-        ucs_error("opendir(%s) failed: %m", UCT_TCP_IFACE_NETDEV_DIR);
 -        status = UCS_ERR_IO_ERROR;
 -        goto out;
 +      /* When /sys is unavailable, as can be the case in a container,



reply via email to

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