From patchwork Thu Apr 7 13:40:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Dion X-Patchwork-Id: 38374 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3228427BBEB; Thu, 7 Apr 2022 14:51:40 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 001F327BBEA for ; Thu, 7 Apr 2022 14:51:39 +0100 (BST) Received: from localhost ([::1]:45306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncSXz-0004i7-4d for patchwork@mira.cbaines.net; Thu, 07 Apr 2022 09:51:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncSOi-00054V-Ew for guix-patches@gnu.org; Thu, 07 Apr 2022 09:42:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38115) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncSOf-0001wn-Mf for guix-patches@gnu.org; Thu, 07 Apr 2022 09:42:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncSOf-0003Co-JS for guix-patches@gnu.org; Thu, 07 Apr 2022 09:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54757] [PATCH v2] gnu: Add librseq. Resent-From: Olivier Dion Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Apr 2022 13:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54757 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler , Olivier Dion , 54757@debbugs.gnu.org Received: via spool by 54757-submit@debbugs.gnu.org id=B54757.164933886712249 (code B ref 54757); Thu, 07 Apr 2022 13:42:01 +0000 Received: (at 54757) by debbugs.gnu.org; 7 Apr 2022 13:41:07 +0000 Received: from localhost ([127.0.0.1]:60245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncSNn-0003BV-FN for submit@debbugs.gnu.org; Thu, 07 Apr 2022 09:41:07 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:53966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncSNk-0003Ao-Cw for 54757@debbugs.gnu.org; Thu, 07 Apr 2022 09:41:05 -0400 Received: from laura.hitronhub.home (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 237DeirB022786 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 7 Apr 2022 09:40:57 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 237DeirB022786 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1649338858; bh=RZgKPZp1yVGG41oANmNifpRiJJnsBTDMb+hIoXjfdPY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=embQYxTHKefLGtKKS8WKHvwO1yiG8XfZliGMQcoTJnADxOm0JGtXwwJe/2ilfcabp 5e4/YUlY3p0EePdV7E4YH6xzhMJuAqY2NiyG8ruTYK/cheav3VIv73Ey5VLr35Fk4K kUkq8JLLsqBy4ovbnG0RtaEwz3c5KLAC+8SaNLcU= Date: Thu, 7 Apr 2022 09:40:43 -0400 Message-Id: <0af416702325df5253f135c84b09ba32843af473.1649338754.git.olivier.dion@polymtl.ca> X-Mailer: git-send-email 2.34.0 In-Reply-To: References: MIME-Version: 1.0 X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Thu, 7 Apr 2022 13:40:44 +0000 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Olivier Dion X-ACL-Warn: , Olivier Dion via Guix-patches X-Patchwork-Original-From: Olivier Dion via Guix-patches via From: Olivier Dion X-getmail-retrieved-from-mailbox: Patches * gnu/packages/engineering.scm (librseq): New variable. --- gnu/packages/engineering.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index cb721ddd2e..8d568d59a3 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1148,6 +1148,34 @@ (define-public kicad-templates (description "This package contains the official KiCad project and worksheet templates."))) +(define-public librseq + ;; There's no release. + (let ((commit "170f840b498e1aff068b90188727a656111bfc2f") + (revision "1")) + (package + (name "librseq") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/compudj/librseq.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0rdx59y8y9x8cfmmx5gl66gibkzpk3kw5lrrqhrxan8zr37a055y")))) + (build-system gnu-build-system) + (native-inputs (list autoconf automake libtool)) + (home-page "https://github.com/compudj/librseq") + (synopsis "Userspace library for restartable sequences") + (description "A restartable sequence is a critical region delimited by a +program where if its execution is preempted or interrupted, the kernel will +divert the program control flow to a defined abort handler. They are a good +alternative to atomic operations for critical fast paths and are usually used +in the context of per-cpu data. The library offers ABI headers to interface +with the kernel and various utilities such as per-cpu counters.") + (license (list license:lgpl2.1 license:expat))))) + (define-public linsmith (package (name "linsmith")