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:
parent
c56a967204
commit
8a9f9bac16
@ -209,19 +209,27 @@ BuildRequires: pkgconfig(wayland-client) >= 1.11
|
|||||||
BuildRequires: pkgconfig(wayland-protocols) >= 1.8
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.8
|
||||||
BuildRequires: pkgconfig(wayland-server) >= 1.11
|
BuildRequires: pkgconfig(wayland-server) >= 1.11
|
||||||
%if 0%{with_llvm}
|
%if 0%{with_llvm}
|
||||||
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300
|
%if 0%{?suse_version} >= 1550
|
||||||
BuildRequires: llvm-devel >= 11.0.0
|
BuildRequires: llvm-devel >= 11.0.0
|
||||||
%else
|
%else
|
||||||
|
%if 0%{?sle_version} >= 150300
|
||||||
|
BuildRequires: llvm11-devel
|
||||||
|
%else
|
||||||
BuildRequires: llvm9-devel
|
BuildRequires: llvm9-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{with_opencl}
|
%if 0%{with_opencl}
|
||||||
%if 0%{?suse_version} >= 1550
|
%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
|
%else
|
||||||
BuildRequires: clang9-devel
|
BuildRequires: clang9-devel
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
BuildRequires: libclc
|
BuildRequires: libclc
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
12
Mesa.spec
12
Mesa.spec
@ -208,19 +208,27 @@ BuildRequires: pkgconfig(wayland-client) >= 1.11
|
|||||||
BuildRequires: pkgconfig(wayland-protocols) >= 1.8
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.8
|
||||||
BuildRequires: pkgconfig(wayland-server) >= 1.11
|
BuildRequires: pkgconfig(wayland-server) >= 1.11
|
||||||
%if 0%{with_llvm}
|
%if 0%{with_llvm}
|
||||||
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300
|
%if 0%{?suse_version} >= 1550
|
||||||
BuildRequires: llvm-devel >= 11.0.0
|
BuildRequires: llvm-devel >= 11.0.0
|
||||||
%else
|
%else
|
||||||
|
%if 0%{?sle_version} >= 150300
|
||||||
|
BuildRequires: llvm11-devel
|
||||||
|
%else
|
||||||
BuildRequires: llvm9-devel
|
BuildRequires: llvm9-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{with_opencl}
|
%if 0%{with_opencl}
|
||||||
%if 0%{?suse_version} >= 1550
|
%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
|
%else
|
||||||
BuildRequires: clang9-devel
|
BuildRequires: clang9-devel
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
BuildRequires: libclc
|
BuildRequires: libclc
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user