From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 07 02:06:31 2022 Received: (at 54757) by debbugs.gnu.org; 7 Apr 2022 06:06:31 +0000 Received: from localhost ([127.0.0.1]:59514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncLHq-0002mM-Og for submit@debbugs.gnu.org; Thu, 07 Apr 2022 02:06:31 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:5260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncLHi-0002m5-64 for 54757@debbugs.gnu.org; Thu, 07 Apr 2022 02:06:29 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4KYrVM01kLz1LWpd; Thu, 7 Apr 2022 08:06:18 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4KYrVM01kLz1LWpd DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1649311579; bh=2FJiK8TQklk+XaVeA0CKk2Xhhr44ocv4n1bb42PHOIg=; h=Subject:From:To:Date:In-Reply-To:References:From; b=BZfeuoNi5b5W+YLN8+vyH0Bc8EjXEHOHZj3VGGD5j5L+3ricUH6NWOiasSGP1tf4F DcZ70jVAlt0JUtIHCEr5nlZGPXOB1v2cxYfaq+pLCgr1sySjsgnJ+uWVm/OpZgyVWI jsBg1qRCL3JImaH69m+JlellQAEaGIgXgyi8nr94= Message-ID: Subject: Re: [PATCH] gnu: Add librseq. From: Liliana Marie Prikler To: Olivier Dion , 54757@debbugs.gnu.org Date: Thu, 07 Apr 2022 08:06:18 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54757 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: -3.3 (---) Am Mittwoch, dem 06.04.2022 um 19:30 -0400 schrieb Olivier Dion: > * 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")) Missing revision. Also specify why a non-release commit is used. > +    (package > +      (name "librseq") > +      (version "0.0.0") Use git-version. > +      (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)))) Type out 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))))) > + Cheers