12.1.1. Requirements - 5.2 English - 57404

AOCL User Guide (57404)

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

Software requirements for compilation:

The LIBM build system currently supports source code compilation using both SCons and CMake.

Linux:

  • Operating System: Any modern Linux distribution (e.g., Ubuntu, RHEL, CentOS)

  • Compilers:

    • GCC: Versions up to 14.2 have been tested; it is recommended to use GCC 9.2 or later.

    • Clang: Versions 12.0.0 through 18.1.0

    • AOCC: Versions 3.0 through 5.0

  • Libraries: libstdc++ (required for AOCL-Utils)

  • Scons Build: Python 3.6 or later (via Virtualenv) SCons version 3.1.1 or later

  • CMake Build: CMake v3.26 or later

Note

It is recommended to use GCC version 9.2 or later, as AMD architecture-specific compiler optimizations were introduced at different GCC versions:

  • AMD “Zen5” optimizations were added in GCC 14.1

  • AMD “Zen4” optimizations were added in GCC 12.3

  • AMD “Zen3” optimizations were added in GCC 10.3

  • AMD “Zen2” optimizations were introduced in GCC 9.2

Windows:

  • Operating System: Windows 10/11 or Windows Server 2019/2022

  • Compilers:

    LLVM v14.0 for AMD “Zen3”/”Zen4” support LLVM v11.0 for AMD “Zen2” support Microsoft Visual Studio 2019 (build 16) or 2022 (build 17)

  • SDK: Windows SDK Version 10.0.19041.0

  • Libraries: libstdc++ (required for AOCL-Utils)

  • Scons Build: Python 3.6 or later (via Virtualenv) SCons 4.4.0

  • CMake Build: CMake v3.26 or later Ninja (installed with MSVC)

  • Compiler Version Control: Minimum and maximum permitted versions of GCC and Clang are defined in the file scripts/site_scons/alm/check.py. You may edit this file to allow other compiler versions if needed.