From 5828c7df1ecdcd6f3639d32109c02daab08d9756 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 19 Dec 2021 23:24:42 +0100 Subject: gnu: Add concurrentqueue. * gnu/packages/cpp.scm (concurrentqueue): New variable. --- gnu/packages/cpp.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) 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 ;;; Copyright © 2020, 2021 Nicolò Balzarotti ;;; Copyright © 2020 Roel Janssen -;;; Copyright © 2020 Ricardo Wurmus +;;; Copyright © 2020, 2021 Ricardo Wurmus ;;; Copyright © 2020 Brice Waegeneire ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2020 Marius Bakke @@ -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") -- cgit v1.2.3