From 5b679ff07dce3dc6115d4b7a0673e43c429c1d24 Mon Sep 17 00:00:00 2001 From: Josef Date: Thu, 17 May 2018 11:15:04 +0200 Subject: [PATCH] new file: o/OpenCL-runtime/OpenCL-runtime-16.1.2.eb deleted: o/OpenCL-sdk/OpenCL-runtime-15.1.eb Former-commit-id: edde0bde31b2db5a80d7bbe83248b92e481eaae0 --- .../OpenCL-runtime-16.1.2.eb} | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) rename o/{OpenCL-sdk/OpenCL-runtime-15.1.eb => OpenCL-runtime/OpenCL-runtime-16.1.2.eb} (55%) diff --git a/o/OpenCL-sdk/OpenCL-runtime-15.1.eb b/o/OpenCL-runtime/OpenCL-runtime-16.1.2.eb similarity index 55% rename from o/OpenCL-sdk/OpenCL-runtime-15.1.eb rename to o/OpenCL-runtime/OpenCL-runtime-16.1.2.eb index 677cd49a..122a6c8e 100644 --- a/o/OpenCL-sdk/OpenCL-runtime-15.1.eb +++ b/o/OpenCL-runtime/OpenCL-runtime-16.1.2.eb @@ -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'], }