From c79d966d7a8ef7a71b16045c4dc5b0a5e2602ae2b5d529f6cde4b14b1ae8577d Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sat, 5 Nov 2022 09:24:57 +0000 Subject: [PATCH] - build against llvm15/clang15 on sle15-sp5/Leap 15.5 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1155 --- Mesa.changes | 5 +++++ Mesa.spec | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/Mesa.changes b/Mesa.changes index fabadd6..026b032 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 4 21:03:39 UTC 2022 - Stefan Dirsch + +- build against llvm15/clang15 on sle15-sp5/Leap 15.5 + ------------------------------------------------------------------- Wed Nov 2 16:56:33 UTC 2022 - Stefan Dirsch diff --git a/Mesa.spec b/Mesa.spec index 9497379..7ffae3c 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -234,6 +234,9 @@ BuildRequires: pkgconfig(wayland-server) >= 1.11 %if 0%{?suse_version} >= 1550 BuildRequires: llvm-devel %else +%if 0%{?sle_version} >= 150500 +BuildRequires: llvm15-devel +%else %if 0%{?sle_version} >= 150400 BuildRequires: llvm13-devel %else @@ -245,11 +248,15 @@ BuildRequires: llvm9-devel %endif %endif %endif +%endif %if 0%{with_opencl} %if 0%{?suse_version} >= 1550 BuildRequires: clang-devel %else +%if 0%{?sle_version} >= 150500 +BuildRequires: clang15-devel +%else %if 0%{?sle_version} >= 150400 BuildRequires: clang13-devel %else @@ -260,6 +267,7 @@ BuildRequires: clang9-devel %endif %endif %endif +%endif BuildRequires: libclc %endif