# IT4Innovations
# LK 2023
# --include-easyblocks=/apps/easybuild/it4i-easyblocks/easyblocks/a/aocl.py

name = 'AOCL'
version = '4.2.0'

homepage = 'https://developer.amd.com/amd-aocc/'
description = """AMD provides a free set of thoroughly optimized and threaded math routines for HPC,
 scientific, engineering and related compute-intensive applications. ACML is ideal for weather modeling,
 computational fluid dynamics, financial analysis, oil and gas applications and more. """

toolchain = {'name': 'GCCcore', 'version': '12.2.0'}

#source_urls = ['https://download.amd.com/developer/eula/aocl/aocl-4-1/']
sources = ['aocl-linux-aocc-%(version)s.tar.gz']
checksums = ['d25aa17dec5b50b89414d7faff2d72a2c959987fe1a4a0a5842878a3fe079d5c']

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

moduleclass = 'numlib'
