aboutsummaryrefslogtreecommitdiffstats
path: root/main/llvm/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/llvm/APKBUILD')
-rw-r--r--main/llvm/APKBUILD28
1 files changed, 13 insertions, 15 deletions
diff --git a/main/llvm/APKBUILD b/main/llvm/APKBUILD
index 19923dbc14..40b4a59455 100644
--- a/main/llvm/APKBUILD
+++ b/main/llvm/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=llvm
-pkgver=3.3
-pkgrel=1
+pkgver=3.4
+pkgrel=0
pkgdesc="low level virtual machine compiler system"
arch="x86 x86_64"
url="http://llvm.org/"
@@ -13,9 +13,7 @@ makedepends="$depends_dev groff libffi-dev python chrpath"
install=
subpackages="clang $pkgname-dev $pkgname-doc $pkgname-libs"
source="http://llvm.org/releases/$pkgver/llvm-$pkgver.src.tar.gz
- http://llvm.org/releases/$pkgver/cfe-$pkgver.src.tar.gz
- llvm-3.3-alpine-linux.patch
- llvm-musl.patch
+ http://llvm.org/releases/$pkgver/clang-$pkgver.src.tar.gz
"
# clang hardcodes linker paths; and don't know of a fix like the --with-dynamic-linker
# patch we use for gcc. So llvm-3.2-alpine-linux.patch needs to be updated if/when the
@@ -26,11 +24,11 @@ _srcdir="$srcdir"/"$pkgname-$pkgver.src"
prepare() {
msg "Preparing CLANG sources..."
- mv "$srcdir"/cfe-$pkgver.src \
- "$srcdir"/$pkgname-$pkgver.src/tools/clang || return 1
+ mv "$srcdir"/clang-$pkgver \
+ "$srcdir"/$pkgname-$pkgver/tools/clang || return 1
msg "Patching LLVM core..."
- cd "$srcdir"/$pkgname-$pkgver.src || return 1
+ cd "$srcdir"/$pkgname-$pkgver || return 1
update_config_sub || return 1
for i in $source; do
case $i in
@@ -41,7 +39,7 @@ prepare() {
esac
done
# fails to link
- rm ./unittests/Support/formatted_raw_ostream_test.cpp
+ #rm ./unittests/Support/formatted_raw_ostream_test.cpp
}
build() {
@@ -108,15 +106,15 @@ libs() {
mv "$pkgdir"/usr/lib/*.so "$subpkgdir"/usr/lib/
}
-md5sums="40564e1dc390f9844f1711c08b08e391 llvm-3.3.src.tar.gz
-8284891e3e311829b8e44ac813d0c9ef cfe-3.3.src.tar.gz
+md5sums="46ed668a1ce38985120dbf6344cf6116 llvm-3.4.src.tar.gz
+b378f1e2c424e03289effc75268d3d2c clang-3.4.src.tar.gz
18f9165003a5b86101547d40ec5d3036 llvm-3.3-alpine-linux.patch
517019fb4907cf5944c84315c681f905 llvm-musl.patch"
-sha256sums="68766b1e70d05a25e2f502e997a3cb3937187a3296595cf6e0977d5cd6727578 llvm-3.3.src.tar.gz
-b1b55de4ab3a57d3e0331a83e0284610191c77d924e3446498d9113d08dfb996 cfe-3.3.src.tar.gz
+sha256sums="25a5612d692c48481b9b397e2b55f4870e447966d66c96d655241702d44a2628 llvm-3.4.src.tar.gz
+22a9780db3b85a7f2eb9ea1f7f6e00da0249e3d12851e8dea0f62f1783242b1b clang-3.4.src.tar.gz
5a6e40c7ffe280534ce964eaca5bc8ec325cb747f8de1390f534be2944c72361 llvm-3.3-alpine-linux.patch
3b653520e79933058e9b4ab0943a364a87babe8e5e6b520ac15660c146302c74 llvm-musl.patch"
-sha512sums="1b7f7c5e907a68f642dcbe48fdff9585cb1504022bc9d386f310ebe5d25103d0d5f7cf0abf19e0e3fd666970160a98c90033754e2b79b2fac0cf866c984f8038 llvm-3.3.src.tar.gz
-06773f43f7d3529f06edb029f7de398f06a700a0f2476e00c4727e70c291028221bfac23625dfd2c220d6ac91a21670848187a934b99a21801c695127371afcc cfe-3.3.src.tar.gz
+sha512sums="4ccd8c4fc15dd9abc43f93b62f0b1349c419a2afeba05304fa98c157325e31dbbdb1587afc18d0a3f5dba14c95d64a3d40a825efe89ddf6f93fa96002496675c llvm-3.4.src.tar.gz
+eac282c26d46d04f3e74c6a34629aa6496882aa6f64387728be86de3eba963a97388fd4214aea7d47a801215e61c0a54663d65474effec8be2e39be1b1ed89f1 clang-3.4.src.tar.gz
d240f0fbef611b9863cbe1a79c10b4383dabf8be2ee49fd0f853d23fb0b4c935a41f3d50456a05815102834f2a4b1ac3c9334b444ed3868b7f3fb24e14ff14eb llvm-3.3-alpine-linux.patch
52f9791a11c103ff8d1a35e0fd94a9d8e1379fd6f8046e346f52686bb256ca969ead77059271931ac1fff5581146dd7e3862a3a14d85b96555b8823e807f2d70 llvm-musl.patch"