From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6MFXCP5WO2feQwAAe85BDQ:P1 (envelope-from ) for ; Mon, 18 Nov 2024 15:02:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6MFXCP5WO2feQwAAe85BDQ (envelope-from ) for ; Mon, 18 Nov 2024 16:02:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=absHLnX4; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ZRuODFMJ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731942141; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jSk3t/7/2euNCHa74qHc04cLvczUuEhm8IegsIYJklo=; b=bTEmHdcXCATfWidZ/AOKnOFITD+JUuroN73DOkgkVBd3lIqEHTh/2tO4J2+NDvdxTpCCt+ X/RLOM4/R8HjkzRkcOWw0JyqwuuznZ/oYlQBtvrXbgrrRfOwQHmoTNnM4gZCX4Uyb/B2qt NM8u+RLrG3MGGvhckdYAzHWMH96+8AE5W32NMqv4NstmLpNoc1wHfyeJOx+1YjvFGuk//j WQpAXdMOo7m0L+rMz+ED7Slnu+gJMnSBvg1oqfs87oFTQdLUJVqM9mLgutywik7CTBylrv tyuUwxElvb4fO8WsdTHrsAAx7F5RHLT+XihM/wLxmMlqHNUFOUboxr8lAAoxbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=absHLnX4; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ZRuODFMJ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731942141; a=rsa-sha256; cv=none; b=emaXIsPzX4tL0MPQdae30Xzsv5Uhay6T0naQ6xe2k6pnsDR2bVgny55kIoI8etKIwzbo8V JDtlySHqoCpL008e9TXHb07WKdgvDOS2ksMPzxY0I2zjTNka5VgLYmbaiYzyeaXcfAk/aJ hpaX3jBLvlTLfndGIWJshfrUVZLzWhMgQjy3W/ZmA0XxgQZWIPvuc8aG2PJ/b0sN4LC4u1 FYq/nkRs6ikuyR1rkL3rHuAnSL71Yqm6vP2blrma28rvcvo2bEHFfgRI39NhTeTJ8xQUOj G+tmtO/knmUDDeg7iHBtK+U209zfeyCAHIqzQA/FxQFVcWFJO0xV8XeLn+Be9g== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AC3EF40329 for ; Mon, 18 Nov 2024 16:02:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tD3GP-000463-3t; Mon, 18 Nov 2024 10:02:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD3FS-0003tw-Fx for guix-patches@gnu.org; Mon, 18 Nov 2024 10:01:10 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tD3FQ-0000Zk-4O for guix-patches@gnu.org; Mon, 18 Nov 2024 10:01:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=jSk3t/7/2euNCHa74qHc04cLvczUuEhm8IegsIYJklo=; b=absHLnX4IWnZc+ZnWghCpOs5WvWBn6moG1dM+HtHUMlLESq9q9itesAbzPrITVJL17Nc7/sWI8ZxOtgCDkv5VmCWOxTtmaHfSHKvCPx9OrRAht/ipqgh8Q89TvnoaJacguM6fh0VVmVcUyHHVc5skyyV0kdV7M6NNVVXezlXmeuSyxO+pklGiHIE769MuOfSrUNmKoGare1ZDOAkGbG9/LGddZS6pU3YZJpuS7lmqHukRX7uxuzpVyYcYe8/keciVyRjKY2EBfFWgnvETs8qGNUrVRpJ0l7mi0OWVsmHm40LWEiqBVceKJy4db5me2NrZRbwGJDhAkXZ7gefitSUaw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tD3FP-00074W-V1; Mon, 18 Nov 2024 10:01:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74419] [PATCH 3/5] gnu: Add libcxi. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: leo@famulari.name, w@wmeyer.eu, guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 15:01:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74419 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74419@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Leo Famulari , Wilko Meyer X-Debbugs-Original-Xcc: Leo Famulari , Wilko Meyer Received: via spool by 74419-submit@debbugs.gnu.org id=B74419.173194202827074 (code B ref 74419); Mon, 18 Nov 2024 15:01:03 +0000 Received: (at 74419) by debbugs.gnu.org; 18 Nov 2024 15:00:28 +0000 Received: from localhost ([127.0.0.1]:34754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Ep-00072c-PA for submit@debbugs.gnu.org; Mon, 18 Nov 2024 10:00:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Em-00071k-FP for 74419@debbugs.gnu.org; Mon, 18 Nov 2024 10:00:24 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD3Ef-0000Qz-Ho; Mon, 18 Nov 2024 10:00:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=jSk3t/7/2euNCHa74qHc04cLvczUuEhm8IegsIYJklo=; b=ZRuODFMJ7ibblkJoZE1T naqoXYpQTZw2X7HV69CltfNbJ8Dc4trXIuvPHilmibnKccbmAIY7yQ+TNzAFTFK9P6XusivRS3Eyr v1hF9ECprUw/E8AfDkVNrIuCIQNDBAwyvuHiSuTk50aU3UK0eUi+rM9PC8Xy+wDKhZoMx0KbUos1r LRx2gSdH3TBtldoMkZPGkW7iZ+2Ocd0XskQ8wDpw8UnOu5VEfHzsOYlfniStxQSP5xZha/gSP/H74 Z8VJA4zZ8IuGDe6ySNlx7JGEaWWLOzrBxQMUsA0iu2EhoS8HPphPQSFuJebv6ObuZPp/Ox7mQvNjj wmEuUYqE4w9/yw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 18 Nov 2024 15:59:18 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -3.32 X-Spam-Score: -3.32 X-Migadu-Queue-Id: AC3EF40329 X-TUID: TRRM+JeSo5LM From: Ludovic Courtès * gnu/packages/linux.scm (libcxi): New variable. Change-Id: I714d8694c796d5bc3ce4756d5aae576031288699 --- gnu/packages/linux.scm | 55 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 17f743ef11..6b2a0c201e 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -150,6 +150,7 @@ (define-module (gnu packages linux) #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages image) #:use-module (gnu packages kde-frameworks) + #:use-module (gnu packages libevent) #:use-module (gnu packages libunwind) #:use-module (gnu packages libusb) #:use-module (gnu packages llvm) @@ -9046,6 +9047,60 @@ (define-public cxi-driver Currently the Linux driver itself is missing from this package.") (license license:gpl2+)))) +(define-public libcxi + (let ((commit "5b6f8b5d57017c7963debb379d5693c59aca63ed") + (revision "0")) + (package + (name "libcxi") + (version (git-version "1.0.1" revision commit)) + (home-page "https://github.com/HewlettPackard/shs-libcxi") + (source + (origin + (method git-fetch) + (uri (git-reference (url home-page) (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1h3dhird8p11q4ziaxzg1hr5gxcgwx1limzdcyildyaw50dy549g")))) + (build-system gnu-build-system) + (arguments + (list #:configure-flags + #~(list "--disable-static" + (string-append "--with-udevrulesdir=" + #$output "/lib/udev/rules.d")) + + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'set-cassini-file-names + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "utils/cxi_dump_csrs.py" + (("/usr/share/cassini-headers/csr_defs.json") + (search-input-file + inputs + "/share/cassini-headers/csr_defs.json")))))))) + (native-inputs (list autoconf + automake + libtool + pkg-config + python-wrapper)) + (inputs (list libconfig + libuv + fuse-2 + libyaml + libnl + numactl + eudev + (list lm-sensors "lib"))) + (propagated-inputs (list cassini-headers cxi-driver)) + (synopsis "Interface to the Cassini/Slingshot high-speed interconnect") + (description + "Libcxi provides applications with a low-level interface to the +Cray/HPE Cassini high-speed @acronym{NIC, network interface controller}, also +known as Slingshot.") + + ;; License is spelled out in 'cray-libcxi.spec' and in source file + ;; headers. + (license (list license:lgpl2.1+ license:bsd-3))))) ;dual-licensed + (define-public libfabric (package (name "libfabric") -- 2.46.0