10.1.4. Additional Library Build Options - 10.1.4. Additional Library Build Options - 6.0 English - 57404

AOCL User Guide (57404)

Document_ID
57404
Release_Date
2026-11-10
Version
6.0 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 builds (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 FFTZ third party wrapper libraries along with the aocl_fftz library (Disabled by default)

CODE_COVERAGE

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

CODE_COVERAGE_FOR_ATG

Enables source code coverage instrumentation for running coverage and parsing tools for use by AI Test case Generation (ATG) later. Supported only on Linux with GCC compiler (Disabled by default)

ENABLE_APP_INFO_LOGS

Enables info logging for FFT problems used by the application (Independent of AOCL_ENABLE_LOG, 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)

SELECT_REAL_FFT_EXECUTION_ORDER

Selects the Real FFT Cooley-Tukey execution order (all modes are numerically identical): ITERATIVE, PARTIAL_RECURSION, TRUE_RECURSION. Default: TRUE_RECURSION

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)

OpenMP_libomp_LIBRARY

Path to the custom OpenMP library (System OpenMP is used if not provided)