SHA256
1
0
forked from pool/Mesa

Accepting request 485802 from home:a_faerber:branches:X11:XOrg

Enable Clover for s390x

OBS-URL: https://build.opensuse.org/request/show/485802
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=590
This commit is contained in:
Stefan Dirsch 2017-04-05 12:32:09 +00:00 committed by Git OBS Bridge
parent a514a471cd
commit fd56f9108c
2 changed files with 18 additions and 2 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Apr 5 11:32:26 UTC 2017 - afaerber@suse.de
- Prepare building OpenCL for non-x86 architectures, too
* s390x can build it right away (swrast)
* %arm aarch64 ppc64 ppc64le depend on LLVM amdgpu target for r600
- Fix typo in specfile comment
-------------------------------------------------------------------
Sat Apr 1 15:59:08 UTC 2017 - mimi.vx@gmail.com

View File

@ -29,7 +29,7 @@
%define _version 17.0.3
%define with_opencl 0
%define with_vulkan 0
%ifarch %ix86 x86_64 %arm ppc ppc64 ppc64le s390x
%ifarch %ix86 x86_64 %arm aarch64 ppc ppc64 ppc64le s390x
%define gallium_loader 1
%else
%define gallium_loader 0
@ -45,9 +45,13 @@
%endif
%ifarch %ix86 x86_64
%define with_nine 1
%endif
%if 0%{gallium_loader} && 0%{?suse_version} >= 1330
# llvm >= 3.9 not provided for <= 1330
%ifarch %ix86 x86_64 s390x
%define with_opencl 1
%endif
%ifarch %ix86 x86_64
%define with_vulkan 1
%endif
%endif
@ -153,8 +157,12 @@ BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.74
%ifarch x86_64 %ix86
BuildRequires: libelf-devel
BuildRequires: pkgconfig(libdrm_intel) >= 2.4.61
%else
%if 0%{with_opencl}
BuildRequires: libelf-devel
%endif
# Requirments for wayland bumped up from 17.0
%endif
# Requirements for wayland bumped up from 17.0
%if 0%{?suse_version} > 1320
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-server)