aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-12-19 23:24:42 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-12-20 23:23:39 +0100
commit5828c7df1ecdcd6f3639d32109c02daab08d9756 (patch)
tree6b65411e12bc850da4f92c0c547b8db8fe87bd97 /gnu
parenta34a13c9b4d0394b4114ddcd975a9c3f9ec8a5b6 (diff)
downloadguix-5828c7df1ecdcd6f3639d32109c02daab08d9756.tar.gz
guix-5828c7df1ecdcd6f3639d32109c02daab08d9756.zip
gnu: Add concurrentqueue.
* gnu/packages/cpp.scm (concurrentqueue): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cpp.scm24
1 files changed, 23 insertions, 1 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index c3b6403e02..b6c56cf1a1 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
;;; Copyright © 2020, 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
;;; Copyright © 2020 Roel Janssen <roel@gnu.org>
-;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
@@ -510,6 +510,28 @@ syntax highlighting. @code{ccls} is derived from @code{cquery} which is not
maintained anymore.")
(license license:asl2.0)))
+(define-public concurrentqueue
+ (package
+ (name "concurrentqueue")
+ (version "1.0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cameron314/concurrentqueue/")
+ (commit "3747268264d0fa113e981658a99ceeae4dad05b7")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1n5v7n27llzg7khg1jvi35jrcf9v6adw8gaic9ndxn65dp723ssy"))))
+ (build-system cmake-build-system)
+ (arguments '(#:tests? #false)) ;no check target
+ (home-page "https://github.com/cameron314/concurrentqueue/")
+ (synopsis "Multi-producer, multi-consumer lock-free concurrent queue for C++11")
+ (description
+ "This package provides a fast multi-producer, multi-consumer lock-free
+concurrent queue for C++11.")
+ (license license:bsd-2)))
+
(define-public spscqueue
(package
(name "spscqueue")