From patchwork Wed Apr 6 23:30:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Dion X-Patchwork-Id: 38370 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 60FB227BBEA; Thu, 7 Apr 2022 00:31:11 +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 2D02427BBE9 for ; Thu, 7 Apr 2022 00:31:11 +0100 (BST) Received: from localhost ([::1]:59256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncF7G-0000TR-AB for patchwork@mira.cbaines.net; Wed, 06 Apr 2022 19:31:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncF79-0000TB-D8 for guix-patches@gnu.org; Wed, 06 Apr 2022 19:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37177) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncF78-0001JC-Fz for guix-patches@gnu.org; Wed, 06 Apr 2022 19:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncF78-0001HH-CB for guix-patches@gnu.org; Wed, 06 Apr 2022 19:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54757] [PATCH] gnu: Add librseq. Resent-From: Olivier Dion Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Apr 2022 23:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54757 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54757@debbugs.gnu.org Cc: Olivier Dion X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16492878314860 (code B ref -1); Wed, 06 Apr 2022 23:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Apr 2022 23:30:31 +0000 Received: from localhost ([127.0.0.1]:59307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncF6d-0001GK-DO for submit@debbugs.gnu.org; Wed, 06 Apr 2022 19:30:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:46768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncF6a-0001GC-WA for submit@debbugs.gnu.org; Wed, 06 Apr 2022 19:30:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncF6a-0000MH-Ck for guix-patches@gnu.org; Wed, 06 Apr 2022 19:30:28 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:40002) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncF6T-0001Ep-NN for guix-patches@gnu.org; Wed, 06 Apr 2022 19:30:27 -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 236NU8Rl018631 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 6 Apr 2022 19:30:19 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 236NU8Rl018631 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1649287819; bh=8BQTlx/fwttBz2dBGmUOOyVrAl0TxG9Oax6VVJ6Z8s0=; h=From:To:Cc:Subject:Date:From; b=RiKeJvmscO63ioKAn/wp88xHIPw+GkiJnVf3Vnvy5ckD0XeQXwbGGh2OpViSlvdhf EYOd3JVvSDpIGkUvKFBQlwyFyTyy3FIVxIW6kxWCKWGDReSsTSKPFIk2/Zyj3pYoHa t7qSA7HFopLohlY8b9PdAybA4axhpEX7xwNfiHqk= Date: Wed, 6 Apr 2022 19:30:07 -0400 Message-Id: X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Wed, 6 Apr 2022 23:30:08 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index cb721ddd2e..9b0a917f8e 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1148,6 +1148,31 @@ (define-public kicad-templates (description "This package contains the official KiCad project and worksheet templates."))) +(define-public librseq + (let ((commit "170f840b498e1aff068b90188727a656111bfc2f") + (hash "0rdx59y8y9x8cfmmx5gl66gibkzpk3kw5lrrqhrxan8zr37a055y")) + (package + (name "librseq") + (version "0.0.0") + (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 hash)))) + (build-system gnu-build-system) + (native-inputs (list autoconf automake libtool)) + (propagated-inputs (list linux-libre-headers)) + (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 the execution its preempted or interrupted, the kernel will +divert the program control flow to a custom handler. They are a good +alternative to atomic operations for critical fast paths and are usually used +in the context of per-cpu data.") + (license (list license:lgpl2.1 license:expat))))) + (define-public linsmith (package (name "linsmith")