SHA256
1
0
forked from pool/Mesa

refix build on sle15/leap15

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1012
This commit is contained in:
Stefan Dirsch 2020-11-30 15:00:07 +00:00 committed by Git OBS Bridge
parent c56a967204
commit 8a9f9bac16
2 changed files with 20 additions and 4 deletions

View File

@ -209,19 +209,27 @@ BuildRequires: pkgconfig(wayland-client) >= 1.11
BuildRequires: pkgconfig(wayland-protocols) >= 1.8
BuildRequires: pkgconfig(wayland-server) >= 1.11
%if 0%{with_llvm}
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300
%if 0%{?suse_version} >= 1550
BuildRequires: llvm-devel >= 11.0.0
%else
%if 0%{?sle_version} >= 150300
BuildRequires: llvm11-devel
%else
BuildRequires: llvm9-devel
%endif
%endif
%endif
%if 0%{with_opencl}
%if 0%{?suse_version} >= 1550
BuildRequires: clang-devel >= 10.0.0
BuildRequires: clang-devel >= 11.0.0
%else
%if 0%{?sle_version} >= 150300
BuildRequires: clang11-devel
%else
BuildRequires: clang9-devel
%endif
%endif
BuildRequires: libclc
%endif

View File

@ -208,19 +208,27 @@ BuildRequires: pkgconfig(wayland-client) >= 1.11
BuildRequires: pkgconfig(wayland-protocols) >= 1.8
BuildRequires: pkgconfig(wayland-server) >= 1.11
%if 0%{with_llvm}
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300
%if 0%{?suse_version} >= 1550
BuildRequires: llvm-devel >= 11.0.0
%else
%if 0%{?sle_version} >= 150300
BuildRequires: llvm11-devel
%else
BuildRequires: llvm9-devel
%endif
%endif
%endif
%if 0%{with_opencl}
%if 0%{?suse_version} >= 1550
BuildRequires: clang-devel >= 10.0.0
BuildRequires: clang-devel >= 11.0.0
%else
%if 0%{?sle_version} >= 150300
BuildRequires: clang11-devel
%else
BuildRequires: clang9-devel
%endif
%endif
BuildRequires: libclc
%endif