[packages/Mesa] Build with static llvm 3.8
jajcus
jajcus at pld-linux.org
Fri Nov 4 18:18:21 CET 2016
commit 68ef4b3b7ce32832759c9fa60630f91e537471d1
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Fri Nov 4 18:15:35 2016 +0100
Build with static llvm 3.8
Static linking an help with the OpenGL ABI poisoning by llvm libs. Let's
see how much bigger the packages will be.
Mesa.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/Mesa.spec b/Mesa.spec
index e4b7a3f..baa06bc 100644
--- a/Mesa.spec
+++ b/Mesa.spec
@@ -24,6 +24,7 @@
%bcond_with texture_float # floating-point textures and renderbuffers (SGI patent in US)
%bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
%bcond_with tests # tests
+%bcond_with shared_llvm # enable linking with shared LLVM libs – may cause compatibility problems with Steam and games
#
# glapi version (glapi tables in dri drivers and libglx must be in sync);
# set to current Mesa version on ABI break, when xserver tables get regenerated
@@ -59,7 +60,7 @@ Summary: Free OpenGL implementation
Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
Name: Mesa
Version: 13.0.0
-Release: 1
+Release: 1.1
License: MIT (core) and others - see license.html file
Group: X11/Libraries
Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/mesa-%{version}.tar.xz
@@ -82,7 +83,7 @@ BuildRequires: libtool >= 2:2.2
%{?with_va:BuildRequires: pkgconfig(libva) >= 0.38.0}
BuildRequires: libvdpau-devel >= 1.1
BuildRequires: libxcb-devel >= 1.10
-%{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.6}
+%{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.8}
%{?with_opencl:BuildRequires: llvm-libclc}
# for SHA1 (could use also libmd/libsha1/libgcrypt/openssl instead)
BuildRequires: nettle-devel
@@ -1291,7 +1292,7 @@ vulkan_drivers="intel"
%endif
%if %{with gallium}
--enable-gallium-llvm \
- --enable-llvm-shared-libs \
+ %{__enable_disable shared_llvm llvm-shared-libs} \
%{__enable ocl_icd opencl-icd} \
%{?with_nine:--enable-nine} \
%{__enable opencl} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/Mesa.git/commitdiff/68ef4b3b7ce32832759c9fa60630f91e537471d1
More information about the pld-cvs-commit
mailing list