[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: gnu: Add simdjson.
From: |
guix-commits |
Subject: |
01/06: gnu: Add simdjson. |
Date: |
Thu, 14 Oct 2021 09:50:34 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 37c88eca5c88ce72fb164f8a8722cc0483736945
Author: Greg Hogan <code@greghogan.com>
AuthorDate: Mon Sep 27 14:20:03 2021 +0000
gnu: Add simdjson.
* gnu/packages/cpp.scm (simdjson): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/cpp.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 104fe81..469af4a 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1309,3 +1309,29 @@ of reading and writing XML.")
(description "Jsonnet is a templating language extending JSON
syntax with variables, conditions, functions and more.")
(license license:asl2.0)))
+
+(define-public simdjson
+ (package
+ (name "simdjson")
+ (version "1.0.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/simdjson/simdjson")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "08qpsw0i8481xlyyghzyszb1vh4c8i7krzzghvr9m4yg394vf6zn"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:tests? #f ; tests require downloading
dependencies
+ #:configure-flags
+ '("-DBUILD_SHARED_LIBS=ON")))
+ (synopsis "JSON parser for C++ using SIMD instructions")
+ (description
+ "The simdjson library uses commonly available SIMD instructions and
+microparallel algorithms to implement a strict JSON parser with UTF-8
+validation.")
+ (home-page "https://github.com/simdjson/simdjson")
+ (license license:asl2.0)))
- branch master updated (e2a021a -> 2c3a0f2), guix-commits, 2021/10/14
- 06/06: gnu: lf: Update to 25, guix-commits, 2021/10/14
- 02/06: download: Add disarchive.guix.gnu.org., guix-commits, 2021/10/14
- 01/06: gnu: Add simdjson.,
guix-commits <=
- 03/06: download: Add missing autoload., guix-commits, 2021/10/14
- 04/06: download: Add parameter to test download fallback mechanisms., guix-commits, 2021/10/14
- 05/06: gnu: Add go-gopkg-in-djherbis-times-v1., guix-commits, 2021/10/14