# IT4Innovations 2017
easyblock = 'OpenCLsdk'

name = 'OpenCL-sdk'
version = '7.0.0.2568'

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
    #'http://registrationcenter-download.intel.com/akdlm/irc_nas/9019/opencl_runtime_16.1.1_x64_rh_6.4.0.25.tgz'
]

sources = ['intel_sdk_for_opencl_2017_7.0.0.2568_x64.tgz']

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

skipsteps = ['build']

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

moduleclass = 'lang'