-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Default: ON
With this option, you can specify whether to build the library. If you use TLFloat as a submodule, you can install the library without building it to reduce build time.
Default: ON
With this option, you can specify whether to build the testers.
Default: ON
With this option, you can specify whether to build the utilities.
Default: OFF
With this option, you can specify whether to build the benchmarking tools.
Default: OFF
When this option is turned on, sqrt is computed with integer operations. On most architectures, the default setting is faster. On CPUs without FPUs, integer computation may be faster. It may also be better to turn this option ON if the sqrt function in the standard library is unreliable.
Default: OFF
Turning this option ON will cause aggressive inlining when building the library. The library will be more optimized, but it may take longer to build.
Default:OFF
Turning this option on will build the LTO version of the library.
Default: OFF
Enable address sanitizer during tester build.
Default: OFF
Enable building CUDA tester.
Default: OFF
Enable installing continuous testers.
Default: OFF
Enable generating documents with Doxygen.
Default: OFF
Enable generating coverage data.
Default: ON
Enable architecture-specific optimization upon building library.
Default: OFF
Default: auto detect
Set whether the compiler supports __int128 type
Default: auto detect
Set whether the compiler supports __float128 type
Default: auto detect
Set whether long double is IEEE binary128
For example, to build with the "-march=native" option, do the following.
CC=gcc-12 CXX=g++-12 CFLAGS="-march=native" CXXFLAGS="-march=native" cmake ..
CXX=clang++-19 CC=clang-19 cmake .. -DENABLE_INLINING=True -DENABLE_LTO=True -DCMAKE_CXX_COMPILER_AR=/usr/bin/llvm-ar-19 -DCMAKE_CXX_COMPILER_RANLIB=/usr/bin/llvm-ranlib-19