Master just got a fix for building against llvm 12 and later, so the patch for the fixedvectortype is removed.
This commit is contained in:
parent
bb79952ae5
commit
561f4a707a
5
.SRCINFO
5
.SRCINFO
@ -1,6 +1,6 @@
|
|||||||
pkgbase = mesa-git
|
pkgbase = mesa-git
|
||||||
pkgdesc = an open-source implementation of the OpenGL specification, git version
|
pkgdesc = an open-source implementation of the OpenGL specification, git version
|
||||||
pkgver = 21.1.0_devel.137907.1aeebac4e6b
|
pkgver = 21.2.0_devel.138195.b8403192edd
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://www.mesa3d.org
|
url = https://www.mesa3d.org
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
@ -60,13 +60,10 @@ pkgbase = mesa-git
|
|||||||
conflicts = vulkan-swrast
|
conflicts = vulkan-swrast
|
||||||
source = mesa::git+https://gitlab.freedesktop.org/mesa/mesa.git
|
source = mesa::git+https://gitlab.freedesktop.org/mesa/mesa.git
|
||||||
source = LICENSE
|
source = LICENSE
|
||||||
source = 0001-clover-llvm13-use-FixedVectorType.patch
|
|
||||||
md5sums = SKIP
|
md5sums = SKIP
|
||||||
md5sums = 5c65a0fe315dd347e09b1f2826a1df5a
|
md5sums = 5c65a0fe315dd347e09b1f2826a1df5a
|
||||||
md5sums = 5f0620ce35da2d1f80dc1b3c03eafc32
|
|
||||||
sha512sums = SKIP
|
sha512sums = SKIP
|
||||||
sha512sums = 25da77914dded10c1f432ebcbf29941124138824ceecaf1367b3deedafaecabc082d463abcfa3d15abff59f177491472b505bcb5ba0c4a51bb6b93b4721a23c2
|
sha512sums = 25da77914dded10c1f432ebcbf29941124138824ceecaf1367b3deedafaecabc082d463abcfa3d15abff59f177491472b505bcb5ba0c4a51bb6b93b4721a23c2
|
||||||
sha512sums = c3a567df69a263c6b87d9c7887464ed03b5a0bf008caf180c45cf50dca3f4710e0eda3e453a7a69b89720e333c33b9aa7da1b7f9c79d72bb76d847b567558d19
|
|
||||||
|
|
||||||
pkgname = mesa-git
|
pkgname = mesa-git
|
||||||
|
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
diff --unified --recursive --text mesa.orig/src/gallium/frontends/clover/llvm/metadata.hpp mesa.new/src/gallium/frontends/clover/llvm/metadata.hpp
|
|
||||||
--- mesa.orig/src/gallium/frontends/clover/llvm/metadata.hpp 2021-02-14 13:15:16.994404651 +0100
|
|
||||||
+++ mesa.new/src/gallium/frontends/clover/llvm/metadata.hpp 2021-02-14 13:19:11.096855317 +0100
|
|
||||||
@@ -129,7 +129,11 @@
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
if (type->isVectorTy())
|
|
||||||
- data += std::to_string(((::llvm::VectorType*)type)->getNumElements());
|
|
||||||
+#if LLVM_VERSION_MAJOR >= 13
|
|
||||||
+ data += std::to_string(((::llvm::FixedVectorType*)type)->getNumElements());
|
|
||||||
+#else
|
|
||||||
+ data += std::to_string(((::llvm::VectorType*)type)->getNumElements());
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
} else {
|
|
||||||
::llvm::raw_string_ostream os { data };
|
|
13
PKGBUILD
13
PKGBUILD
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
pkgname=mesa-git
|
pkgname=mesa-git
|
||||||
pkgdesc="an open-source implementation of the OpenGL specification, git version"
|
pkgdesc="an open-source implementation of the OpenGL specification, git version"
|
||||||
pkgver=21.1.0_devel.137968.437ed05708e
|
pkgver=21.2.0_devel.138224.f601fd635bb
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
makedepends=('git' 'python-mako' 'xorgproto'
|
makedepends=('git' 'python-mako' 'xorgproto'
|
||||||
@ -26,14 +26,11 @@ conflicts=('mesa' 'opencl-mesa' 'vulkan-intel' 'vulkan-radeon' 'vulkan-mesa-laye
|
|||||||
url="https://www.mesa3d.org"
|
url="https://www.mesa3d.org"
|
||||||
license=('custom')
|
license=('custom')
|
||||||
source=('mesa::git+https://gitlab.freedesktop.org/mesa/mesa.git'
|
source=('mesa::git+https://gitlab.freedesktop.org/mesa/mesa.git'
|
||||||
'LICENSE'
|
'LICENSE')
|
||||||
'0001-clover-llvm13-use-FixedVectorType.patch')
|
|
||||||
md5sums=('SKIP'
|
md5sums=('SKIP'
|
||||||
'5c65a0fe315dd347e09b1f2826a1df5a'
|
'5c65a0fe315dd347e09b1f2826a1df5a')
|
||||||
'5f0620ce35da2d1f80dc1b3c03eafc32')
|
|
||||||
sha512sums=('SKIP'
|
sha512sums=('SKIP'
|
||||||
'25da77914dded10c1f432ebcbf29941124138824ceecaf1367b3deedafaecabc082d463abcfa3d15abff59f177491472b505bcb5ba0c4a51bb6b93b4721a23c2'
|
'25da77914dded10c1f432ebcbf29941124138824ceecaf1367b3deedafaecabc082d463abcfa3d15abff59f177491472b505bcb5ba0c4a51bb6b93b4721a23c2')
|
||||||
'c3a567df69a263c6b87d9c7887464ed03b5a0bf008caf180c45cf50dca3f4710e0eda3e453a7a69b89720e333c33b9aa7da1b7f9c79d72bb76d847b567558d19')
|
|
||||||
|
|
||||||
# NINJAFLAGS is an env var used to pass commandline options to ninja
|
# NINJAFLAGS is an env var used to pass commandline options to ninja
|
||||||
# NOTE: It's your responbility to validate the value of $NINJAFLAGS. If unsure, don't set it.
|
# NOTE: It's your responbility to validate the value of $NINJAFLAGS. If unsure, don't set it.
|
||||||
@ -98,8 +95,6 @@ prepare() {
|
|||||||
if [ -d _build ]; then
|
if [ -d _build ]; then
|
||||||
rm -rf _build
|
rm -rf _build
|
||||||
fi
|
fi
|
||||||
cd mesa
|
|
||||||
patch --forward --strip=1 --input="${srcdir}/0001-clover-llvm13-use-FixedVectorType.patch"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build () {
|
build () {
|
||||||
|
Loading…
Reference in New Issue
Block a user