pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Aug 12 14:06:09 UTC 2024

Modified Files:
        pkgsrc/math: Makefile
Added Files:
        pkgsrc/math/fast_float: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
fast_float: added version 6.1.3

The fast_float library provides fast header-only implementations for the C++
from_chars functions for float and double types as well as integer 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.


To generate a diff of this commit:
cvs rdiff -u -r1.606 -r1.607 pkgsrc/math/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/math/fast_float/DESCR \
    pkgsrc/math/fast_float/Makefile pkgsrc/math/fast_float/PLIST \
    pkgsrc/math/fast_float/buildlink3.mk pkgsrc/math/fast_float/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/Makefile
diff -u pkgsrc/math/Makefile:1.606 pkgsrc/math/Makefile:1.607
--- pkgsrc/math/Makefile:1.606  Tue Aug  6 07:55:23 2024
+++ pkgsrc/math/Makefile        Mon Aug 12 14:06:08 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.606 2024/08/06 07:55:23 adam Exp $
+# $NetBSD: Makefile,v 1.607 2024/08/12 14:06:08 adam Exp $
 
 COMMENT=       Mathematics
 
@@ -189,6 +189,7 @@ SUBDIR+=    ess
 SUBDIR+=       eukleides
 SUBDIR+=       eukleides10
 SUBDIR+=       euler
+SUBDIR+=       fast_float
 SUBDIR+=       fftpack
 SUBDIR+=       ffts
 SUBDIR+=       fftw

Added files:

Index: pkgsrc/math/fast_float/DESCR
diff -u /dev/null pkgsrc/math/fast_float/DESCR:1.1
--- /dev/null   Mon Aug 12 14:06:09 2024
+++ pkgsrc/math/fast_float/DESCR        Mon Aug 12 14:06:08 2024
@@ -0,0 +1,6 @@
+The fast_float library provides fast header-only implementations for the C++
+from_chars functions for float and double types as well as integer 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.
Index: pkgsrc/math/fast_float/Makefile
diff -u /dev/null pkgsrc/math/fast_float/Makefile:1.1
--- /dev/null   Mon Aug 12 14:06:09 2024
+++ pkgsrc/math/fast_float/Makefile     Mon Aug 12 14:06:08 2024
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2024/08/12 14:06:08 adam Exp $
+
+DISTNAME=      fast_float-6.1.3
+CATEGORIES=    math devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=fastfloat/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/fastfloat/fast_float
+COMMENT=       Number parsing library
+LICENSE=       mit
+
+USE_CXX_FEATURES=      c++11
+USE_LANGUAGES=         c++
+
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/fast_float/PLIST
diff -u /dev/null pkgsrc/math/fast_float/PLIST:1.1
--- /dev/null   Mon Aug 12 14:06:09 2024
+++ pkgsrc/math/fast_float/PLIST        Mon Aug 12 14:06:08 2024
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2024/08/12 14:06:08 adam Exp $
+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
Index: pkgsrc/math/fast_float/buildlink3.mk
diff -u /dev/null pkgsrc/math/fast_float/buildlink3.mk:1.1
--- /dev/null   Mon Aug 12 14:06:09 2024
+++ pkgsrc/math/fast_float/buildlink3.mk        Mon Aug 12 14:06:08 2024
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2024/08/12 14:06:08 adam Exp $
+
+BUILDLINK_TREE+=       fast_float
+
+.if !defined(FAST_FLOAT_BUILDLINK3_MK)
+FAST_FLOAT_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.fast_float?=       build
+
+BUILDLINK_API_DEPENDS.fast_float+=     fast_float>=6.1.3
+BUILDLINK_PKGSRCDIR.fast_float?=       ../../math/fast_float
+.endif # FAST_FLOAT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -fast_float
Index: pkgsrc/math/fast_float/distinfo
diff -u /dev/null pkgsrc/math/fast_float/distinfo:1.1
--- /dev/null   Mon Aug 12 14:06:09 2024
+++ pkgsrc/math/fast_float/distinfo     Mon Aug 12 14:06:08 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/08/12 14:06:08 adam Exp $
+
+BLAKE2s (fast_float-6.1.3.tar.gz) = 7a073af719956ec6fbca7f7a52b9b45572876a52f81d82d9ebc4da8193ce936e
+SHA512 (fast_float-6.1.3.tar.gz) = a92de221ec8d417ceef24fd820fe3d3f1a55bade76131fc0fe99652b1b20cde200b9505a0dbca526b25202fd035902ac3eb2b57b8269cab931ff65ff913e4213
+Size (fast_float-6.1.3.tar.gz) = 97941 bytes



Home | Main Index | Thread Index | Old Index