diff --git a/v/VTune/VTune-2017_update2.eb b/v/VTune/VTune-2017_update2.eb index 852db06f..642c913c 100644 --- a/v/VTune/VTune-2017_update2.eb +++ b/v/VTune/VTune-2017_update2.eb @@ -1,16 +1,35 @@ name = 'VTune' version = '2017_update2' +# https://gitlab.it4i.cz/it4i-admins/EasyBuild/issues/50 !!! + + homepage = 'http://software.intel.com/en-us/intel-vtune-amplifier-xe' description = """Intel VTune Amplifier XE is the premier performance profiler for C, C++, C#, Fortran, Assembly and Java.""" checksums = ['1ef91898e107a1da015305def80091e4'] -toolchain = {'name': 'dummy', 'version': 'dummy'} +toolchain = {'name': 'dummy', 'version': ''} sources = ['vtune_amplifier_xe_%(version)s.tar.gz'] -license_file = HOME + '/licenses/intel/license.lic' +dontcreateinstalldir = 'True' + +# license file +import os +license_file = os.path.join(os.getenv('HOME'), "licenses", "intel", "license.lic") + +sanity_check_paths = { + 'files': [], + 'dirs': ['vtune_amplifier_xe_2017.2.0.499904'], +} + +# Do necessary post-install steps to build VTune kernel modules +postinstallcmds = [ + 'mkdir %(installdir)s/modules', + 'cd %(installdir)s/vtune_amplifier_xe/sepdk/src/ && ' + './build-driver --install-dir=%(installdir)s/modules --non-interactive', +] moduleclass = 'tools'