# IT4Innovations
# LK 2024

name = 'AOCC'
version = '4.2.0'

homepage = 'https://developer.amd.com/amd-aocc/'
description = "AMD Optimized C/C++ & Fortran compilers (AOCC) based on LLVM 12.0"

# Clang also depends on libstdc++ during runtime, but this dependency is
# already specified as the toolchain.
toolchain = {'name': 'GCCcore', 'version': '12.2.0'}

# manual download
#source_urls = ['https://www.amd.com/en/developer/aocc/eula/aocc-4-2-eula.html?filename=']
sources = ['aocc-compiler-%(version)s.tar']
checksums = ['ed5a560ec745b24dc0685ccdcbde914843fb2f2dfbfce1ba592de4ffbce1ccab']

clangversion = '16'

dependencies = [
    ('binutils', '2.39'),
    ('ncurses', '6.3'),
    ('zlib', '1.2.12'),
    ('libxml2', '2.10.3'),
]

moduleclass = 'compiler'
