Commit 284dccd1 authored by Milan P. Stanić's avatar Milan P. Stanić

community/crystal: build with llvm5 to enable on aarch64

use llvm5 instead of llvm8 because build on aarch64 does not
work with llvm8, although build with llvm8 work on x86_64
re-enable build on aarch64
parent b07864e6
......@@ -3,12 +3,12 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=crystal
pkgver=0.30.1
pkgrel=0
pkgrel=1
_bootver=0.29.0
_llvmver=8
_llvmver=5
pkgdesc="The Crystal Programming Language"
url="https://crystal-lang.org/"
arch="x86_64" # disable aarch64 till fixed (upstream ?)
arch="x86_64 aarch64"
license="Apache-2.0"
depends="gc-dev libatomic_ops libevent-dev libevent-static gcc gmp-dev pcre-dev"
checkdepends="openssl-dev libxml2-dev readline-dev tzdata yaml-dev zlib-dev"
......@@ -75,6 +75,7 @@ build() {
make crystal \
CRYSTAL_CONFIG_PATH="lib:$_shardsdir:$_coredir" \
PATH="$srcdir/$pkgname-$_bootver-$CBUILD/bin:$PATH" \
LLVM_CONFIG="llvm5-config" \
release=1 \
static=${BUILD_STATIC:-}
}
......@@ -82,7 +83,8 @@ build() {
check() {
cd "$builddir"
make spec PATH=".build:$PATH" SPEC_FLAGS="--no-color --verbose"
make spec LLVM_CONFIG="llvm5-config" PATH=".build:$PATH" \
SPEC_FLAGS="--no-color --verbose"
}
package() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment