Fast_float provides a set of C++ header files for efficient string to float operations.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://github.com/fastfloat/fast_float/archive/v8.2.10/fast_float-8.2.10.tar.gz
MD5 校验和:ddcf64ffe15f1e1ed964a355db7a04f3
大小:140 KB
预计所需磁盘空间:1.5 MB(测试将额外增加 620 MB)
预计构建时间:小于 0.1 SBU (测试将额外耗费 0.3 SBU,取决于网络)
git-2.55.0 (for downloading some tests) and doctest
An Internet connection is needed for some tests of this package. The system certificate store may need to be set up with make-ca-1.16.1 before testing this package.
Install fast_float by running the following commands:
mkdir build &&
cd build &&
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-G Ninja ..
Now, as the root user:
ninja install
To test the results, issue: cmake .. -D FASTFLOAT_TEST=ON && ninja && ninja test. Note that the tests download some test files and the external doctest test framework from the Internet, and the doctest package would have been installed if the test suite had run before ninja install, so don't run the test suite before installation.