Add oneAPI packages from 2021.4 release (#26401)

This commit is contained in:
Anna Masalskaya
2021-10-01 16:58:32 +03:00
committed by GitHub
parent 91f668a695
commit 8fc770608d
13 changed files with 66 additions and 0 deletions

View File

@@ -177,6 +177,13 @@ def test_intel_version_detection(version_str, expected_version):
'InstalledDir: /made/up/path',
'2021.3.0'
),
( # ICX/ICPX
'Intel(R) oneAPI DPC++/C++ Compiler 2021.4.0 (2021.4.0.20210924)\n'
'Target: x86_64-unknown-linux-gnu\n'
'Thread model: posix\n'
'InstalledDir: /made/up/path',
'2021.4.0'
),
( # IFX
'ifx (IFORT) 2021.1.2 Beta 20201214\n'
'Copyright (C) 1985-2020 Intel Corporation. All rights reserved.',
@@ -192,6 +199,11 @@ def test_intel_version_detection(version_str, expected_version):
'Copyright (C) 1985-2020 Intel Corporation. All rights reserved.',
'2021.3.0'
),
( # IFX
'ifx (IFORT) 2021.4.0 Beta 20210924\n'
'Copyright (C) 1985-2021 Intel Corporation. All rights reserved.',
'2021.4.0'
),
])
def test_oneapi_version_detection(version_str, expected_version):
version = spack.compilers.oneapi.Oneapi.extract_version_from_output(