From 3d8709240c3fcfb804e13747d189435917276052 Mon Sep 17 00:00:00 2001 From: Jakub Kropacek Date: Mon, 4 Jul 2022 16:09:29 +0200 Subject: [PATCH] modified: v/VTune/VTune-2020_update3-GCC.eb modified: v/VTune/VTune-2022.2.0-intel-2021b.eb --- v/VTune/VTune-2020_update3-GCC.eb | 1 + v/VTune/VTune-2022.2.0-intel-2021b.eb | 23 +++++++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/v/VTune/VTune-2020_update3-GCC.eb b/v/VTune/VTune-2020_update3-GCC.eb index 1d3497b8..b94b9358 100644 --- a/v/VTune/VTune-2020_update3-GCC.eb +++ b/v/VTune/VTune-2020_update3-GCC.eb @@ -13,6 +13,7 @@ toolchain = SYSTEM sources = ['vtune_profiler_%(version)s.tar.gz'] checksums = ['a673a21c71e780c38e7c6f60bd109088'] +accept_eula = True dontcreateinstalldir = 'True' #license file diff --git a/v/VTune/VTune-2022.2.0-intel-2021b.eb b/v/VTune/VTune-2022.2.0-intel-2021b.eb index a759a991..0bd0b04e 100644 --- a/v/VTune/VTune-2022.2.0-intel-2021b.eb +++ b/v/VTune/VTune-2022.2.0-intel-2021b.eb @@ -3,6 +3,7 @@ name = 'VTune' version = '2022.2.0' +local modules = '2022_2_0' homepage = 'https://software.intel.com/en-us/vtune' description = """Intel VTune Amplifier XE is the premier performance profiler for C, C++, C#, Fortran, @@ -12,7 +13,7 @@ toolchain = {'name': 'intel', 'version': '2021b'} # By downloading, you accept the Intel End User License Agreement # (https://software.intel.com/content/www/us/en/develop/articles/end-user-license-agreement.html) -# accept_eula = True +accept_eula = True source_urls = ['https://registrationcenter-download.intel.com/akdlm/irc_nas/18602/'] sources = ['l_oneapi_vtune_p_%(version)s.172_offline.sh'] checksums = ['d9f92ab6486a02c8ba226c98893492a54eda706d9edd3206a6b6143bfbc97195'] @@ -23,24 +24,26 @@ dependencies = [ ('GTK3', '3.24.31'), ] -#dontcreateinstalldir = 'True' -#license_file = '/apps/licenses/intel/license.lic' +dontcreateinstalldir = 'True' +license_file = '/apps/licenses/intel/license.lic' # Do necessary post-install steps to build VTune kernel modules postinstallcmds = [ 'mkdir %(installdir)s/modules', - 'cd %(installdir)s/vtune_profiler/sepdk/src/ && ' + 'echo "Pičo moduly do jádra"', + 'ln -s %(installdir)s %(installdir)s/../%(modules)s' +# 'cd %(installdir)s/vtune/%(version)s/sepdk/src/ && ' # './build-driver --install-dir=%(installdir)s/modules --non-interactive', # 'sed "s|DEFAULT_GROUP=vtune|DEFAULT_GROUP=wheel|" %(installdir)s/modules/pax/insmod-pax -i', # 'sed "s|DEFAULT_GROUP=vtune|DEFAULT_GROUP=wheel|" %(installdir)s/modules/vtsspp/insmod-vtsspp -i', # 'sed "s|DEFAULT_GROUP=vtune|DEFAULT_GROUP=wheel|" %(installdir)s/modules/insmod-sep -i', ] -#sanity_check_paths = { -# 'files': ['%(namelower)s/%(version)s/bin64/amplxe-perf'], -# 'dirs': ['%(namelower)s/%(version)s/bin64', -# '%(namelower)s/%(version)s/lib64', -# '%(namelower)s/%(version)s/include/intel64'] -#} +sanity_check_paths = { + 'files': ['%(namelower)s/%(version)s/bin64/amplxe-perf'], + 'dirs': ['%(namelower)s/%(version)s/bin64', + '%(namelower)s/%(version)s/lib64', + '%(namelower)s/%(version)s/include/intel64'] +} moduleclass = 'tools'