diff options
-rw-r--r-- | testing/ponyc/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/testing/ponyc/APKBUILD b/testing/ponyc/APKBUILD index c7fd54cc72..a591ee1154 100644 --- a/testing/ponyc/APKBUILD +++ b/testing/ponyc/APKBUILD @@ -2,15 +2,16 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=ponyc pkgver=0.21.3 -pkgrel=1 +pkgrel=2 pkgdesc="An open-source, actor-model, capabilities-secure, high performance programming language" url="https://www.ponylang.org" arch="x86_64 aarch64" license="BSD-2-Clause" _llvmver=3.9 -depends="binutils-gold gcc" +depends="binutils-gold clang" checkdepends="libressl-dev pcre2-dev" -makedepends="libexecinfo-dev llvm$_llvmver-dev ncurses-dev paxmark zlib-dev" +makedepends="clang-dev libexecinfo-dev libunwind-dev llvm$_llvmver-dev + ncurses-dev paxmark zlib-dev" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/ponylang/$pkgname/archive/$pkgver.tar.gz disable-avx512f-for-x86-only.patch @@ -34,6 +35,10 @@ _make_opts="arch=$_arch LLVM_CONFIG=/usr/lib/llvm$_llvmver/bin/llvm-config " +# gcc 6.4.0 doesn't support flag -mcx16 which ponyc needs on aarch64. +export CC=clang +export CXX=clang++ + build() { cd "$builddir" |