aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2023-09-23 14:10:29 +0200
committerDylan Baker <dylan@pnwbakers.com>2023-09-23 16:24:40 -0700
commit9c74c73bc7107c794e7f9896cc4220e50ad32bba (patch)
tree9f2dc317999c885e47cc5a8e6ffeb47d70c3730f /mesonbuild/dependencies
parentd0b09898c703f6c10ec5a6b2aeace0df2e3570aa (diff)
downloadmeson-9c74c73bc7107c794e7f9896cc4220e50ad32bba.zip
meson-9c74c73bc7107c794e7f9896cc4220e50ad32bba.tar.gz
meson-9c74c73bc7107c794e7f9896cc4220e50ad32bba.tar.bz2
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.
Diffstat (limited to 'mesonbuild/dependencies')
-rw-r--r--mesonbuild/dependencies/misc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py
index b186b5d..b41f3c2 100644
--- a/mesonbuild/dependencies/misc.py
+++ b/mesonbuild/dependencies/misc.py
@@ -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',