Skip to content

Commit

Permalink
Merge pull request #3465 from maxim-masterov/vtune_upd
Browse files Browse the repository at this point in the history
Update VTune EasyBlock to work with v2024 and newer
  • Loading branch information
Micket authored Oct 2, 2024
2 parents aff313d + d2a0a23 commit 7d372f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion easybuild/easyblocks/v/vtune.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ def __init__(self, *args, **kwargs):
# recent versions of VTune are installed to a subdirectory
self.subdir = ''
loosever = LooseVersion(self.version)
if loosever >= LooseVersion('2021'):
if loosever >= LooseVersion('2024'):
self.subdir = os.path.join('vtune', '.'.join([str(loosever.version[0]), str(loosever.version[1])]))
elif loosever >= LooseVersion('2021'):
self.subdir = os.path.join('vtune', self.version)
elif loosever >= LooseVersion('2020'):
self.subdir = 'vtune_profiler'
Expand Down

0 comments on commit 7d372f8

Please sign in to comment.