* [bug#54757] [PATCH] gnu: Add librseq.
@ 2022-04-06 23:30 Olivier Dion via Guix-patches via
2022-04-07 6:06 ` Liliana Marie Prikler
0 siblings, 1 reply; 4+ messages in thread
From: Olivier Dion via Guix-patches via @ 2022-04-06 23:30 UTC (permalink / raw)
To: 54757; +Cc: 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"))
+ (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")
--
2.34.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#54757] [PATCH] gnu: Add librseq.
2022-04-06 23:30 [bug#54757] [PATCH] gnu: Add librseq Olivier Dion via Guix-patches via
@ 2022-04-07 6:06 ` Liliana Marie Prikler
2022-04-07 13:40 ` [bug#54757] [PATCH v2] " Olivier Dion via Guix-patches via
0 siblings, 1 reply; 4+ messages in thread
From: Liliana Marie Prikler @ 2022-04-07 6:06 UTC (permalink / raw)
To: Olivier Dion, 54757
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#54757] [PATCH v2] gnu: Add librseq.
2022-04-07 6:06 ` Liliana Marie Prikler
@ 2022-04-07 13:40 ` Olivier Dion via Guix-patches via
2022-04-12 21:48 ` bug#54757: [PATCH] " Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Olivier Dion via Guix-patches via @ 2022-04-07 13:40 UTC (permalink / raw)
To: Liliana Marie Prikler, Olivier Dion, 54757
* 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")
--
2.34.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#54757: [PATCH] gnu: Add librseq.
2022-04-07 13:40 ` [bug#54757] [PATCH v2] " Olivier Dion via Guix-patches via
@ 2022-04-12 21:48 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2022-04-12 21:48 UTC (permalink / raw)
To: Olivier Dion; +Cc: Liliana Marie Prikler, 54757-done
Salut Olivier,
Olivier Dion <olivier.dion@polymtl.ca> skribis:
> * gnu/packages/engineering.scm (librseq): New variable.
Applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-12 21:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 23:30 [bug#54757] [PATCH] gnu: Add librseq Olivier Dion via Guix-patches via
2022-04-07 6:06 ` Liliana Marie Prikler
2022-04-07 13:40 ` [bug#54757] [PATCH v2] " Olivier Dion via Guix-patches via
2022-04-12 21:48 ` bug#54757: [PATCH] " Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.