summaryrefslogtreecommitdiff
path: root/community/llvm-amdgpu-snapshot/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/llvm-amdgpu-snapshot/PKGBUILD')
-rw-r--r--community/llvm-amdgpu-snapshot/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/community/llvm-amdgpu-snapshot/PKGBUILD b/community/llvm-amdgpu-snapshot/PKGBUILD
index b36b421f0..229057db1 100644
--- a/community/llvm-amdgpu-snapshot/PKGBUILD
+++ b/community/llvm-amdgpu-snapshot/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 82677 2013-01-22 22:38:25Z lcarlier $
+# $Id: PKGBUILD 85846 2013-03-07 17:52:47Z lcarlier $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Roberto Alsina <ralsina@kde.org>
@@ -7,7 +7,7 @@
# Contributor: Tomas Wilhelmsson <tomas.wilhelmsson@gmail.com>
pkgname=llvm-amdgpu-snapshot
-pkgver=20121230
+pkgver=20130307
pkgrel=1
pkgdesc='Low Level Virtual Machine with AMDGPU enabled to build r600g shader llvm support'
arch=('i686' 'x86_64')
@@ -15,11 +15,11 @@ url="http://llvm.org"
license=('custom:University of Illinois/NCSA Open Source License')
depends=('libffi' 'python2' 'ocaml')
conflicts=('llvm')
-source=(ftp://ftp.archlinux.org/other/community/llvm-amdgpu/llvm-amdgpu-master.20121230.tar.gz)
-md5sums=('dbf9ad608a68fc758192c3d4716600d9')
+source=(ftp://ftp.archlinux.org/other/community/llvm-amdgpu/llvm-amdgpu-master.${pkgver}.tar.gz)
+md5sums=('6aa900855eea11b6dce86fb04d813d75')
build() {
- cd "$srcdir"/llvm-master
+ cd "$srcdir"/llvm-*
sed -i 's/python$/python2/' utils/llvm-build/llvm-build
@@ -39,7 +39,7 @@ build() {
--enable-shared \
--enable-libffi \
--enable-targets=all \
- --enable-experimental-targets=AMDGPU \
+ --enable-experimental-targets=R600 \
--disable-expensive-checks \
--with-binutils-include=/usr/include \
--$_optimized_switch-optimized
@@ -48,7 +48,7 @@ build() {
}
package() {
- cd "$srcdir"/llvm-master
+ cd "$srcdir"/llvm-*
make DESTDIR="$pkgdir" install
@@ -59,3 +59,4 @@ package() {
install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
+