summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/intel-oneapi-advisor/package.py
blob: 4a22c03c5951076360456f820f4c169dd564f084 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

import platform

from spack import *


class IntelOneapiAdvisor(IntelOneApiPackage):
    """Intel Advisor is a design and analysis tool for achieving
       high application performance. This is done through
       efficient threading, vectorization, and memory use, and
       GPU offload on current and future Intel hardware."""

    maintainers = ['rscohn2']

    homepage = 'https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/advisor.html'

    if platform.system() == 'Linux':
        version('2022.0.0',
                url='https://registrationcenter-download.intel.com/akdlm/irc_nas/18369/l_oneapi_advisor_p_2022.0.0.92_offline.sh',
                sha256='f1c4317c2222c56fb2e292513f7eec7ec27eb1049d3600cb975bc08ed1477993',
                expand=False)
        version('2021.4.0',
                url='https://registrationcenter-download.intel.com/akdlm/irc_nas/18220/l_oneapi_advisor_p_2021.4.0.389_offline.sh',
                sha256='dd948f7312629d9975e12a57664f736b8e011de948771b4c05ad444438532be8',
                expand=False)

    @property
    def component_dir(self):
        return 'advisor'