13.2.2. Debug Build Configuration - 13.2.2. Debug Build Configuration - 5.3 English - 57404

AOCL User Guide (57404)

Document_ID
57404
Release_Date
2026-05-13
Version
5.3 English

To enable logging, build the source as shown here:

$ cmake -D ALMEM_LOGGING=Y -S <source_dir> -B <build_dir>

Logs will be stored in the “/tmp/libmem.log” file. Enable debugging logs by uncommenting the following line from “CMakeLists.txt” in the root directory. Debugging logs: add_definitions(-DLOG_LEVEL=4)