Merge branch 'it4i-salomon'

Former-commit-id: c623fc25c0f266a602aa999c67a6dc77f4d95632
This commit is contained in:
Josef 2018-05-17 11:22:08 +02:00
commit bc0c06c72a

@ -1,7 +1,8 @@
#IT4Innovations 2017
easyblock = 'OpenCL'
name = 'OpenCL-runtime'
version = '15.1'
version = '16.1.2'
homepage = 'https://software.intel.com/en-us/intel-opencl'
description = """OpenCL™ is the first open, royalty-free standard for cross-platform,
@ -10,22 +11,29 @@ OpenCL (Open Computing Language) greatly improves speed and responsiveness for a
in numerous market categories from gaming and entertainment to scientific and medical software.
"""
toolchain = {'name': 'dummy', 'version': 'dummy'}
toolchain = {'name': 'dummy', 'version': ''}
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_15.1_x64_5.0.0.57.tgz']
sources = ['opencl_runtime_%(version)s_x64_rh_6.4.0.37.tgz']
# license file
import os
license_file = os.path.join(os.getenv('HOME'), "licenses", "intel", "license.lic")
#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': [''],
'files': ['bin/hack_for_instalation'],
'dirs': ['lib64'],
}