GNU bug report logs -
#51087
[PATCH] gnu: Add simdjson.
Previous Next
Reported by: Greg Hogan <code <at> greghogan.com>
Date: Thu, 7 Oct 2021 18:13:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51087 in the body.
You can then email your comments to 51087 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#51087
; Package
guix-patches
.
(Thu, 07 Oct 2021 18:13:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Greg Hogan <code <at> greghogan.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 07 Oct 2021 18:13:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
From a260708c520c744e492671914af02c5129ae9b4d Mon Sep 17 00:00:00 2001
From: Greg Hogan <code <at> greghogan.com>
Date: Mon, 27 Sep 2021 14:20:03 +0000
Subject: [PATCH] gnu: Add simdjson.
* gnu/packages/cpp.scm (simdjson): New variable.
---
gnu/packages/cpp.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 1fb4aa481f..ccdcb3f835 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1347,3 +1347,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)))
--
2.33.0
[Message part 2 (text/html, inline)]
[0001-gnu-Add-simdjson.patch (application/octet-stream, attachment)]
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Thu, 14 Oct 2021 12:59:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Greg Hogan <code <at> greghogan.com>
:
bug acknowledged by developer.
(Thu, 14 Oct 2021 12:59:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 51087-done <at> debbugs.gnu.org (full text, mbox):
Hi Greg,
Greg Hogan <code <at> greghogan.com> skribis:
> From a260708c520c744e492671914af02c5129ae9b4d Mon Sep 17 00:00:00 2001
> From: Greg Hogan <code <at> greghogan.com>
> Date: Mon, 27 Sep 2021 14:20:03 +0000
> Subject: [PATCH] gnu: Add simdjson.
>
> * gnu/packages/cpp.scm (simdjson): New variable.
Applied, thanks!
I was afraid of seeing ‘-mavx512’ or ‘-mtune=native’ flags, but
apparently there’s nothing like that, so I suppose it just builds for
the common ISA SIMD denominator?
> + (arguments
> + '(#:tests? #f ; tests require downloading dependencies
IWBN to see if we can get them to run, using packaged dependencies.
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#51087
; Package
guix-patches
.
(Wed, 03 Nov 2021 14:50:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 51087-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Ludo',
On Thu, Oct 14, 2021 at 8:58 AM Ludovic Courtès <ludo <at> gnu.org> wrote:
> Hi Greg,
>
> Greg Hogan <code <at> greghogan.com> skribis:
>
> > From a260708c520c744e492671914af02c5129ae9b4d Mon Sep 17 00:00:00 2001
> > From: Greg Hogan <code <at> greghogan.com>
> > Date: Mon, 27 Sep 2021 14:20:03 +0000
> > Subject: [PATCH] gnu: Add simdjson.
> >
> > * gnu/packages/cpp.scm (simdjson): New variable.
>
> Applied, thanks!
>
> I was afraid of seeing ‘-mavx512’ or ‘-mtune=native’ flags, but
> apparently there’s nothing like that, so I suppose it just builds for
> the common ISA SIMD denominator?
>
AVX2 and additional implementations are provided.
https://github.com/simdjson/simdjson/blob/master/doc/implementation-selection.md#overview
> > + (arguments
> > + '(#:tests? #f ; tests require downloading
> dependencies
>
> IWBN to see if we can get them to run, using packaged dependencies.
>
> Ludo’.
>
Greg
[Message part 2 (text/html, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 02 Dec 2021 12:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 144 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.