OpenCL-runtime-16.1.2.eb 1.21 KB
Newer Older
1
#IT4Innovations 2017
2
3
4
easyblock = 'OpenCL'

name = 'OpenCL-runtime'
5
version = '16.1.2'
6
7
8
9
10
11
12
13

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 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.
"""

14
toolchain = {'name': 'dummy', 'version': ''}
15
16
17

source_urls = [
    # Use manually downloaded sources
18
    #'http://registrationcenter-download.intel.com/akdlm/irc_nas/9019/opencl_runtime_16.1.1_x64_rh_6.4.0.25.tgz'
19
20
]

21
sources = ['opencl_runtime_%(version)s_x64_rh_6.4.0.37.tgz']
22
23

# license file
24
25
26
#import os
#license_file = os.path.join(os.getenv('HOME'), "licenses", "intel", "license.lic")
license_file = "/apps/licenses/intel/license.lic"
27
28
29

skipsteps = ['build']

30
31
32
33
34
postinstallcmds = [
   'mkdir %(installdir)s/bin',
   'echo "1" > %(installdir)s/bin/hack_for_instalation'
]

35
sanity_check_paths = {
36
    'files': ['bin/hack_for_instalation'],
37
38
39
40
    'dirs': ['lib64'],
}

moduleclass = 'lang'