[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: rdma-core: Use the "write" ioctl mode.
From: |
guix-commits |
Subject: |
04/06: gnu: rdma-core: Use the "write" ioctl mode. |
Date: |
Fri, 8 Nov 2019 12:25:07 -0500 (EST) |
civodul pushed a commit to branch wip-mpi
in repository guix.
commit fc6a813d3923b15027f9e362db6ef18bc4364e8e
Author: Ludovic Courtès <address@hidden>
Date: Fri Nov 8 17:52:54 2019 +0100
gnu: rdma-core: Use the "write" ioctl mode.
* gnu/packages/linux.scm (rdma-core)[arguments]: Add "-DIOCTL_MODE=write"
to #:configure-flags.
---
gnu/packages/linux.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index d27e2e5..50b24f1 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4322,7 +4322,14 @@ The package provides additional NTFS tools.")
;; to do the same for consistency. They also recommend using the
;; "Release" build type.
#:build-type "Release"
- #:configure-flags (list "-GNinja")
+ #:configure-flags (list "-GNinja"
+
+ ;; On some configurations, the
+ ;; IB_USER_MAD_REGISTER_AGENT ioctl, which is
+ ;; used by default, would return ENODEV. To
+ ;; avoid that, use 'write' instead of ioctls,
+ ;; as suggested in 'CMakeList.txt'.
+ "-DIOCTL_MODE=write")
#:phases
(modify-phases %standard-phases
(replace 'build
- branch wip-mpi created (now 6227cec), guix-commits, 2019/11/08
- 01/06: gnu: ucx: Enable InfiniBand support through Verbs., guix-commits, 2019/11/08
- 02/06: gnu: ucx: Do not install static libraries., guix-commits, 2019/11/08
- 03/06: gnu: openmpi: Pass explicit "--with-*" configure flags., guix-commits, 2019/11/08
- 04/06: gnu: rdma-core: Use the "write" ioctl mode.,
guix-commits <=
- 06/06: gnu: Add Intel MPI Benchmarks., guix-commits, 2019/11/08
- 05/06: gnu: rdma-core: Update to 26.0., guix-commits, 2019/11/08