
This creates a set of packages which all use the same script to install components of Intel oneAPI. This includes: * An inheritable IntelOneApiPackage which knows how to invoke the installation script based on which components are requested * For components which include headers/libraries, an inheritable IntelOneApiLibraryPackage is provided to locate them * Individual packages for DAL, DNN, TBB, etc. * A package for the Intel oneAPI compilers (icx/ifx). This also includes icc/ifortran but these are not currently detected in this PR
28 lines
905 B
Python
28 lines
905 B
Python
# Copyright 2013-2020 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)
|
|
|
|
|
|
from spack import *
|
|
|
|
releases = {
|
|
'2021.1.1': {'irc_id': '17402', 'build': '52'}}
|
|
|
|
|
|
class IntelOneapiMkl(IntelOneApiLibraryPackage):
|
|
"""Intel oneAPI MKL."""
|
|
|
|
maintainers = ['rscohn2']
|
|
|
|
homepage = 'https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onemkl.html'
|
|
|
|
version('2021.1.1', sha256='818b6bd9a6c116f4578cda3151da0612ec9c3ce8b2c8a64730d625ce5b13cc0c', expand=False)
|
|
|
|
def __init__(self, spec):
|
|
self.component_info(dir_name='mkl',
|
|
components='intel.oneapi.lin.mkl.devel',
|
|
releases=releases,
|
|
url_name='onemkl')
|
|
super(IntelOneapiMkl, self).__init__(spec)
|