diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/intel-oneapi-vpl/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/intel-oneapi-vpl/package.py | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-vpl/package.py b/var/spack/repos/builtin/packages/intel-oneapi-vpl/package.py index 2476c22041..674e32bf27 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-vpl/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-vpl/package.py @@ -3,12 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +from sys import platform from spack import * -releases = { - '2021.1.1': {'irc_id': '17418', 'build': '66'}} - class IntelOneapiVpl(IntelOneApiLibraryPackage): """Intel oneAPI VPL.""" @@ -17,11 +15,12 @@ class IntelOneapiVpl(IntelOneApiLibraryPackage): homepage = 'https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onevpl.html' - version('2021.1.1', sha256='0fec42545b30b7bb2e4e33deb12ab27a02900f5703153d9601673a8ce43082ed', expand=False) + if platform == 'linux': + version('2021.1.1', + sha256='0fec42545b30b7bb2e4e33deb12ab27a02900f5703153d9601673a8ce43082ed', + url='https://registrationcenter-download.intel.com/akdlm/irc_nas/17418/l_oneVPL_p_2021.1.1.66_offline.sh', + expand=False) - def __init__(self, spec): - self.component_info(dir_name='vpl', - components='intel.oneapi.lin.vpl.devel', - releases=releases, - url_name='oneVPL') - super(IntelOneapiVpl, self).__init__(spec) + @property + def component_dir(self): + return 'vpl' |