diff options
author | Marc Tiehuis <marctiehuis@gmail.com> | 2017-09-17 10:55:00 +1200 |
---|---|---|
committer | Marc Tiehuis <marctiehuis@gmail.com> | 2017-09-17 10:55:00 +1200 |
commit | c6319db10de16b452eedef7c7462e96fcf5c3f90 (patch) | |
tree | bce181945b595e9352149e25e7555bf7b1c5234d | |
parent | Add patch to handle new LLVM issues around inline (diff) | |
download | zig-git-c6319db10de16b452eedef7c7462e96fcf5c3f90.tar.xz |
Update to llvm5 and latest git version
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 8 insertions, 19 deletions
@@ -1,19 +1,17 @@ pkgbase = zig-git pkgdesc = a programming language prioritizing robustness, optimality, and clarity - pkgver = 0.0.0r1474.6aa04c4 - pkgrel = 3 + pkgver = 0.0.0r1594.dcc5f24 + pkgrel = 1 url = http://ziglang.org arch = i686 arch = x86_64 license = MIT makedepends = cmake - makedepends = curl depends = llvm depends = clang - depends = lld provides = zig conflicts = zig - source = git://github.com/zig-lang/zig.git#commit=6aa04c422bae89c50e1289e1ca51cd4d414debb7 + source = git://github.com/zig-lang/zig.git md5sums = SKIP pkgname = zig-git @@ -1,28 +1,19 @@ # Maintainer: Marc Tiehuis <marctiehuis at gmail.com> pkgname=zig-git -pkgver=0.0.0r1474.6aa04c4 -pkgrel=3 +pkgver=0.0.0r1594.dcc5f24 +pkgrel=1 pkgdesc="a programming language prioritizing robustness, optimality, and clarity" arch=('i686' 'x86_64') url='http://ziglang.org' license=('MIT') -depends=('llvm' 'clang' 'lld') -makedepends=('cmake' 'curl') +depends=('llvm' 'clang') +makedepends=('cmake') provides=(zig) conflicts=(zig) -# We pin this commit since it is the last supported by llvm-4 before the switch -# to llvm-5. -source=("git://github.com/zig-lang/zig.git#commit=6aa04c422bae89c50e1289e1ca51cd4d414debb7") +source=("git://github.com/zig-lang/zig.git") md5sums=('SKIP') -prepare() { - cd "$srcdir/$provides" - # This patch is required due to how LLVM inlines and it not always working. - curl https://gist.githubusercontent.com/tiehuis/294797c898892a2612e9e3246574defc/raw/42f02982c8371b710e24d9246711b3a505c35c57/remove_inline.patch > remove_inline.patch - git apply remove_inline.patch -} - pkgver() { cd "$srcdir/$provides" printf "0.0.0r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" |