Single-Thread AOCL - Single-Thread AOCL - 5.3 English - 57404

AOCL User Guide (57404)

Document ID
57404
Release Date
2026-05-13
Version
5.3 English

Complete the following steps to build and install a single-thread AOCL:

  1. Configure the library as required:

    # CMake commands
    
    # GCC (Default) and LP64
    $ cmake --preset aocl-linux-make-lp-ga-gcc-config -DENABLE_MULTITHREADING=OFF --fresh
    
    # GCC and ILP64
    $ cmake --preset aocl-linux-make-ilp-ga-gcc-config -DENABLE_MULTITHREADING=OFF --fresh
    
    # AOCC and LP64
    $ cmake --preset aocl-linux-make-lp-ga-aocc-config -DENABLE_MULTITHREADING=OFF --fresh
    
    # AOCC and ILP64
    $ cmake --preset aocl-linux-make-ilp-ga-aocc-config -DENABLE_MULTITHREADING=OFF --fresh
    
  2. Build the unified binary and install using the command:

    $ cmake --build build --config Release -j --target install