diff options
-rw-r--r-- | var/spack/repos/builtin/packages/intel-parallel-studio/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/intel-parallel-studio/package.py b/var/spack/repos/builtin/packages/intel-parallel-studio/package.py index fefda18e18..ccfac3c9a9 100644 --- a/var/spack/repos/builtin/packages/intel-parallel-studio/package.py +++ b/var/spack/repos/builtin/packages/intel-parallel-studio/package.py @@ -341,7 +341,7 @@ class IntelParallelStudio(IntelPackage): # 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 @@ class IntelParallelStudio(IntelPackage): 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] |