mesa3d-32: updated to version 10.5.1
This commit is contained in:
parent
faf4f17aff
commit
c2076cb580
@ -1,2 +1 @@
|
||||
89a9862f747127feb5cc06ed86ebd2be 0196-gallivm-Update-for-RTDyldMemoryManager-becoming-an-u.patch
|
||||
b4f5e94d5d1fd2e4b1f9fd34d3d28595 MesaLib-10.4.6.tar.bz2
|
||||
203dba1fb6b503802fa6625181b26d31 mesa-10.5.1.tar.xz
|
||||
|
@ -1,33 +0,0 @@
|
||||
From 89f4202c6b0477eba0ec62340b8882a4a5fa6949 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Jos=C3=A9=20Fonseca?= <jfonseca@vmware.com>
|
||||
Date: Wed, 3 Dec 2014 07:48:26 +0000
|
||||
Subject: [PATCH 196/196] gallivm: Update for RTDyldMemoryManager becoming an
|
||||
unique_ptr.
|
||||
|
||||
Trivial.
|
||||
|
||||
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=86958
|
||||
---
|
||||
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
|
||||
index fe3c754..5210acc 100644
|
||||
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
|
||||
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
|
||||
@@ -500,8 +500,12 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
|
||||
MM = new ShaderMemoryManager(JMM);
|
||||
*OutCode = MM->getGeneratedCode();
|
||||
|
||||
+#if HAVE_LLVM >= 0x0306
|
||||
+ builder.setMCJITMemoryManager(std::unique_ptr<RTDyldMemoryManager>(MM));
|
||||
+#else
|
||||
builder.setMCJITMemoryManager(MM);
|
||||
#endif
|
||||
+#endif
|
||||
} else {
|
||||
#if HAVE_LLVM < 0x0306
|
||||
BaseMemoryManager* JMM = reinterpret_cast<BaseMemoryManager*>(CMM);
|
||||
--
|
||||
2.2.1
|
||||
|
@ -4,21 +4,19 @@
|
||||
# Depends on: elfutils-32 eudev-32 expat-32 libdrm-32 libvdpau-32 libxml2-python-32 llvm-32 mesa3d talloc-32 xorg-dri3proto-32 xorg-glproto-32 xorg-libxdamage-32 xorg-libxshmfence-32 xorg-libxt-32 xorg-libxvmc-32 xorg-libxxf86vm-32 xorg-presentproto-32
|
||||
|
||||
name=mesa3d-32
|
||||
version=10.4.6
|
||||
version=10.5.1
|
||||
release=1
|
||||
source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2
|
||||
0196-gallivm-Update-for-RTDyldMemoryManager-becoming-an-u.patch)
|
||||
source=(ftp://ftp.freedesktop.org/pub/mesa/$version/mesa-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
cd Mesa-$version
|
||||
cd mesa-$version
|
||||
|
||||
local f
|
||||
for f in $(grep -r -l llvm-config | xargs); do
|
||||
sed -i -e 's|llvm-config|llvm-config-32|g' $f
|
||||
done
|
||||
|
||||
patch -p1 -i $SRC/0196-gallivm-Update-for-RTDyldMemoryManager-becoming-an-u.patch
|
||||
autoreconf --install --symlink
|
||||
autoreconf --force --install --symlink
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
|
Loading…
x
Reference in New Issue
Block a user