7.1.1. Building from Git - 5.2 English - 57404

AOCL User Guide (57404)

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

To build from source, the following are required:

  • git

  • CMake, at least version 3.26

  • Boost C++ libraries, at least version 1.66

  • An installation of AOCL-Utils, AOCL-BLAS, AOCL-LAPACK and AOCL-Sparse

  • Supported C, C++ and Fortran compilers (the minimum required GCC version is 12.2; the minimum required AOCC compiler version is 4.1)

  • A Python interpreter, at least version 3.8

The following steps apply to both Windows and Linux builds.

  1. Clone the Git repository (amd/aocl-data-analytics.git).

  2. Set the environment variable AOCL_ROOT to point to your installation of the prerequisite AOCL libraries (note that CMake build options are available if your libraries are installed elsewhere).

  3. For Python builds, install the required packages using

    $ pip install -r <path to>/python_interface/requirements.txt