# IT4Innovations 2022
# JK

name = 'Advisor'
version = '2021.4.0'

homepage = 'https://software.intel.com/intel-advisor-xe'
description = """Vectorization Optimization and Thread Prototyping
 - Vectorize & thread code or performance
 - Easy workflow + data + tips = faster code faster
 - Prioritize, Prototype & Predict performance gain
 """

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

source_urls = ['https://registrationcenter-download.intel.com/akdlm/irc_nas/18220/']
sources = ['l_oneapi_advisor_p_%(version)s.389_offline.sh']
checksums = ['dd948f7312629d9975e12a57664f736b8e011de948771b4c05ad444438532be8']

dependencies = [
    ('GTK2', '2.24.33'),
    ('Mesa', '21.1.1'),
]

dontcreateinstalldir = True

sanity_check_paths = {
    'files': ['%(namelower)s/%(version)s/bin64/advisor'],
    'dirs': ['%(namelower)s/%(version)s/bin64',
             '%(namelower)s/%(version)s/lib64',
             '%(namelower)s/%(version)s/include/intel64']
}

modextrapaths = {
    'PATH': 'advisor/latest/bin64',
    'MANPATH': 'advisor/latest/man',
}

moduleclass = 'perf'
