10.1.4. Additional Library Build Options - 5.2 English - 57404

AOCL User Guide (57404)

Document ID
57404
Release Date
2025-12-29
Version
5.2 English

Use the following additional options to configure your build:

Option

Description

AOCL_ENABLE_LOG

Enables logging support within the library (Disabled by default)

AOCL_TEST_COVERAGE

Enables GTest and AOCL test bench based CTest suite (OFF / STANDARD / EXHAUSTIVE, default: OFF)

ACCURACY_WITH_DFT

Enables accuracy mode to run with DFT (Disabled by default)

ASAN

Enables address sanitizer checks. Supported only on Linux Debug build (Disabled by default)

BUILD_DOC

Builds documentation for library (Disabled by default)

BUILD_STATIC_LIBS

Builds static library (Default build type is shared library)

BUILD_THIRD_PARTY_WRAPPERS

Builds all the supported FFTZ third party wrappers (Disabled by default)

CODE_COVERAGE

Enables source code coverage and generates coverage report. Supported only on Linux with GCC compiler (Disabled by default)

ENABLE_INSTRUCTIONS_UPTO

Specifies maximum AVX instruction set to compile (None / AVX128 / AVX256 / AVX512, default: AVX512)

ENABLE_FMA

Enables -ffp-contract=fast (forces FMA generation). Required for Clang/AOCC, implied by GCC at -O3 (Enabled by default)

ENABLE_MULTI_THREADING

Compiles library with multi-threading support using OpenMP (Disabled by default)

ENABLE_STRICT_WARNINGS

Enables compiler flags to treat all warnings as errors (Enabled by default)

FUZZTEST

Enables Compilation of fuzz test with fuzzing mode. Supported only on Linux Debug build with Clang compiler (Disabled by default)

VALGRIND

Enables memory checks using Valgrind. Supported only on Linux Debug build. Incompatible with ASAN=ON (Disabled by default)