diff options
-rw-r--r-- | lib/spack/spack/build_systems/intel.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/spack/spack/build_systems/intel.py b/lib/spack/spack/build_systems/intel.py index 18628b8910..16a7e50084 100644 --- a/lib/spack/spack/build_systems/intel.py +++ b/lib/spack/spack/build_systems/intel.py @@ -151,7 +151,7 @@ class IntelPackage(PackageBase): '+advisor': 'advisor', '+inspector': 'inspector', '+itac': 'itac', - '+vtune': 'vtune_amplifier', + '+vtune': 'vtune_profiler', }.items(): if variant in self.spec: dirs.append(self.normalize_path( @@ -202,7 +202,8 @@ class IntelPackage(PackageBase): '+itac': ' intel-itac intel-ta intel-tc' ' intel-trace-analyzer intel-trace-collector', # Trace Analyzer and Collector - '+vtune': ' intel-vtune-amplifier', # VTune + '+vtune': ' intel-vtune' + # VTune, ..-profiler since 2020, ..-amplifier before }.items(): if variant in self.spec: c += components_to_add @@ -535,8 +536,9 @@ class IntelPackage(PackageBase): [None, '2016:', 'compilers_and_libraries'], ['advisor', ':2016', 'advisor_xe'], ['inspector', ':2016', 'inspector_xe'], - ['vtune_amplifier', ':2017', 'vtune_amplifier_xe'], + ['vtune_profiler', ':2017', 'vtune_amplifier_xe'], ['vtune', ':2017', 'vtune_amplifier_xe'], # alt. + ['vtune_profiler', ':2019', 'vtune_amplifier'], ['itac', ':', 'itac', [os.sep + standalone_glob]], ]: if cs == rename_rule[0] and v.satisfies(ver(rename_rule[1])): |