From nobody Mon Jun 5 18:50:59 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QZjNz5H0qz4ZtnR; Mon, 5 Jun 2023 18:50:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QZjNz4rZ5z3qXW; Mon, 5 Jun 2023 18:50:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685991059; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WM5/Wk/yzLKWv3IsDErk6RweIC0I0yUuzl90yEqbB3A=; b=OjX+SgDlHdhMheCeCYVLdJOu9ZBlZhRGYp9YldRkyonwWNckMFWqjj2eBl+bk3H2jPq98a pClr6rOhquakj/KBFw9BqSu5/fl7rMbOKzBFRvupbpqXmHyf3RExO/ICwfVidlOOVEGqdF ash+UJI8yHKnqqm96L+dQA5KaLj8bbEBNnsf6+VM8QsX6rn1XdW5H8HHGmqxou0i5mlckt q7Lr2gYszdubKunQwZnwulCjayNHlGWumKOGZASm+fyGC90+tsv/LuPvF3Pke784lw9gr7 dc5SsURKO32F15ceg2TTq5hZ48tzYZr3jUcbX8A2uEykipgyikHQPLSqP16B0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685991059; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WM5/Wk/yzLKWv3IsDErk6RweIC0I0yUuzl90yEqbB3A=; b=Dw+v9wTz9JmqZGb4Q3mocbu64yQDhAEwEi6JrPfYqnhnvUlxvJOnWrVm183wJeoi3ZFEQO 62zw1PWiohESPubTp9N5lsV7GVfgdcBkgkXV9974HyFX/AhQk+kzfVAmhk7mjM7OVfB6Bl C19VNOJ7Y0WIcx6qY0/LKjAbhO+wgsGYjf418HrAA7JhxyYRCBIjf66N46iJdn/J62KIbD bUa5zwurfSxlhQkOCksxVeLgSoZ5+NdcdF4WJEe2EwSE9EtwYnNxfHXr4nqwrUtA8H4fWQ LJv2+zI/Bt6CprUtasZzN9kYjWExHSeXzDSz0HfKraQBffI9HzORTdBUvZhDiA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685991059; a=rsa-sha256; cv=none; b=nDBii2EUEa0ydeviCO274hgs4oaLQDRXxRmud4XK60ttRhENxWMHimtvIdbFeR3Ag4yPEV nunyAYc9I1vLBiG8OeuzsLXqJzamy/W7vQ41jeU8PPq06LDuEllFQTo6238vuS0uaX83EB xjqlffMt2HHjiZPxCL03bw/gOQP2CKq+ZJb5HLkD87hiHSPfOXoLV30gbqDiajzqDPt5DC JHy7s4E9JBs+0Q05X0pmKM7Ap+PN7CLFmIJ7EY9BrWnVprwN+uD0Rcey8txQpF8g3YH648 I6r1a4YCFfzTOwjcpZZW6kvDLdcbN9o5kwd4OkPkoJga4n+lEZguxsdpeX/Hog== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QZjNz3x2Jzydd; Mon, 5 Jun 2023 18:50:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 355IoxpH047280; Mon, 5 Jun 2023 18:50:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 355Iox9R047279; Mon, 5 Jun 2023 18:50:59 GMT (envelope-from git) Date: Mon, 5 Jun 2023 18:50:59 GMT Message-Id: <202306051850.355Iox9R047279@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 20ab13a945fa - main - math/fast_float: Add fast_float 5.0.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 20ab13a945fa52737218c8697caa86959a505504 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=20ab13a945fa52737218c8697caa86959a505504 commit 20ab13a945fa52737218c8697caa86959a505504 Author: Po-Chuan Hsieh AuthorDate: 2023-06-05 18:18:15 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-06-05 18:46:49 +0000 math/fast_float: Add fast_float 5.0.0 The fast_float library provides fast header-only implementations for the C++ from_chars functions for float and double types. These functions convert ASCII strings representing decimal values (e.g., 1.3e10) into binary types. We provide exact rounding (including round to even). In our experience, these fast_float functions many times faster than comparable number-parsing functions from existing C++ standard libraries. --- math/Makefile | 1 + math/fast_float/Makefile | 25 +++++++++++++++++++++++++ math/fast_float/distinfo | 3 +++ math/fast_float/pkg-descr | 6 ++++++ math/fast_float/pkg-plist | 12 ++++++++++++ 5 files changed, 47 insertions(+) diff --git a/math/Makefile b/math/Makefile index 70a0b3ede704..87fd0f7d3d34 100644 --- a/math/Makefile +++ b/math/Makefile @@ -315,6 +315,7 @@ SUBDIR += facile SUBDIR += faiss SUBDIR += fann + SUBDIR += fast_float SUBDIR += fastops SUBDIR += fcl SUBDIR += fcl05 diff --git a/math/fast_float/Makefile b/math/fast_float/Makefile new file mode 100644 index 000000000000..e321fcd472e7 --- /dev/null +++ b/math/fast_float/Makefile @@ -0,0 +1,25 @@ +PORTNAME= fast_float +PORTVERSION= 5.0.0 +DISTVERSIONPREFIX= v +CATEGORIES= math + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Fast and exact C++ number parsing library +WWW= https://github.com/fastfloat/fast_float + +LICENSE= APACHE20 BSL MIT +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE-APACHE +LICENSE_FILE= ${WRKSRC}/LICENSE-BOOST +LICENSE_FILE= ${WRKSRC}/LICENSE-MIT + +USES= cmake compiler:c++11-lang + +CMAKE_OFF= FASTFLOAT_SANITIZE FASTFLOAT_TEST +CMAKE_ON= FASTFLOAT_INSTALL +NO_ARCH= yes + +USE_GITHUB= yes +GH_ACCOUNT= fastfloat + +.include diff --git a/math/fast_float/distinfo b/math/fast_float/distinfo new file mode 100644 index 000000000000..1eaecebc7f49 --- /dev/null +++ b/math/fast_float/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1685792168 +SHA256 (fastfloat-fast_float-v5.0.0_GH0.tar.gz) = 86645ab4af22d21d4ba2d980572dfb74faf90c20c52240d7d8d2201f3eaf4252 +SIZE (fastfloat-fast_float-v5.0.0_GH0.tar.gz) = 83241 diff --git a/math/fast_float/pkg-descr b/math/fast_float/pkg-descr new file mode 100644 index 000000000000..6ddfe947c559 --- /dev/null +++ b/math/fast_float/pkg-descr @@ -0,0 +1,6 @@ +The fast_float library provides fast header-only implementations for the C++ +from_chars functions for float and double types. These functions convert ASCII +strings representing decimal values (e.g., 1.3e10) into binary types. We provide +exact rounding (including round to even). In our experience, these fast_float +functions many times faster than comparable number-parsing functions from +existing C++ standard libraries. diff --git a/math/fast_float/pkg-plist b/math/fast_float/pkg-plist new file mode 100644 index 000000000000..8df16a67dbf9 --- /dev/null +++ b/math/fast_float/pkg-plist @@ -0,0 +1,12 @@ +include/fast_float/ascii_number.h +include/fast_float/bigint.h +include/fast_float/constexpr_feature_detect.h +include/fast_float/decimal_to_binary.h +include/fast_float/digit_comparison.h +include/fast_float/fast_float.h +include/fast_float/fast_table.h +include/fast_float/float_common.h +include/fast_float/parse_number.h +share/cmake/FastFloat/FastFloatConfig.cmake +share/cmake/FastFloat/FastFloatConfigVersion.cmake +share/cmake/FastFloat/fast_float-targets.cmake