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.
Download (HTTP): https://github.com/fastfloat/fast_float/archive/v8.2.4/fast_float-8.2.4.tar.gz
Download MD5 sum: 8a5cf6eccb19d7c417a8040a0c37ced3
Download size: 119 KB
Estimated disk space required: 1.3 MB (add 620 MB for tests)
Estimated build time: less than 0.1 SBU (add 0.3 SBU for tests, depending on network connection)
git-2.53.0 (for downloading some tests)
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 from the Internet, and those files would have been installed if the test suite had run before ninja install, so don't run the test suite before installation.