easyblock = 'OpenCL'

name = 'OpenCL-runtime'
version = '15.1'

homepage = 'https://software.intel.com/en-us/intel-opencl'
description = """OpenCL™ is the first open, royalty-free standard for cross-platform,
parallel programming of modern processors found in personal local_computers, servers and handheld/embedded devices.
OpenCL (Open Computing Language) greatly improves speed and responsiveness for a wide spectrum of applications
in numerous market categories from gaming and entertainment to scientific and medical software.
"""

toolchain = SYSTEM

source_urls = [
    # Use manually downloaded sources
]

sources = ['opencl_runtime_15.1_x64_5.0.0.57.tgz']

# license file
import os
license_file = os.path.join(
    os.getenv('HOME'),
    "licenses",
    "intel",
    "license.lic")

skipsteps = ['build']

sanity_check_paths = {
    'files': [''],
    'dirs': ['lib64'],
}

moduleclass = 'lang'
