Skip to content

Commit

Permalink
Update for v2024
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-masterov committed Oct 1, 2024
1 parent aff313d commit d2a0a23
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 d2a0a23

Please sign in to comment.