fix ips 2018 vtune directory name (#6893)
This commit is contained in:
parent
637165eef8
commit
5d49fe4b4c
1 changed files with 4 additions and 1 deletions
|
@ -341,7 +341,7 @@ def components(self):
|
|||
|
||||
# Intel(R) VTune(TM) Amplifier XE
|
||||
if '+vtune' in spec:
|
||||
components.append('intel-vtune-amplifier-xe')
|
||||
components.append('intel-vtune-amplifier')
|
||||
|
||||
return components
|
||||
|
||||
|
@ -397,6 +397,9 @@ def license_files(self):
|
|||
if '+vtune' in spec:
|
||||
vtune_dir = 'vtune_amplifier_xe/licenses'
|
||||
|
||||
if year >= 2018:
|
||||
vtune_dir = 'vtune_amplifier/licenses'
|
||||
|
||||
directories.append(vtune_dir)
|
||||
|
||||
return [os.path.join(dir, 'license.lic') for dir in directories]
|
||||
|
|
Loading…
Reference in a new issue