openmp: add 5.1/5.2, fixes openmp with llvm v17

llvm v17 defaults to 5.1 and without this meson fails to find
openmp: 'ERROR: Dependency "openmp" not found, tried system'

Add 5.2 as well while at it.
This commit is contained in:
Christoph Reiter 2023-09-23 14:10:29 +02:00 committed by Dylan Baker
parent d0b09898c7
commit 9c74c73bc7
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ class DlSystemDependency(SystemDependency):
class OpenMPDependency(SystemDependency):
# Map date of specification release (which is the macro value) to a version.
VERSIONS = {
'202111': '5.2',
'202011': '5.1',
'201811': '5.0',
'201611': '5.0-revision1', # This is supported by ICC 19.x
'201511': '4.5',