From unknown Mon Aug 18 17:55:45 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28555] [PATCH 1/3] gnu: Add opensm. Resent-From: Dave Love Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Sep 2017 15:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28555 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 28555@debbugs.gnu.org Cc: Dave Love X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150609475012393 (code B ref -1); Fri, 22 Sep 2017 15:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Sep 2017 15:39:10 +0000 Received: from localhost ([127.0.0.1]:53051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvQ2o-0003Dp-A5 for submit@debbugs.gnu.org; Fri, 22 Sep 2017 11:39:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvQ2j-0003Cp-5B for submit@debbugs.gnu.org; Fri, 22 Sep 2017 11:39:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvQ2c-0001p1-RT for submit@debbugs.gnu.org; Fri, 22 Sep 2017 11:39:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58143) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dvQ2c-0001or-P0 for submit@debbugs.gnu.org; Fri, 22 Sep 2017 11:38:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvQ2b-0003WB-84 for guix-patches@gnu.org; Fri, 22 Sep 2017 11:38:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvQ2Z-0001mJ-To for guix-patches@gnu.org; Fri, 22 Sep 2017 11:38:57 -0400 Received: from probity.mcc.ac.uk ([130.88.200.94]:62643) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dvQ2V-0000SQ-P9; Fri, 22 Sep 2017 11:38:51 -0400 Received: from albion.it.manchester.ac.uk ([130.88.138.79] helo=albion.its.manchester.ac.uk) by probity.mcc.ac.uk with esmtp (Exim 4.85 (FreeBSD)) (envelope-from ) id 1dvPVq-000GbF-RS; Fri, 22 Sep 2017 16:05:07 +0100 Received: by albion.its.manchester.ac.uk (Postfix, from userid 1000) id 54B72A3E; Fri, 22 Sep 2017 16:04:44 +0100 (BST) From: Dave Love Date: Fri, 22 Sep 2017 16:04:05 +0100 Message-Id: <20170922150407.18134-1-fx@gnu.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 130.88.138.79 X-SA-Exim-Mail-From: mdehsdl3@ds.man.ac.uk X-SA-Exim-Scanned: No (on probity.mcc.ac.uk); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * gnu/packages/fabric-management.scm: New file. * gnu/local.mk: Add it. --- gnu/local.mk | 1 + gnu/packages/fabric-management.scm | 72 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 gnu/packages/fabric-management.scm diff --git a/gnu/local.mk b/gnu/local.mk index 302c128a5..9a3185a97 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -140,6 +140,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/enlightenment.scm \ %D%/packages/entr.scm \ %D%/packages/erlang.scm \ + %D%/packages/fabric-management.scm \ %D%/packages/fcitx.scm \ %D%/packages/figlet.scm \ %D%/packages/file.scm \ diff --git a/gnu/packages/fabric-management.scm b/gnu/packages/fabric-management.scm new file mode 100644 index 000000000..abef18d36 --- /dev/null +++ b/gnu/packages/fabric-management.scm @@ -0,0 +1,72 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2017 Dave Love +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages fabric-management) + #:use-module (guix packages) + #:use-module (guix licenses) + #:use-module (guix download) + #:use-module (guix utils) + #:use-module (guix build-system gnu) + #:use-module (gnu packages) + #:use-module (gnu packages bison) + #:use-module (gnu packages flex) + #:use-module (gnu packages linux)) + +;; Fixme: Done for the library, but needs support for running the daemon +;; (shepherd definition). +;; We should probably have a lib output, but that currently generates +;; a cycle. +(define-public opensm + (package + (name "opensm") + (version "3.3.20") + (source + (origin + (method url-fetch) + (uri + (string-append "https://www.openfabrics.org/downloads/management/opensm-" + version ".tar.gz")) + (sha256 (base32 "162sg1w7kgy8ayl8a4dcbrfacmnfy2lr9a2yjyq0k65rmd378zg1")))) + (build-system gnu-build-system) + (native-inputs + `(("flex" ,flex) + ("bison" ,bison))) + (inputs + `(("rdma-core" ,rdma-core))) + (arguments + '(#:configure-flags '("--disable-static") + #:phases + (modify-phases %standard-phases + (add-after 'install 'doc + (lambda* (#:key outputs #:allow-other-keys) + (let* ((base (assoc-ref outputs "out")) + (doc (string-append base "/share/doc"))) + (mkdir-p doc) + (zero? + (system + (string-append "cp AUTHORS COPYING ChangeLog doc/* " doc))))))))) + (home-page "https://www.openfabrics.org/") + (synopsis "OpenIB InfiniBand Subnet Manager and management utilities") + (description "\ +OpenSM is the OpenIB project's Subnet Manager for Infiniband networks. +The subnet manager is run as a system daemon on one of the machines in +the infiniband fabric to manage the fabric's routing state. This package +also contains various tools for diagnosing and testing Infiniband networks +that can be used from any machine and do not need to be run on a machine +running the opensm daemon.") + (license (list gpl2 bsd-2)))) -- 2.11.0 From unknown Mon Aug 18 17:55:45 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28555] [PATCH 3/3] gnu: Add ibutils. Resent-From: Dave Love Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Sep 2017 15:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28555 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 28555@debbugs.gnu.org Cc: Dave Love X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150609490612658 (code B ref -1); Fri, 22 Sep 2017 15:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Sep 2017 15:41:46 +0000 Received: from localhost ([127.0.0.1]:53056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvQ5J-0003I6-Tn for submit@debbugs.gnu.org; Fri, 22 Sep 2017 11:41:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvQ5I-0003Ht-E3 for submit@debbugs.gnu.org; Fri, 22 Sep 2017 11:41:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvQ5C-0003Y4-4V for submit@debbugs.gnu.org; Fri, 22 Sep 2017 11:41:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56543) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dvQ5C-0003Xy-1M for submit@debbugs.gnu.org; Fri, 22 Sep 2017 11:41:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvQ5A-0005Aj-N6 for guix-patches@gnu.org; Fri, 22 Sep 2017 11:41:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvQ59-0003Ve-Cy for guix-patches@gnu.org; Fri, 22 Sep 2017 11:41:36 -0400 Received: from probity.mcc.ac.uk ([130.88.200.94]:64565) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dvQ55-0001Rp-Og; Fri, 22 Sep 2017 11:41:31 -0400 Received: from albion.it.manchester.ac.uk ([130.88.138.79] helo=albion.its.manchester.ac.uk) by probity.mcc.ac.uk with esmtp (Exim 4.85 (FreeBSD)) (envelope-from ) id 1dvPW8-000GlD-SI; Fri, 22 Sep 2017 16:05:25 +0100 Received: by albion.its.manchester.ac.uk (Postfix, from userid 1000) id F3206179E; Fri, 22 Sep 2017 16:05:02 +0100 (BST) From: Dave Love Date: Fri, 22 Sep 2017 16:04:07 +0100 Message-Id: <20170922150407.18134-3-fx@gnu.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170922150407.18134-1-fx@gnu.org> References: <20170922150407.18134-1-fx@gnu.org> X-SA-Exim-Connect-IP: 130.88.138.79 X-SA-Exim-Mail-From: mdehsdl3@ds.man.ac.uk X-SA-Exim-Scanned: No (on probity.mcc.ac.uk); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * gnu/packages/fabric-management.scm (ibutils): New variable. --- gnu/packages/fabric-management.scm | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/gnu/packages/fabric-management.scm b/gnu/packages/fabric-management.scm index a0e4b12c4..f74dcc71b 100644 --- a/gnu/packages/fabric-management.scm +++ b/gnu/packages/fabric-management.scm @@ -27,9 +27,12 @@ #:use-module (gnu packages bison) #:use-module (gnu packages flex) #:use-module (gnu packages glib) + #:use-module (gnu packages graphviz) #:use-module (gnu packages linux) #:use-module (gnu packages perl) - #:use-module (gnu packages pkg-config)) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages swig) + #:use-module (gnu packages tcl)) ;; Fixme: Done for the library, but needs support for running the daemon ;; (shepherd definition). @@ -137,3 +140,35 @@ to scan an entire IB fabric and return data structures representing it. The interface to this library is not guaranteed to be stable.") (license (list gpl2 bsd-2)))) ; dual + +(define-public ibutils + (package + (name "ibutils") + (version "1.5.7-0.2.gbd7e502") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.openfabrics.org/downloads/ibutils/ibutils-" + version ".tar.gz")) + (sha256 + (base32 "00x7v6cf8l5y6g9xwh1sg738ch42fhv19msx0h0090nhr0bv98v7")))) + (build-system gnu-build-system) + (inputs `(("graphviz" ,graphviz) + ("tcl" ,tcl) + ("tk" ,tk) + ("infiniband-diags" ,infiniband-diags) + ("rdma-core" ,rdma-core) + ("opensm" ,opensm) + ("perl" ,perl))) + (native-inputs `(("swig" ,swig))) + (arguments + `(#:configure-flags + (list (string-append "--with-osm=" (assoc-ref %build-inputs "opensm")) + (string-append "--with-tk-lib=" (assoc-ref %build-inputs "tk") "/lib") + "--disable-static"))) + (synopsis "InfiniBand network utilities") + (description "\ +A set of utilities useful for diagnosing and testing InfiniBand based +networks.") + (home-page "https://www.openfabrics.org/downloads/ibutils/") + (license bsd-2))) -- 2.11.0 From unknown Mon Aug 18 17:55:45 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Dave Love Subject: bug#28555: closed (Re: [bug#28555] [PATCH 1/3] gnu: Add opensm.) Message-ID: References: <87fubd2yxa.fsf@gnu.org> <20170922150407.18134-1-fx@gnu.org> X-Gnu-PR-Message: they-closed 28555 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 28555@debbugs.gnu.org Date: Sat, 23 Sep 2017 15:55:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1506182102-26157-1" This is a multi-part message in MIME format... ------------=_1506182102-26157-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #28555: [PATCH 1/3] gnu: Add opensm. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 28555@debbugs.gnu.org. --=20 28555: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28555 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1506182102-26157-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 28555-done) by debbugs.gnu.org; 23 Sep 2017 15:54:40 +0000 Received: from localhost ([127.0.0.1]:54774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvmlM-0006nB-EP for submit@debbugs.gnu.org; Sat, 23 Sep 2017 11:54:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvmlK-0006mz-MN for 28555-done@debbugs.gnu.org; Sat, 23 Sep 2017 11:54:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvmlE-0004EF-Gq for 28555-done@debbugs.gnu.org; Sat, 23 Sep 2017 11:54:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvml9-0004BM-Gx; Sat, 23 Sep 2017 11:54:27 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=58280 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dvml8-0002bf-Sv; Sat, 23 Sep 2017 11:54:27 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Dave Love Subject: Re: [bug#28555] [PATCH 1/3] gnu: Add opensm. References: <20170922150407.18134-1-fx@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 =?utf-8?Q?Vend=C3=A9miaire?= an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 23 Sep 2017 17:54:25 +0200 In-Reply-To: <20170922150407.18134-1-fx@gnu.org> (Dave Love's message of "Fri, 22 Sep 2017 16:04:05 +0100") Message-ID: <87fubd2yxa.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28555-done Cc: 28555-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dave Love skribis: > * gnu/packages/fabric-management.scm: New file. > * gnu/local.mk: Add it. Nice! I adjusted it as shown above and committed. Thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/fabric-management.scm b/gnu/packages/fabric-management.scm index abef18d36..873187769 100644 --- a/gnu/packages/fabric-management.scm +++ b/gnu/packages/fabric-management.scm @@ -49,17 +49,19 @@ (inputs `(("rdma-core" ,rdma-core))) (arguments - '(#:configure-flags '("--disable-static") + `(#:configure-flags '("--disable-static") #:phases (modify-phases %standard-phases (add-after 'install 'doc (lambda* (#:key outputs #:allow-other-keys) (let* ((base (assoc-ref outputs "out")) - (doc (string-append base "/share/doc"))) - (mkdir-p doc) - (zero? - (system - (string-append "cp AUTHORS COPYING ChangeLog doc/* " doc))))))))) + (doc (string-append base "/share/doc/" + ,name "-" ,version))) + (for-each (lambda (file) + (install-file file doc)) + (append (list "AUTHORS" "COPYING" "ChangeLog") + (find-files "doc"))) + #t)))))) (home-page "https://www.openfabrics.org/") (synopsis "OpenIB InfiniBand Subnet Manager and management utilities") (description "\ --=-=-=-- ------------=_1506182102-26157-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Sep 2017 15:39:10 +0000 Received: from localhost ([127.0.0.1]:53051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvQ2o-0003Dp-A5 for submit@debbugs.gnu.org; Fri, 22 Sep 2017 11:39:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvQ2j-0003Cp-5B for submit@debbugs.gnu.org; Fri, 22 Sep 2017 11:39:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvQ2c-0001p1-RT for submit@debbugs.gnu.org; Fri, 22 Sep 2017 11:39:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58143) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dvQ2c-0001or-P0 for submit@debbugs.gnu.org; Fri, 22 Sep 2017 11:38:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvQ2b-0003WB-84 for guix-patches@gnu.org; Fri, 22 Sep 2017 11:38:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvQ2Z-0001mJ-To for guix-patches@gnu.org; Fri, 22 Sep 2017 11:38:57 -0400 Received: from probity.mcc.ac.uk ([130.88.200.94]:62643) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dvQ2V-0000SQ-P9; Fri, 22 Sep 2017 11:38:51 -0400 Received: from albion.it.manchester.ac.uk ([130.88.138.79] helo=albion.its.manchester.ac.uk) by probity.mcc.ac.uk with esmtp (Exim 4.85 (FreeBSD)) (envelope-from ) id 1dvPVq-000GbF-RS; Fri, 22 Sep 2017 16:05:07 +0100 Received: by albion.its.manchester.ac.uk (Postfix, from userid 1000) id 54B72A3E; Fri, 22 Sep 2017 16:04:44 +0100 (BST) From: Dave Love To: guix-patches@gnu.org Subject: [PATCH 1/3] gnu: Add opensm. Date: Fri, 22 Sep 2017 16:04:05 +0100 Message-Id: <20170922150407.18134-1-fx@gnu.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 130.88.138.79 X-SA-Exim-Mail-From: mdehsdl3@ds.man.ac.uk X-SA-Exim-Scanned: No (on probity.mcc.ac.uk); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: Dave Love X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * gnu/packages/fabric-management.scm: New file. * gnu/local.mk: Add it. --- gnu/local.mk | 1 + gnu/packages/fabric-management.scm | 72 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 gnu/packages/fabric-management.scm diff --git a/gnu/local.mk b/gnu/local.mk index 302c128a5..9a3185a97 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -140,6 +140,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/enlightenment.scm \ %D%/packages/entr.scm \ %D%/packages/erlang.scm \ + %D%/packages/fabric-management.scm \ %D%/packages/fcitx.scm \ %D%/packages/figlet.scm \ %D%/packages/file.scm \ diff --git a/gnu/packages/fabric-management.scm b/gnu/packages/fabric-management.scm new file mode 100644 index 000000000..abef18d36 --- /dev/null +++ b/gnu/packages/fabric-management.scm @@ -0,0 +1,72 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2017 Dave Love +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages fabric-management) + #:use-module (guix packages) + #:use-module (guix licenses) + #:use-module (guix download) + #:use-module (guix utils) + #:use-module (guix build-system gnu) + #:use-module (gnu packages) + #:use-module (gnu packages bison) + #:use-module (gnu packages flex) + #:use-module (gnu packages linux)) + +;; Fixme: Done for the library, but needs support for running the daemon +;; (shepherd definition). +;; We should probably have a lib output, but that currently generates +;; a cycle. +(define-public opensm + (package + (name "opensm") + (version "3.3.20") + (source + (origin + (method url-fetch) + (uri + (string-append "https://www.openfabrics.org/downloads/management/opensm-" + version ".tar.gz")) + (sha256 (base32 "162sg1w7kgy8ayl8a4dcbrfacmnfy2lr9a2yjyq0k65rmd378zg1")))) + (build-system gnu-build-system) + (native-inputs + `(("flex" ,flex) + ("bison" ,bison))) + (inputs + `(("rdma-core" ,rdma-core))) + (arguments + '(#:configure-flags '("--disable-static") + #:phases + (modify-phases %standard-phases + (add-after 'install 'doc + (lambda* (#:key outputs #:allow-other-keys) + (let* ((base (assoc-ref outputs "out")) + (doc (string-append base "/share/doc"))) + (mkdir-p doc) + (zero? + (system + (string-append "cp AUTHORS COPYING ChangeLog doc/* " doc))))))))) + (home-page "https://www.openfabrics.org/") + (synopsis "OpenIB InfiniBand Subnet Manager and management utilities") + (description "\ +OpenSM is the OpenIB project's Subnet Manager for Infiniband networks. +The subnet manager is run as a system daemon on one of the machines in +the infiniband fabric to manage the fabric's routing state. This package +also contains various tools for diagnosing and testing Infiniband networks +that can be used from any machine and do not need to be run on a machine +running the opensm daemon.") + (license (list gpl2 bsd-2)))) -- 2.11.0 ------------=_1506182102-26157-1-- From unknown Mon Aug 18 17:55:45 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28555] [PATCH 3/3] gnu: Add ibutils. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Sep 2017 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28555 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Dave Love Cc: 28555-done@debbugs.gnu.org Received: via spool by 28555-done@debbugs.gnu.org id=D28555.15061835693145 (code D ref 28555); Sat, 23 Sep 2017 16:20:02 +0000 Received: (at 28555-done) by debbugs.gnu.org; 23 Sep 2017 16:19:29 +0000 Received: from localhost ([127.0.0.1]:54788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvn9M-0000of-Tv for submit@debbugs.gnu.org; Sat, 23 Sep 2017 12:19:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54163) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvn9L-0000oT-EQ for 28555-done@debbugs.gnu.org; Sat, 23 Sep 2017 12:19:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvn9F-0001s8-4n for 28555-done@debbugs.gnu.org; Sat, 23 Sep 2017 12:19:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvn9B-0001nr-JI; Sat, 23 Sep 2017 12:19:17 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=58998 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dvn9B-0001vy-0m; Sat, 23 Sep 2017 12:19:17 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170922150407.18134-1-fx@gnu.org> <20170922150407.18134-3-fx@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 =?UTF-8?Q?Vend=C3=A9miaire?= an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 23 Sep 2017 18:19:15 +0200 In-Reply-To: <20170922150407.18134-3-fx@gnu.org> (Dave Love's message of "Fri, 22 Sep 2017 16:04:07 +0100") Message-ID: <877ewp2xrw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dave Love skribis: > * gnu/packages/fabric-management.scm (ibutils): New variable. Applied with the changes below. Thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/fabric-management.scm b/gnu/packages/fabric-management.scm index dea19c9a1..76ef9eef2 100644 --- a/gnu/packages/fabric-management.scm +++ b/gnu/packages/fabric-management.scm @@ -167,8 +167,7 @@ interface to this library is not guaranteed to be stable.") (string-append "--with-tk-lib=" (assoc-ref %build-inputs "tk") "/lib") "--disable-static"))) (synopsis "InfiniBand network utilities") - (description "\ -A set of utilities useful for diagnosing and testing InfiniBand based -networks.") + (description "These command-line utilities allow for diagnosing and +testing InfiniBand networks.") (home-page "https://www.openfabrics.org/downloads/ibutils/") (license bsd-2))) --=-=-=--