forked from Lainports/freebsd-ports
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.
25 lines
551 B
Makefile
25 lines
551 B
Makefile
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 <bsd.port.mk>
|