easyblock = 'OpenCL'

name = 'OpenCL-builder'
version = '2015'

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.

This is builder (formerly runtime) package.
"""

toolchain = SYSTEM

source_urls = [
    # Use manually downloaded sources
]

sources = ['intel_code_builder_for_opencl_2015_5.0.0.62_x64.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'