Complete the following steps to build and install a single-thread AOCL:
Clone the AOCL from Git repository (amd/aocl.git).
$ git clone https://github.com/amd/aocl.git $ cd aocl
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
Build the unified binary and install using the command:
$ cmake --build build --config release -j --target install