Add oneAPI packages from 2021.4 release (#26401)
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user