The Double-conversion package contains a library that facilitates binary-to-decimal and decimal-to-binary routines for IEEE doubles.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://github.com/google/double-conversion/archive/v3.3.1/double-conversion-3.3.1.tar.gz
Download SHA256 Sum: fe54901055c71302dcdc5c3ccbe265a6c191978f3761ce1414d0895d6b0ea90e
Download MD5 sum: 7bbcf4bd2e1a96ef9d2a6fa60e887276
Download size: 19,029.6 KB
Estimated disk space required: 61,901.5 KB
Estimated build time: less than 0.5 SBU
Prepare Double-conversion by running the following commands:
cmake -B build -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_POLICY_VERSION_MINIMUM=3.5 \
-D BUILD_SHARED_LIBS=ON \
-D BUILD_TESTING=ONTo Build the package, issue:
cmake --build build
To test the results, issue:
cd build make test cd ../
Now Install the package, as the root user:
cmake --install build
-D CMAKE_POLICY_VERSION_MINIMUM=3.5: This switch
allows building this package with cmake-4.0 or newer.
-D BUILD_SHARED_LIBS=ON: This switch forces cmake
to build a shared version of the library instead of the static version.
-D BUILD_TESTING=ON: This switch builds the test
programs.