# IT4Innovations 2017 easyblock = 'OpenCL' name = 'OpenCL-runtime' version = '16.1.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 #'http://registrationcenter-download.intel.com/akdlm/irc_nas/9019/opencl_runtime_16.1.1_x64_rh_6.4.0.25.tgz' ] sources = ['opencl_runtime_%(version)s_x64_rh_6.4.0.25.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'] postinstallcmds = [ 'mkdir %(installdir)s/bin', 'echo "1" > %(installdir)s/bin/hack_for_instalation' ] sanity_check_paths = { 'files': ['bin/hack_for_instalation'], 'dirs': ['lib64'], } moduleclass = 'lang'