From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8Js1ETc0MGTw4gAASxT56A (envelope-from ) for ; Fri, 07 Apr 2023 17:18:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eOsxEDc0MGS1AQAAG6o9tA (envelope-from ) for ; Fri, 07 Apr 2023 17:18:15 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B149A1ACA for ; Fri, 7 Apr 2023 17:18:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pknqm-0002Vz-QV; Fri, 07 Apr 2023 11:18:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pknql-0002VK-5Y for guix-patches@gnu.org; Fri, 07 Apr 2023 11:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pknqk-0004Su-Rg for guix-patches@gnu.org; Fri, 07 Apr 2023 11:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pknqk-0007zT-AJ for guix-patches@gnu.org; Fri, 07 Apr 2023 11:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48785] [PATCH v5 1/3] gnu: Add fast-double-parser. References: <20210601220510.78230-1-monego@posteo.net> In-Reply-To: <20210601220510.78230-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 07 Apr 2023 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48785 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48785@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 48785-submit@debbugs.gnu.org id=B48785.168088065630658 (code B ref 48785); Fri, 07 Apr 2023 15:18:02 +0000 Received: (at 48785) by debbugs.gnu.org; 7 Apr 2023 15:17:36 +0000 Received: from localhost ([127.0.0.1]:57047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pknqJ-0007yO-ER for submit@debbugs.gnu.org; Fri, 07 Apr 2023 11:17:35 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pknqG-0007yA-Uo for 48785@debbugs.gnu.org; Fri, 07 Apr 2023 11:17:34 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id D1AB02403F5 for <48785@debbugs.gnu.org>; Fri, 7 Apr 2023 17:17:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1680880646; bh=yPq/VKqiYXBWq36RdeY5S/8E9ICKLMG1VOAUh1PhpEE=; h=From:To:Cc:Subject:Date:From; b=ZCiyKn5Mh+SHpbtXnozdNprqmL+oUO85/pj9sLk5JanN71OAElehApXNVNYBFSeMZ jLk20WPorJTJC3LffFZ+LjKQCkWAu4S9aS+XwQXB8vN8ks9eTlT7njgkpEplUdh7oD wqWmKeGk3sYp1SEgptTyZvlkdHdQE77IDKQ+2/kV9smaBILDlHpNllD/HAq9ySiKsl tdXujzzstR8XmgYDu5lEW0rF2stHfwA06QGEr2h+ut0f3R5TF5eC98vqJ/1bHWKoFs mgMmDvMiKCkUbYchw+3/mlrHYTRoPTNRTp8+6tNwgXNIOTVM0zdEkv7wITKNmc9CBR /oKbXIPBq9pmg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PtMRn63HXz6twX; Fri, 7 Apr 2023 17:17:25 +0200 (CEST) From: Vinicius Monego Date: Fri, 7 Apr 2023 15:17:15 +0000 Message-Id: <20230407151717.1429006-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680880695; a=rsa-sha256; cv=none; b=ZYR2tgJoAbs3LWZ4/C76M5kC7qJWjyNU8EKZ5+H3PDouQ3Qvp/GDrIuLzdYm815IEx86bR cwO1D68cEz3FH9Pn+AUL3c051+dAtyf6X1NdaeR6SyioyGPeoDb46aXvuyMHNfQNHoVvqJ SKG5giGHjIv688V3Qq+iRWSKF78WSEMNbW+De8IJYp8yGh8aThErGc2APDlGqvIJjOME+P aP6GKutrnLSar4jOVxsivQPbB5qaDO7RSGagR6sCfgueU/PxoulRJznH8r1E4eChwiXL8k RYZ8GTwaq+JIaK4gxQelybpXQ2lvcygwTUT4gLp6cVPRVaMaRGg7vVjINaR0/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ZCiyKn5M; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680880695; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AEATIL/slpvDCwnZQXPD09SoyI1Dj304Dy1nET8Fe0o=; b=a44QnOF4FLUwyreyejBdRU6PP2xesbfuGvwfOOXoWv/SekSrzvSllA8BwXrNHHHCkVwMYG 1Od5pg2IUPpsLkOT9KQjgT3sTst00JRso3eZ7IJiynk3fa8/iGid4oDNLVsmDTCep8Yrsj UifTN0erKeU2u+LbQqoUYGr13qdRX0atlUWXvEr0XT8Rl/cCtmdawsNAqb7/n+U8s4WmZ3 0K1FZABaFHYcBqycctvrKWD6Tb1MrQcKY2PwnZ7QdubtwCavJzPd78Ga2hnvxqzZTNv6WB 9+xOx8t8KqvVfUgYdoBl46rGQlbYzBMe2/POITLa+En92+WLjm+6eQ6syjDHEw== X-Migadu-Spam-Score: 8.08 X-Spam-Score: 8.08 X-Migadu-Queue-Id: B149A1ACA X-Migadu-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ZCiyKn5M; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-Spam: Yes X-TUID: S22aQTuKq0kd * gnu/packages/cpp.scm (fast-double-parser): New variable. --- gnu/packages/cpp.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index ed6ae69198..af1d436bc2 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -10,7 +10,7 @@ ;;; Copyright © 2020 Roel Janssen ;;; Copyright © 2020, 2021, 2023 Ricardo Wurmus ;;; Copyright © 2020 Brice Waegeneire -;;; Copyright © 2020, 2021, 2022 Vinicius Monego +;;; Copyright © 2020, 2021, 2022, 2023 Vinicius Monego ;;; Copyright © 2020, 2022 Marius Bakke ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2020 Alexandros Theodotou @@ -445,6 +445,39 @@ (define-public xsimd operating on batches.") (license license:bsd-3))) +(define-public fast-double-parser + (package + (name "fast-double-parser") + (version "0.7.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lemire/fast_double_parser") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0c3ajwm65yip61iq3ybvrkx5d3136r9dc68j1c1fmrv61n5nfmlb")))) + (build-system cmake-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + ;; There is no install target, we have to do it manually. + (replace 'install + (lambda _ + (mkdir-p (string-append #$output "/include")) + (copy-file + (string-append #$(package-source this-package) + "/include/fast_double_parser.h") + (string-append #$output + "/include/fast_double_parser.h"))))))) + (home-page "https://github.com/lemire/fast_double_parser") + (synopsis "Parse strings into double floating-point values") + (description "@code{fast-double-parser} provides a fast function to parse +strings into double (binary64) floating-point values, enforces the RFC 7159 +(JSON standard) grammar.") + (license license:asl2.0))) + (define-public google-highway (package (name "google-highway") base-commit: 2853a4dd5eee7eedb1c19a5fd2d0f2ca468a4509 -- 2.34.1